Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 6.14 KB

using-claude-sonnet-in-github-copilot.md

File metadata and controls

68 lines (43 loc) · 6.14 KB
title allowTitleToDifferFromFilename shortTitle intro versions topics redirect_from
Using Claude Sonnet in Copilot Chat
true
Use {% data variables.copilot.copilot_claude_sonnet %}
Learn how to enable {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_chat %}, for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.
feature
copilot
Copilot
/copilot/using-github-copilot/using-claude-sonnet-in-github-copilot

[!NOTE] All {% data variables.copilot.copilot_claude_sonnet %} models are 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_claude_sonnet %} in {% data variables.product.prodname_copilot_chat %}

{% data variables.copilot.copilot_claude_sonnet %} is a family of large language models that you can use as an alternative to the default model used by {% data variables.product.prodname_copilot_chat_short %}. {% data variables.copilot.copilot_claude_sonnet %} excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about the Sonnet's capabilities.

{% data variables.copilot.copilot_claude_sonnet_37 %} is currently available in:

  • {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
  • {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %} 2022 version 17.13 or later
  • 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.copilot.copilot_claude_sonnet_35 %} is currently available in:

  • {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
  • {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %} 2022 version 17.12 or later
  • 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_claude_sonnet %} hosted on Amazon Web Services. When using {% data variables.copilot.copilot_claude_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 {% data variables.copilot.copilot_claude_sonnet %}, 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.

Configuring access

You must enable access to each {% data variables.copilot.copilot_claude_sonnet %} individually before you can use the model.

{% ifversion fpt %}

Setup for individual use

[!NOTE] {% data variables.copilot.copilot_claude_sonnet_37 %} is not currently available for {% data variables.product.prodname_copilot_free_short %}

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_claude_sonnet %} in two ways:

  • The first time you choose to use {% data variables.copilot.copilot_claude_sonnet %} models 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_claude_sonnet %} 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 %}

Setup for organization {% ifversion ghec %}and enterprise{% endif %} use

As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable {% data variables.copilot.copilot_claude_sonnet %} models 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 %}.

Using {% data variables.copilot.copilot_claude_sonnet %}

For details of how to change the model that {% data variables.product.prodname_copilot_chat_short %} uses, see: AUTOTITLE.

Leaving feedback

To leave feedback about {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot %}, or to ask a question, see the {% data variables.product.prodname_github_community %} discussion Claude 3.5 Sonnet is now available to all {% data variables.product.prodname_copilot_short %} users in Public Preview.