Skip to main content

Utiliser Claude 3.5 Sonnet dans GitHub Copilot

Découvrez comment activer Claude 3.5 Sonnet pour vous ou votre organisation.

Note

Claude 3.5 Sonnet is in public preview and subject to change. The GitHub Pre-release License Terms apply to your use of this product.

About Claude 3.5 Sonnet in GitHub Copilot

Claude 3.5 Sonnet is a large language model that you can use as an alternative to the default model used by Copilot Chat. Claude 3.5 Sonnet excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about the model's capabilities or read the model card.

Claude 3.5 Sonnet is currently available in Copilot Chat for Visual Studio Code and Visual Studio, and in immersive chat on the GitHub website.

GitHub Copilot uses Claude 3.5 Sonnet hosted on Amazon Web Services. When using Claude 3.5 Sonnet, prompts and metadata are sent to Amazon's Bedrock service, which makes the following data commitments: Amazon Bedrock doesn't store or log your prompts and completions. Amazon Bedrock doesn't use your prompts and completions to train any AWS models and doesn't distribute them to third parties.

When using Claude 3.5 Sonnet, 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 Claude 3.5 Sonnet before you can use the model.

Setup for individual use

If you have a Copilot Free or Copilot Pro subscription, you can enable Claude 3.5 Sonnet in two ways:

  • The first time you choose to use Claude 3.5 Sonnet 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 Claude 3.5 Sonnet 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 Managing Copilot policies as an individual subscriber.

Setup for organization use

As an organization owner, you can enable or disable Claude 3.5 Sonnet for everyone who has been assigned a Copilot Business seat through your organization. See Managing policies for Copilot in your organization.

Using Claude 3.5 Sonnet

For details of how to change the model for Copilot Chat, see:

Leaving feedback

To leave feedback about Claude 3.5 Sonnet in GitHub Copilot, or to ask a question, see the GitHub Community discussion Claude 3.5 Sonnet is now available to all Copilot users in Public Preview.