|
1 | 1 | ---
|
2 | 2 | title: Using OpenAI GPT-4.1 in Copilot Chat
|
3 | 3 | allowTitleToDifferFromFilename: true
|
4 |
| -shortTitle: 'Use OpenAI GPT-4.1' |
5 |
| -intro: 'Learn how to enable OpenAI GPT-4.1 in {% data variables.product.prodname_copilot_chat %}, for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.' |
| 4 | +shortTitle: 'Use OpenAI {% data variables.copilot.copilot_gpt_41 %}' |
| 5 | +intro: 'Learn how to enable OpenAI {% data variables.copilot.copilot_gpt_41 %} in {% data variables.product.prodname_copilot_chat %}, for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.' |
6 | 6 | versions:
|
7 | 7 | feature: copilot
|
8 | 8 | topics:
|
9 | 9 | - Copilot
|
10 | 10 | ---
|
11 | 11 |
|
12 |
| -## About OpenAI GPT-4.1 in {% data variables.product.prodname_copilot_chat %} |
| 12 | +## About OpenAI {% data variables.copilot.copilot_gpt_41 %} in {% data variables.product.prodname_copilot_chat %} |
13 | 13 |
|
14 |
| -OpenAI has 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 %}. GPT-4.1 is one of those models and excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. For information about the capabilities of GPT-4.1, see the [OpenAI documentation](https://platform.openai.com/docs/models). |
| 14 | +{% data reusables.copilot.gpt-41-public-preview-note %} |
15 | 15 |
|
16 |
| -GPT-4.1 is currently available in: |
| 16 | +OpenAI has 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_gpt_41 %} is one of those models and excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. For information about the capabilities of {% data variables.copilot.copilot_gpt_41 %}, see the [OpenAI documentation](https://platform.openai.com/docs/models). |
| 17 | + |
| 18 | +{% data variables.copilot.copilot_gpt_41 %} is currently available in: |
17 | 19 |
|
18 | 20 | * {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
|
19 | 21 | * {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %} 2022 version 17.13 or later
|
20 | 22 | * Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
|
21 | 23 |
|
22 |
| -GPT-4.1 is hosted by OpenAI and GitHub's Azure tenant when used in {% data variables.product.prodname_copilot %}. OpenAI makes the [following data commitment](https://openai.com/enterprise-privacy/): _We [OpenAI] do not train our models on your business data by default_. GitHub maintains a [zero data retention agreement](https://platform.openai.com/docs/guides/your-data) with OpenAI. |
| 24 | +{% data variables.copilot.copilot_gpt_41 %} is hosted by OpenAI and GitHub's Azure tenant when used in {% data variables.product.prodname_copilot %}. OpenAI makes the [following data commitment](https://openai.com/enterprise-privacy/): _We [OpenAI] do not train our models on your business data by default_. GitHub maintains a [zero data retention agreement](https://platform.openai.com/docs/guides/your-data) with OpenAI. |
23 | 25 |
|
24 |
| -When using GPT-4.1, 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. |
| 26 | +When using {% data variables.copilot.copilot_gpt_41 %}, 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. |
25 | 27 |
|
26 | 28 | ## Configuring access
|
27 | 29 |
|
28 |
| -You must enable access to OpenAI GPT-4.1 individually before you can use the model. |
| 30 | +You must enable access to OpenAI {% data variables.copilot.copilot_gpt_41 %} individually before you can use the model. |
29 | 31 |
|
30 | 32 | {% ifversion fpt %}
|
31 | 33 |
|
32 | 34 | ### Setup for individual use
|
33 | 35 |
|
34 |
| -If you have a {% data variables.product.prodname_copilot_free_short %} or {% data variables.product.prodname_copilot_pro_short %} subscription, you can enable OpenAI GPT-4.1 in two ways: |
| 36 | +If you have a {% data variables.product.prodname_copilot_free_short %} or {% data variables.product.prodname_copilot_pro_short %} subscription, you can enable OpenAI {% data variables.copilot.copilot_gpt_41 %} in two ways: |
35 | 37 |
|
36 |
| -* The first time you choose to use GPT-4.1 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. |
| 38 | +* The first time you choose to use {% data variables.copilot.copilot_gpt_41 %} 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. |
37 | 39 |
|
38 |
| - Clicking **Allow** enables you to use GPT-4.1 and updates the policy in your personal settings on {% data variables.product.github %}. |
| 40 | + Clicking **Allow** enables you to use {% data variables.copilot.copilot_gpt_41 %} and updates the policy in your personal settings on {% data variables.product.github %}. |
39 | 41 |
|
40 | 42 | * You can enable the model directly in your personal settings on the {% data variables.product.github %} website. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-alternative-ai-models).
|
41 | 43 |
|
42 | 44 | {% endif %}
|
43 | 45 |
|
44 | 46 | ### Setup for organization {% ifversion ghec %}and enterprise{% endif %} use
|
45 | 47 |
|
46 |
| -As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable GPT-4.1 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](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization){% ifversion ghec %} and [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% endif %}. |
| 48 | +As an {% ifversion ghec %}enterprise or{% endif %} organization owner, you can enable or disable {% data variables.copilot.copilot_gpt_41 %} 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](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization){% ifversion ghec %} and [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise){% endif %}. |
47 | 49 |
|
48 |
| -## Using GPT-4.1 |
| 50 | +## Using {% data variables.copilot.copilot_gpt_41 %} |
49 | 51 |
|
50 | 52 | For details of how to change the model that {% data variables.product.prodname_copilot_chat_short %} uses, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat).
|
0 commit comments