diff --git a/content/copilot/concepts/copilot-knowledge-bases.md b/content/copilot/concepts/copilot-knowledge-bases.md new file mode 100644 index 000000000000..d28101d0a784 --- /dev/null +++ b/content/copilot/concepts/copilot-knowledge-bases.md @@ -0,0 +1,25 @@ +--- +title: Copilot knowledge bases +intro: 'Knowledge bases allow you to bring together Markdown documentation across one or more repositories, which can then be used as context for {% data variables.copilot.copilot_chat_short %}.' +versions: + fpt: '*' + ghec: '*' +product: '{% data reusables.copilot.ce-product-callout %}' +topics: + - Copilot +--- + +> [!TIP] If you're looking for a more flexible way to organize context for {% data variables.product.prodname_copilot_short %}, you can also try {% data variables.copilot.copilot_spaces %}. +> +> {% data variables.copilot.copilot_spaces_short %} let you combine code and free-text content—like transcripts or specs—and can be created by any {% data variables.product.prodname_copilot_short %} user, not just organization owners. They’re a good option for more focused or task-specific use cases. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces). + +## About knowledge bases + +Organization owners can create knowledge bases, bringing together Markdown documentation across one or more repositories. Organization members can then specify that knowledge base as the context for {% data variables.copilot.copilot_chat_dotcom_short %}, {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %}, and {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vs %}. + +When you ask a question in {% data variables.copilot.copilot_chat_short %} with a knowledge base selected, {% data variables.product.prodname_copilot_short %} will search the knowledge base for relevant information and synthesize a response. + +## Next steps + +* To learn how to create and manage knowledge bases, see [AUTOTITLE](/copilot/how-tos/context/creating-and-managing-copilot-knowledge-bases). +* To learn how to use knowledge bases in {% data variables.copilot.copilot_chat_short %}, see [AUTOTITLE](/copilot/how-tos/chat/asking-github-copilot-questions-in-github#asking-copilot-chat-questions-about-a-knowledge-base) and [AUTOTITLE](/copilot/how-tos/chat/asking-github-copilot-questions-in-your-ide#asking-a-question-about-a-knowledge-base). diff --git a/content/copilot/concepts/index.md b/content/copilot/concepts/index.md index b4d513c9b914..9a317b8b7daa 100644 --- a/content/copilot/concepts/index.md +++ b/content/copilot/concepts/index.md @@ -15,5 +15,6 @@ children: - /indexing-repositories-for-copilot-chat - /about-copilot-coding-agent - /about-organizing-and-sharing-context-with-copilot-spaces + - /copilot-knowledge-bases - /build-copilot-extensions --- diff --git a/content/copilot/how-tos/context/managing-copilot-knowledge-bases.md b/content/copilot/how-tos/context/creating-and-managing-copilot-knowledge-bases.md similarity index 70% rename from content/copilot/how-tos/context/managing-copilot-knowledge-bases.md rename to content/copilot/how-tos/context/creating-and-managing-copilot-knowledge-bases.md index e5f04df2caf0..2049e001fa83 100644 --- a/content/copilot/how-tos/context/managing-copilot-knowledge-bases.md +++ b/content/copilot/how-tos/context/creating-and-managing-copilot-knowledge-bases.md @@ -1,8 +1,9 @@ --- -title: Managing Copilot knowledge bases -shortTitle: Manage knowledge bases -intro: 'Organization owners can create a knowledge base bringing together Markdown documentation across one or more repositories, and then organization members can use that knowledge base as context for {% data variables.copilot.copilot_chat_dotcom_short %}.' +title: Creating and managing Copilot knowledge bases +shortTitle: Create knowledge bases +intro: 'Learn how to create and manage knowledge bases, which allow you to bring together Markdown documentation across one or more repositories, and then use that knowledge base as context for {% data variables.copilot.copilot_chat_short %}.' versions: + fpt: '*' ghec: '*' product: '{% data reusables.copilot.ce-product-callout %}' topics: @@ -19,19 +20,10 @@ redirect_from: - /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/managing-copilot-knowledge-bases - /copilot/github-copilot-enterprise/copilot-docset-management/about-copilot-docset-management - /copilot/customizing-copilot/managing-copilot-knowledge-bases + - /copilot/how-tos/context/managing-copilot-knowledge-bases --- -> [!TIP] If you're looking for a more flexible way to organize context for {% data variables.product.prodname_copilot_short %}, you can also try {% data variables.copilot.copilot_spaces %}. -> -> {% data variables.copilot.copilot_spaces_short %} let you combine code and free-text content—like transcripts or specs—and can be created by any {% data variables.product.prodname_copilot_short %} user, not just organization owners. They’re a good option for more focused or task-specific use cases. See [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces). - -## About knowledge bases - -Organization owners can create knowledge bases, bringing together Markdown documentation across one or more repositories. Organization members can then specify that knowledge base as the context for {% data variables.copilot.copilot_chat_dotcom_short %}, {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %}, and {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vs %}. - -When you ask a question in {% data variables.copilot.copilot_chat %} with a knowledge base selected, {% data variables.product.prodname_copilot %} will search the knowledge base for relevant information and synthesize a response. - -For more information on how to use knowledge bases in {% data variables.copilot.copilot_chat_short %}, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github/using-github-copilot-chat-in-githubcom#asking-a-question-about-a-knowledge-base) and [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-ides/using-github-copilot-chat-in-your-ide#asking-a-question-about-a-knowledge-base-in-github-copilot-chat). +Knowledge bases are a way to bring together Markdown documentation across one or more repositories. When you ask a question in {% data variables.copilot.copilot_chat_short %} with a knowledge base selected, {% data variables.product.prodname_copilot_short %} will search the knowledge base for relevant information and synthesize a response. ## Creating a knowledge base @@ -88,3 +80,7 @@ Organization owners can delete a knowledge base created in their organization. 1. In the left sidebar, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}** then click **Knowledge bases**. 1. To the right of the knowledge base you want to delete, click {% octicon "trash" aria-label="The trash symbol" %}. 1. In the "Confirm deletion" dialog box, review the information and click **Delete**. + +## Next steps + +* To learn how to use knowledge bases in {% data variables.copilot.copilot_chat_short %}, see [AUTOTITLE](/copilot/how-tos/chat/asking-github-copilot-questions-in-github#asking-copilot-chat-questions-about-a-knowledge-base) and [AUTOTITLE](/copilot/how-tos/chat/asking-github-copilot-questions-in-your-ide#asking-a-question-about-a-knowledge-base). diff --git a/content/copilot/how-tos/context/index.md b/content/copilot/how-tos/context/index.md index a7210075b475..168aa55564dc 100644 --- a/content/copilot/how-tos/context/index.md +++ b/content/copilot/how-tos/context/index.md @@ -9,7 +9,7 @@ topics: children: - /copilot-spaces - /model-context-protocol - - /managing-copilot-knowledge-bases + - /creating-and-managing-copilot-knowledge-bases - /install-copilot-extensions redirect_from: - /copilot/customizing-copilot diff --git a/data/reusables/secret-scanning/push-protection-visit-URL.md b/data/reusables/secret-scanning/push-protection-visit-URL.md index 20dca22a5450..a47234e42a33 100644 --- a/data/reusables/secret-scanning/push-protection-visit-URL.md +++ b/data/reusables/secret-scanning/push-protection-visit-URL.md @@ -1 +1 @@ -1. Visit the URL returned by {% data variables.product.prodname_dotcom %} when your push was blocked. +1. Visit the URL returned by {% data variables.product.prodname_dotcom %} when your push was blocked, **as the same user that performed the push**. If a different user attempts to visit this URL, they will receive a `404` error.