You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/copilot/customizing-copilot/adding-personal-custom-instructions-for-github-copilot.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,18 @@ For example, you can choose to always have {% data variables.product.prodname_co
21
21
22
22
Personal custom instructions apply to conversations that you, as a user, have with {% data variables.product.prodname_copilot_chat_short %} across {% data variables.product.github %}, and are different from repository custom instructions, which apply to conversations in the context of a single repository. For more information on repository instructions, see [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot).
23
23
24
-
{% data reusables.copilot.repository-vs-personal-instructions-note %}
24
+
{% data reusables.copilot.repository-vs-personal-instructions-note %} If you are concerned about response quality, you can also choose to temporarily disable repository instructions. See [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webui#enabling-or-disabling-repository-custom-instructions).
25
25
26
26
## Adding personal custom instructions
27
27
28
-
1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" %}** {% data variables.product.prodname_copilot %} icon next to the search bar.
29
-
1. Select the {% octicon "kebab-horizontal" aria-label="Open conversation options" %} dropdown menu at the top of the Chat panel, then click **{% octicon "tools" aria-hidden="true" %} Customize {% data variables.product.prodname_copilot %}**. If in the immersive view, select the {% octicon "kebab-horizontal" aria-label="Feedback and settings" %} dropdown menu at the top right of the page, then click **{% octicon "note" aria-hidden="true" %} Personal instructions**.
28
+
You can add personal custom instructions either in the Chat panel or in immersive mode. The same instructions will be applied in both modes.
29
+
30
+
1. In the top right of any page on {% data variables.product.github %}, either:
31
+
* Click the **{% octicon "copilot" aria-label="Copilot" %}** icon to open the {% data variables.product.prodname_copilot_chat_short %} panel.
32
+
* Click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} next to the **{% octicon "copilot" aria-label="Copilot" %}** icon, then click **Immersive** to open {% data variables.product.prodname_copilot_chat_short %} in the full-page, immersive mode.
33
+
1. Select the {% octicon "kebab-horizontal" aria-label="Open conversation options" %} dropdown menu at the top right of the Chat panel, or immersive page, then click **Personal instructions**.
30
34
1. Add natural language instructions to the text box.
31
35
32
-
The instructions can be written as a single paragraph, each on a new line, or separated by blank lines for legibility.
36
+
You can write your instructions in any format you prefer. For example, you can write them as a single block of text, each on a new line, or separated by blank lines.
37
+
33
38
1. Click **Save**. Your instructions are now active, and will stay active until you change or remove them.
Copy file name to clipboardexpand all lines: content/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ Whenever custom instructions are used by {% data variables.product.prodname_copi
132
132
133
133
You can click the reference to open the file.
134
134
135
-
{% data reusables.copilot.repository-vs-personal-instructions-note %}
135
+
{% data reusables.copilot.repository-vs-personal-instructions-note %} See [AUTOTITLE](/copilot/customizing-copilot/adding-personal-custom-instructions-for-github-copilot).
136
136
137
137
{% endwebui %}
138
138
@@ -161,6 +161,9 @@ You can choose whether or not to have custom instructions added to your chat que
161
161
1. Click the {% octicon "kebab-horizontal" aria-label="Conversation options" %} button at the top of the Chat panel, or the top right of the immersive page.
162
162
1. Click **Disable custom instructions** or **Enable custom instructions**.
163
163
164
+
> [!NOTE]
165
+
> In immersive mode, you will only see these options if you have attached a repository that contains a custom instructions file.
166
+
164
167
Your choice persists until you change it.
165
168
166
169
{% endwebui %}
@@ -179,7 +182,7 @@ Your choice persists until you change it.
179
182
180
183

181
184
182
-
1. In the "Options" dialog, type `custom instructions` in the search box.
185
+
1. In the "Options" dialog, type `custom instructions` in the search box, then click **{% data variables.product.prodname_copilot_short %}**.
183
186
1. Select or clear the checkbox for **(Preview) Enable custom instructions to be loaded from .github/copilot-instructions.md files and added to requests**.
Copy file name to clipboardexpand all lines: content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o
54
54
55
55
> [!NOTE] If you use {% data variables.product.prodname_copilot_extensions_short %}, they may override the model you select.
56
56
57
-
1. In the top right of any page on {% data variables.product.github %}, click the down arrow beside the **{% octicon "copilot" aria-hidden="true" %}** icon and click **Immersive** in the dropdown menu.
57
+
1. In the top right of any page on {% data variables.product.github %}, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} beside the **{% octicon "copilot" aria-hidden="true" %}** icon and click **Immersive** in the dropdown menu.
58
58
59
59

Copy file name to clipboardexpand all lines: content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-code-completion.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The following instructions are for {% data variables.product.prodname_vscode_sho
46
46
1. Type `change completions model` and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
47
47
1. In the dropdown menu, select the model you want to use.
48
48
49
-
Alternatively, if Command Center is enabled, you can click the down arrow beside the **{% octicon "copilot" aria-hidden="true" %}** icon at the top of the {% data variables.product.prodname_vscode_shortname %} window, then click **Configure Code Completions** in the dropdown menu. Then choose **Change Completions Model** in the dropdown menu and select the model you want to use.
49
+
Alternatively, if Command Center is enabled, you can click {% octicon "chevron-down" aria-label="The downward-pointing arrowhead" %} beside the **{% octicon "copilot" aria-hidden="true" %}** icon at the top of the {% data variables.product.prodname_vscode_shortname %} window, then click **Configure Code Completions** in the dropdown menu. Then choose **Change Completions Model** in the dropdown menu and select the model you want to use.
Copy file name to clipboardexpand all lines: content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ You can open {% data variables.product.prodname_copilot_chat_short %} from any p
65
65
66
66
Depending on the question you ask, and your enterprise and organization settings, {% data variables.product.prodname_copilot_short %} may respond using information based on the results of a Bing search. By using Bing search, {% data variables.product.prodname_copilot_short %} can answer a broad range of tech-related questions with up-to-date details based on information currently available on the internet. For information on how to enable or disable Bing search integration, see [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-web-search-for-github-copilot-chat) and [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise).
67
67
68
-
1. At the top right of any page on {% data variables.product.github %}, click the down arrow beside the **{% octicon "copilot" aria-hidden="true" %}** icon and click **Immersive** in the dropdown menu.
68
+
1. At the top right of any page on {% data variables.product.github %}, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} beside the **{% octicon "copilot" aria-hidden="true" %}** icon and click **Immersive** in the dropdown menu.
69
69
70
70

> * Personal custom instructions for {% data variables.product.prodname_copilot %} are in {% data variables.release-phases.public_preview %} and subject to change.
3
-
> * Personal custom instructions are currently only supported for {% data variables.product.prodname_copilot_chat_dotcom %}.
2
+
> Personal custom instructions are currently only supported for {% data variables.product.prodname_copilot_chat_dotcom %}.
> [!NOTE] Personal custom instructions take priority over repository custom instructions, but both are incorporated into the final prompt provided to {% data variables.product.prodname_copilot_chat_short %}. Whenever possible, you should avoid providing conflicting personal and repository instructions. If you are concerned about response quality, you can also choose to temporarily disable repository instructions. For more information, see [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webui#enabling-or-disabling-repository-custom-instructions).
1
+
> [!NOTE] Personal custom instructions take priority over repository custom instructions, but both are incorporated into the final prompt provided to {% data variables.product.prodname_copilot_chat_short %}. Whenever possible, you should avoid providing conflicting personal and repository instructions.
0 commit comments