Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.59 KB

adding-organization-custom-instructions-for-github-copilot.md

File metadata and controls

47 lines (32 loc) · 2.59 KB
title shortTitle intro permissions product versions topics
Adding organization custom instructions for GitHub Copilot
Organization custom instructions
Customize {% data variables.product.prodname_copilot_chat %} responses for members of your organization.
Organization owners
{% data reusables.copilot.ce-product-callout %}
feature
copilot-org-instructions
Copilot

{% data reusables.copilot.organization-instructions-note %}

For an overview of the methods you can use to customize {% data variables.product.prodname_copilot_chat %} responses, see AUTOTITLE.

About organization custom instructions for {% data variables.product.prodname_copilot_chat %}

Organization owners can add instructions for {% data variables.product.prodname_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.product.prodname_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 %}

  1. In the left sidebar, click {% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %} then click Custom instructions.

  2. 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.

  3. 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?

Yes No

{% endnote %}