メモ
この機能は現在パブリック プレビューにあり、変更される可能性があります。
現在、organization のカスタム命令は GitHub Copilot Chat in GitHub でのみサポートされています。
For an overview of the methods you can use to customize GitHub Copilot Chat responses, see About customizing GitHub Copilot Chat responses.
About organization custom instructions for GitHub Copilot Chat
Organization owners can add instructions for GitHub Copilot Chat in order to tailor chat responses to the needs and preferences of your organization. For example, you can choose to always have Copilot Chat 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.
メモ
- 複数の種類のカスタム命令を会話に適用できます。 個人用命令は最も優先順位が高く、その後にリポジトリ命令、最後に organization 用命令の順になります。 ただし、関連するすべての命令セットは引き続き結合され、Copilot Chat に提供されます。
- 可能な限り、競合する命令セットを提供しないようにする必要があります。 回答の品質に問題がある場合は、リポジトリ命令を一時的に無効にすることもできます。 「Adding repository custom instructions for GitHub Copilot」をご覧ください。
Adding organization custom instructions
You can add organization custom instructions via your organization settings.
-
GitHub の右上隅でプロフィール写真を選んでから、 [Your organizations] をクリックします。
-
組織の隣の [設定] をクリックします。
-
In the left sidebar, click Copilot 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.