Skip to content

Commit 47785d5

Browse files
authored
Tented legal (#55266)
1 parent 85fcd83 commit 47785d5

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

content/copilot/using-github-copilot/ai-models/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ children:
1111
- /changing-the-ai-model-for-copilot-code-completion
1212
- /using-claude-sonnet-in-github-copilot
1313
- /using-gemini-in-github-copilot
14+
- /using-openai-gpt-41-in-github-copilot
1415
- /choosing-the-right-ai-model-for-your-task
1516
- /comparing-ai-models-using-different-tasks
1617
---
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Using OpenAI GPT-4.1 in Copilot Chat
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 %}.'
6+
versions:
7+
feature: copilot
8+
topics:
9+
- Copilot
10+
---
11+
12+
## About OpenAI GPT-4.1 in {% data variables.product.prodname_copilot_chat %}
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).
15+
16+
GPT-4.1 is currently available in:
17+
18+
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}
19+
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vs %} 2022 version 17.13 or later
20+
* Immersive mode in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.github %}
21+
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.
23+
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.
25+
26+
## Configuring access
27+
28+
You must enable access to OpenAI GPT-4.1 individually before you can use the model.
29+
30+
{% ifversion fpt %}
31+
32+
### Setup for individual use
33+
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:
35+
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.
37+
38+
Clicking **Allow** enables you to use GPT-4.1 and updates the policy in your personal settings on {% data variables.product.github %}.
39+
40+
* 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+
42+
{% endif %}
43+
44+
### Setup for organization {% ifversion ghec %}and enterprise{% endif %} use
45+
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 %}.
47+
48+
## Using GPT-4.1
49+
50+
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

Comments
 (0)