Use the AI assistance panel to learn more about how your website works with the help of AI.
The AI assistance panel lets you chat with Gemini directly in DevTools. Conversations you start from this panel automatically have context about technical details of the page you are inspecting.
When using the AI assistance panel you can either use provided example prompts or your own questions as a starting point for conversations and continue with as many follow-up questions as needed to solve your task.
Chats in the AI assistance panel can help you to understand more about:
To use the AI assistance panel, make sure that you:
This notice together with our privacy notice describe how AI Innovations in Chrome DevTools handle your data. Read carefully.
Chrome DevTools AI assistance uses any data the inspected page is exposing via Web APIs.
Google collects this input data, generated output, related feature usage information, and your feedback. Google uses this data to provide, improve, and develop Google products and services and machine learning technologies, including Google's enterprise products such as Google Cloud.
To help with quality and improve our products, human reviewers may read, annotate, and process the above-mentioned input data, generated output, related feature usage information, and your feedback. Don't include sensitive (for example, confidential) or personal information that can be used to identify you or others in your prompts or feedback. Your data will be stored in a way where Google cannot tell who provided it and can no longer fulfill any deletion requests and will be retained for up to 18 months. We may not collect data to improve our product if your Google Account is managed by an organization.
As you try AI assistance, here are key things to know:
To use the feature, you need to agree that your use of AI assistance is subject to the Google Terms of Service.
AI assistance uses Google's large language models to generate an explanation. Large language models, or LLMs, are a new and active area of research. The responses that LLMs generate are sometimes questionable or even outright wrong. It is important that you understand that the results may be inaccurate or misleading, so always double check!
LLMs generate content that sounds likely and plausible. In most cases, this content contains truthful and useful insights that can help you understand an error or warning in the relevant context. Modern web development and debugging is a challenging craft with a high level of complexity that requires years of experience to become proficient in. Sometimes, the responses that LLMs produce sound convincing but are actually misleading or meaningless to a human web developer. We are doing our best to continuously improve the quality and correctness of generated responses.
Examples for wrong answers or explanations are:
You can help us by submitting feedback when you encounter wrong explanations.
Many LLM applications are susceptible to a form of abuse known as prompt injection. This feature is no different. It is possible to trick the LLM into accepting instructions that are not intended by the developers.
See the following harmless example:
In managed Chrome environments availability of AI assistance and Console Insights is controlled by the DevToolsGenAiSettings
Enterprise policy.
Unmanaged users may use the same policy to disable AI innovations on their machine and remove Ask AI
context menu items.
$ defaults write com.google.Chrome DevToolsGenAiSettings -integer 2
policies.json
in /etc/opt/chrome/policies/recommended
and add {"DevToolsGenAiSettings": 2}
HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome
. Set the key DevToolsGenAiSettings
to dword:00000002
DevToolsGenAiSettings
has a Policy Value of 2.Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-13 UTC.