页面简介
正文摘录
Modern Web Guidance is now stable! Upgrade your coding agents with expert-vetted web development best practices. Read the announcement. web.dev Resources AI and the Web The future of the web is now. Understand how AI and machine learning can be used by developers to build a more powerful web experience. What is AI? Understand the basics and definitions of the various emerging technologies, often referred to as AI. Read the doc Ethics and AI As web practitioners, it's critical that we build new technology thoughtfully and responsibly. Read the doc Right-sized AI Pick the best model size and delivery for your use case. It's good for business, users, and the planet. Read the doc COURSE New to AI? In this course, we introduce blueprints for web developers to build AI features responsibly. Learn how to define your use case, pick a platform, and effectviely prompt with generative AI. Start learning Understand LLM sizes Take a look at a few real-world LLMs and the practical implications of different model sizes. Read the doc Compare model capabilities Evaluate models and prompts with the LLM as a judge technique. Delegate validation to another LLM, instead of humans. Read the doc Choose a small, efficient model We've outlined different model types so you can choose a right-sized, sustainable model for your application. Read the doc 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. Read the doc Better prompt engineering Craft questions to get the best possible output from an LLM. Read the doc Cache models in the browser Help your applications launch faster by caching the the model on-device. Read the doc Download AI models with the Background Fetch API Improve the user experience of downloading large AI models with a progressive enhancement. Read the doc COURSE Test your AI applications Stop relying on intuition. Use measurements and data to evaluate your AI applications with evaluations. Start learning Introduction to agents AI agents are the latest web user that benefits from your optimization. Read the doc Build agent-friendly websites When designing your websites for agents and humans, you can follow similar best practices. Read the doc Upgrade your site search Discover techniques to get contextual results from generative AI, at-scale. Start building Part 1: Client-side AI to combat online toxicity Why toxicity detection matters and how you can use client-side AI to mitigate toxicity at its source. Start building Part 2: Build client-side AI toxicity detection Learn how to build a client-side AI system to detect and mitigate toxicity at its source. 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. Start building Benefits and limits of large language models Describe. Start building Build a chatbot with WebLLM WebLLM combines WebAssembly and WebGPU to perform on-device inference. Build a local and offline-capable chatbot in a classic to-do list application. Start building Build a chatbot with the Prompt API Build a local and offline-capable chatbot in a classic to-do list application with an exploratory API from Google Chrome, the Prompt API. Start building Gemini on the web Learn how to access the Gemini API on the web, with the Google AI JavaScript SDK. Get started The foundation model in Chrome Generative AI samples Discover example code and prompts for the Gemini API. Cookbook Prompt gallery Responsible AI toolkit Learn how to use AI responsibly, with best practices and resources. Learn more Built-in AI APIs 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. 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. Watch on YouTube 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. Watch on YouTube 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. Watch on YouTube