Tip
If you're looking for a more flexible way to organize context for Copilot, you can also try Copilot Spaces.
Spaces let you combine code and free-text content—like transcripts or specs—and can be created by any Copilot user, not just organization owners. They’re a good option for more focused or task-specific use cases. See 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 Copilot Chat in GitHub, Copilot Chat in Visual Studio Code, and Copilot Chat in Visual Studio.
When you ask a question in Copilot Chat with a knowledge base selected, Copilot will search the knowledge base for relevant information and synthesize a response.
Next steps
- To learn how to create and manage knowledge bases, see Creating and managing Copilot knowledge bases.
- To learn how to use knowledge bases in Copilot Chat, see Asking GitHub Copilot questions in GitHub and Asking GitHub Copilot questions in your IDE.