Skip to content

Commit 50ee812

Browse files
authored
Merge pull request #39346 from github/repo-sync
Repo sync
2 parents 814e623 + 711426d commit 50ee812

File tree

4 files changed

+37
-15
lines changed

4 files changed

+37
-15
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Copilot knowledge bases
3+
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 %}.'
4+
versions:
5+
fpt: '*'
6+
ghec: '*'
7+
product: '{% data reusables.copilot.ce-product-callout %}'
8+
topics:
9+
- Copilot
10+
---
11+
12+
> [!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 %}.
13+
>
14+
> {% 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).
15+
16+
## About knowledge bases
17+
18+
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 %}.
19+
20+
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.
21+
22+
## Next steps
23+
24+
* To learn how to create and manage knowledge bases, see [AUTOTITLE](/copilot/how-tos/context/creating-and-managing-copilot-knowledge-bases).
25+
* 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).

content/copilot/concepts/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ children:
1515
- /indexing-repositories-for-copilot-chat
1616
- /about-copilot-coding-agent
1717
- /about-organizing-and-sharing-context-with-copilot-spaces
18+
- /copilot-knowledge-bases
1819
- /build-copilot-extensions
1920
---

content/copilot/how-tos/context/managing-copilot-knowledge-bases.md renamed to content/copilot/how-tos/context/creating-and-managing-copilot-knowledge-bases.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
title: Managing Copilot knowledge bases
3-
shortTitle: Manage knowledge bases
4-
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 %}.'
2+
title: Creating and managing Copilot knowledge bases
3+
shortTitle: Create knowledge bases
4+
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 %}.'
55
versions:
6+
fpt: '*'
67
ghec: '*'
78
product: '{% data reusables.copilot.ce-product-callout %}'
89
topics:
@@ -19,19 +20,10 @@ redirect_from:
1920
- /copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/managing-copilot-knowledge-bases
2021
- /copilot/github-copilot-enterprise/copilot-docset-management/about-copilot-docset-management
2122
- /copilot/customizing-copilot/managing-copilot-knowledge-bases
23+
- /copilot/how-tos/context/managing-copilot-knowledge-bases
2224
---
2325

24-
> [!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 %}.
25-
>
26-
> {% 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).
27-
28-
## About knowledge bases
29-
30-
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 %}.
31-
32-
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.
33-
34-
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).
26+
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.
3527

3628
## Creating a knowledge base
3729

@@ -88,3 +80,7 @@ Organization owners can delete a knowledge base created in their organization.
8880
1. In the left sidebar, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}** then click **Knowledge bases**.
8981
1. To the right of the knowledge base you want to delete, click {% octicon "trash" aria-label="The trash symbol" %}.
9082
1. In the "Confirm deletion" dialog box, review the information and click **Delete**.
83+
84+
## Next steps
85+
86+
* 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).

content/copilot/how-tos/context/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ topics:
99
children:
1010
- /copilot-spaces
1111
- /model-context-protocol
12-
- /managing-copilot-knowledge-bases
12+
- /creating-and-managing-copilot-knowledge-bases
1313
- /install-copilot-extensions
1414
redirect_from:
1515
- /copilot/customizing-copilot

0 commit comments

Comments
 (0)