AI and the Web
AI is 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.
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.
Practical tips
Understand LLM sizes
Take a look at a few real-world LLMs and the practical implications of different model sizes.
Compare model capabilities
Evaluate models and prompts with the LLM as a judge technique. Delegate validation to another LLM, instead of humans.
Improve performance and UX for client-side AI
Discover benefits such as low latency, reduced server-side costs, no API key requirements, increased user privacy, and offline access.
Better prompt engineering
Craft questions to get the best possible output from an LLM.
Start building
Product review suggestions
Online stores can see a 270% increase in conversions by displaying product reviews. Support better reviews with client-side AI.
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 Google Chrome's documentation for AI, WebGPU, and WebAssembly.
Built-in AI
Execute our most efficient model of the Gemini in Chrome, on-device.
Discover Console Insights
Ask Gemini to provide insights right in the DevTools Console, so you can better understand errors and warnings.
Use client-side AI
Client-side 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.