2.7 KiB
title, shortTitle, intro, permissions, product, versions, topics, redirect_from
| title | shortTitle | intro | permissions | product | versions | topics | redirect_from | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Adding organization custom instructions for GitHub Copilot | Organization custom instructions | Customize {% data variables.copilot.copilot_chat %} responses for members of your organization. | Organization owners | Organizations with a {% data variables.copilot.copilot_for_business %} or {% data variables.copilot.copilot_enterprise %} plan |
|
|
|
{% data reusables.copilot.organization-instructions-note %}
For an overview of the methods you can use to customize {% data variables.copilot.copilot_chat %} responses, see AUTOTITLE.
About organization custom instructions for {% data variables.copilot.copilot_chat %}
Organization owners can add instructions for {% data variables.copilot.copilot_chat %} in order to tailor chat responses to the needs and preferences of your organization. For example, you can choose to always have {% data variables.copilot.copilot_chat_short %} respond in your company's language of choice or with a particular style. Some examples of instructions you could add are:
Always respond in Spanish.Do not generate code blocks in responses.For questions related to security, use the Security Docs Knowledge Base.
{% data reusables.copilot.custom-instructions-interactions-note %}
Adding organization custom instructions
You can add organization custom instructions via your organization settings.
{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %}
-
In the left sidebar, click {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %} then click Custom instructions.
-
Under "Preferences and instructions", add natural language instructions to the text box.
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.
-
Click Save changes. Your instructions are now active, and will stay active until you change or remove them.
To see your instructions in action, go to https://github.com/copilot and start a conversation.
{% note %}
Did you successfully add custom instructions for your organization?
{% endnote %}