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/concepts/prompting/response-customization.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ category:
26
26
27
27
{% data variables.product.prodname_copilot %} can provide responses that are tailored to your personal preferences, the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create custom instructions that automatically add this information for you. The additional information is not displayed, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
28
28
29
+
{% data reusables.copilot.custom-insts-nondeterministic %}
30
+
29
31
## Types of custom instructions
30
32
31
33
There are three main types of custom instructions that you can use to customize {% data variables.product.prodname_copilot_short %} responses on the {% data variables.product.github %} website:
@@ -122,6 +124,8 @@ There are two types of files you can use to provide context and instructions to
122
124
123
125
While custom instructions help to add codebase-wide context to each AI workflow, prompt files let you add instructions to a specific chat interaction.
124
126
127
+
{% data reusables.copilot.custom-insts-nondeterministic %}
128
+
125
129
## About repository custom instructions
126
130
127
131
You can use three types of repository custom instructions in {% data variables.product.prodname_vscode_shortname %}:
@@ -199,6 +203,8 @@ The following examples demonstrate how to use prompt files.
199
203
200
204
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat input box, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
201
205
206
+
{% data reusables.copilot.custom-insts-nondeterministic %}
207
+
202
208
## About repository custom instructions
203
209
204
210
In {% data variables.product.prodname_vs %}, repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
@@ -246,6 +252,8 @@ There are two types of files you can use to provide context and instructions to
246
252
247
253
While custom instructions help to add codebase-wide context to each AI workflow, prompt files let you add instructions to a specific chat interaction.
248
254
255
+
{% data reusables.copilot.custom-insts-nondeterministic %}
256
+
249
257
## About repository custom instructions
250
258
251
259
In JetBrains IDEs, repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
@@ -337,6 +345,8 @@ For a curated collection of examples, see [AUTOTITLE](/copilot/tutorials/customi
337
345
338
346
{% data variables.product.prodname_copilot %} can provide responses that are tailored to the way your team works, the tools you use, or the specifics of your project, if you provide it with enough context to do so. Instead of repeatedly adding this contextual detail to your prompts, you can create a custom instructions file in your repository that automatically adds this information for you. The additional information is not displayed in the chat input box, but is available to {% data variables.product.prodname_copilot_short %} to allow it to generate higher quality responses.
339
347
348
+
{% data reusables.copilot.custom-insts-nondeterministic %}
349
+
340
350
## About repository custom instructions
341
351
342
352
In Xcode, repository custom instructions consist of a single file, `.github/copilot-instructions.md`, that you create in a repository. The instructions you add to the file should be short, self-contained statements that add context or relevant information to supplement a {% data variables.product.prodname_copilot_short %} prompt.
@@ -382,6 +392,8 @@ There are two types of repository custom instructions you can use to provide con
382
392
***Workspace custom instructions** which apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences, in a single file.
383
393
***Project custom instructions** which apply to a specific project.
384
394
395
+
{% data reusables.copilot.custom-insts-nondeterministic %}
396
+
385
397
## About repository custom instructions
386
398
387
399
**Workspace custom instructions** apply to all projects in a workspace, and allow you to specify workspace-wide instructions and preferences. You can use workspace custom instructions to provide context and instructions to {% data variables.product.prodname_copilot_short %} in Eclipse.
> Due to the non-deterministic nature of AI, {% data variables.product.prodname_copilot_short %} may not always follow your custom instructions in exactly the same way every time they are used.
0 commit comments