AI and the Web
AI is an acronym often used interchangeably to represent different types of technology in the field, including machine learning, large language models, generative AI and more. Here you'll find resources built for understanding AI now, on the web.
Get started with AI
What is AI?
Understand the basics and definitions of the various emerging technologies, often referred to as AI.
Ethics and AI
As web practitioners, it's critical that we build new technology thoughtfully and responsibly.
Upgrade your site search
Discover techniques to get contextual results from generative AI, at-scale.
Start building
Discover practical tips for building with AI.
Understand LLM sizes
Take a look at a few real-world LLMs and the practical implications of different model sizes.
Practical prompt engineering
Craft questions to get the best possible output from an LLM.
Gemini
Gemini on the web
Learn how to access the Gemini API on the web, with the Google AI JavaScript SDK.
Gemini 1.5 Pro for code
Gemini 1.5 Pro can perform more relevant problem-solving tasks across longer blocks of code.
Google generative AI samples
Discover example code and promptsfor the Google AI Gemini API and Vertex AI API.
AI on Chrome
Discover Chrome's documentation for AI, WebGPU, and WebAssembly.
Built-in AI
Execute our most efficient model of the Gemini on-device, on most modern devices, with Chrome.
Capturing the WebGPU ecosystem
WebGPU is more than just web technology. It's a thriving ecosystem centered around a core technology.
Why use on-device AI?
On-device AI brings powerful models to users, while protecting data privacy and improving latency.
Supercharge Web AI model testing
Setting up a consistent testing environment with GPUs can be harder than expected. See the problems we faced and how we solved them, to improve your application performance.
Watch to Learn
Watch these videos to learn AI fundamentals and discover TensorFlow JS.
Machine Learning for web practitioners
This introduction is aimed creatives, web developers, and JavaScript practitioners interested in using machine learning in their next project or idea.
AI, ML, and Deep Learning
Learn the foundations and definitions for some of the industry's most used buzzwords, and what they actually refer to.
What are pre-trained models?
Using pre-trained models can allow you to prototype an idea faster. In some cases, you can use these models in production.