Note
This feature is currently in パブリック プレビュー and is subject to change.
Organization custom instructions are currently only supported for GitHub Copilot Chat in GitHub.
GitHub Copilot Chat の応答のカスタマイズに使用できる方法の概要については、「About customizing GitHub Copilot Chat responses」をご覧ください。
GitHub Copilot Chat に対する organization のカスタム指示について
Organization の所有者は、GitHub Copilot Chat に対する指示を追加して、organization のニーズと好みに合わせてチャットの応答を調整できます。 たとえば、会社で選択されている言語や特定のスタイルで Copilot Chat が常に応答するように選択できます。 追加できる命令の例を次に示します。
Always respond in Spanish.
Do not generate code blocks in responses.
For questions related to security, use the Security Docs Knowledge Base.
Note
- It is possible for multiple types of custom instructions to apply to a conversation. Personal instructions take the highest priority, followed by repository instructions, with organization instructions prioritized last. However, all sets of relevant instructions are still combined and provided to Copilot Chat.
- Whenever possible, you should avoid providing conflicting sets of instructions. If you are concerned about response quality, you can also choose to temporarily disable repository instructions. See GitHub Copilot のリポジトリ カスタム命令を追加する.
Organization のカスタム指示の追加
Organization の設定を使って、organization のカスタム指示を追加できます。
-
GitHub の右上隅でプロフィール写真を選んでから、 [Your organizations] をクリックします。
-
組織の隣の [設定] をクリックします。
-
左側のサイドバーで [Copilot] をクリックしてから、[Custom instructions] をクリックします。
-
[Preferences and instructions] で自然言語の指示をテキスト ボックスに追加します。
命令は任意の形式で記述できます。 たとえば、ひとまとまりのテキスト ブロックとして、1 つずつ改行して、または空行で区切って記述することができます。
-
[変更を保存] をクリックします。 命令は現在アクティブであり、変更または削除するまでアクティブなままになります。
実際の指示を確認するには、https://github.com/copilot に移動して会話を始めてください。