Note
Gemini 2.0 Flash is in versão prévia pública and subject to change. The Termos de licença de pré-lançamento do GitHub apply to your use of this product.
About Gemini 2.0 Flash in GitHub Copilot
Gemini 2.0 Flash is a large language model (LLM) that you can use as an alternative to the default model used by Copilot Chat. Gemini 2.0 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. For information about the capabilities of Gemini 2.0 Flash, see the Google for developers blog and the Google Cloud documentation. For details of Google's data handling policy, see Generative AI and data governance on the Google website.
Gemini 2.0 Flash is currently available in:
- Copilot Chat in Visual Studio Code
- Copilot Chat in Visual Studio 2022 version 17.12 or later
- Immersive mode in Copilot Chat in GitHub
GitHub Copilot uses Gemini 2.0 Flash hosted on Google Cloud Platform (GCP). When using Gemini 2.0 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 Gemini 2.0 Flash, input prompts and output completions continue to run through GitHub Copilot's content filters for public code matching, when applied, along with those for harmful, offensive, or off-topic content.
Configuring access
You must enable access to Gemini 2.0 Flash before you can use the model.
Setup for individual use
If you have a Copilot Free or Copilot Pro subscription, you can enable Gemini 2.0 Flash in two ways:
-
The first time you choose to use Gemini 2.0 Flash with Copilot Chat in Visual Studio Code, or in the immersive view of Copilot Chat, you will be prompted to allow access to the model.
Clicking Allow enables you to use Gemini 2.0 Flash and updates the policy in your personal settings on GitHub.
-
You can enable the model directly in your personal settings on the GitHub website. See Como gerenciar políticas do Copilot como um assinante individual.
Setup for organization use
As an organization owner, you can enable or disable Gemini 2.0 Flash for everyone who has been assigned a Copilot Business seat through your organization. See Gerenciar políticas do Copilot na sua organização.
Using Gemini 2.0 Flash
For details of how to change the model that Copilot Chat uses, see Changing the AI model for Copilot Chat.