title | allowTitleToDifferFromFilename | shortTitle | intro | versions | topics | |||
---|---|---|---|---|---|---|---|---|
Using Gemini 2.0 Flash in Copilot Chat |
true |
Use {% data variables.copilot.copilot_gemini_flash %} |
Learn how to enable {% data variables.copilot.copilot_gemini_flash %} in {% data variables.product.prodname_copilot_chat %}, for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}. |
|
|
[!NOTE] {% data variables.copilot.copilot_gemini_flash %} is in {% data variables.release-phases.public_preview %} and subject to change. The AUTOTITLE apply to your use of this product.
About {% data variables.copilot.copilot_gemini_flash %} in {% data variables.product.prodname_copilot %}
{% data variables.copilot.copilot_gemini_flash %} is a large language model (LLM) that you can use as an alternative to the default model used by {% data variables.product.prodname_copilot_chat_short %}. {% data variables.copilot.copilot_gemini_flash %} is a responsive LLM that can empower you to build apps faster and more easily, so you can focus on great experiences for your users. {% data reusables.copilot.gemini-model-info %}
{% data variables.copilot.copilot_gemini_flash %} is currently available in:
- {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
- Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
- {% data variables.product.prodname_copilot_chat_short %} in JetBrains IDEs
{% data variables.product.prodname_copilot %} uses {% data variables.copilot.copilot_gemini_flash %} hosted on Google Cloud Platform (GCP). When using {% data variables.copilot.copilot_gemini_flash %}, prompts and metadata are sent to GCP, which makes the following data commitment: Gemini doesn't use your prompts, or its responses, as data to train its models.
When using {% data variables.copilot.copilot_gemini_flash %}, input prompts and output completions continue to run through {% data variables.product.prodname_copilot %}'s content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content.
You must enable access to {% data variables.copilot.copilot_gemini_flash %} before you can use the model.
{% ifversion fpt %}
If you have a {% data variables.product.prodname_copilot_free_short %} or {% data variables.product.prodname_copilot_pro_short %} subscription, you can enable {% data variables.copilot.copilot_gemini_flash %} in two ways:
-
The first time you choose to use {% data variables.copilot.copilot_gemini_flash %} with {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, or in the immersive view of {% data variables.product.prodname_copilot_chat_short %}, you will be prompted to allow access to the model.
Clicking Allow enables you to use {% data variables.copilot.copilot_gemini_flash %} and updates the policy in your personal settings on {% data variables.product.github %}.
-
You can enable the model directly in your personal settings on the {% data variables.product.github %} website. See AUTOTITLE.
{% endif %}
As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable {% data variables.copilot.copilot_gemini_flash %} for everyone who has been assigned a {% ifversion ghec %}{% data variables.product.prodname_copilot_enterprise_short %} or {% endif %}{% data variables.product.prodname_copilot_business_short %} seat through your {% ifversion ghec %}enterprise or {% endif %}organization. See AUTOTITLE{% ifversion ghec %} and AUTOTITLE{% endif %}.
For details of how to change the model that {% data variables.product.prodname_copilot_chat_short %} uses, see AUTOTITLE.