重要
Beginning November 1, 2025, knowledge bases will be 已停用 and fully replaced by Copilot 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 关于使用 GitHub Copilot Spaces 组织和共享上下文.
关于知识库
组织所有者可以创建一个知识库,汇集一个或多个存储库中的 Markdown 文档 然后,组织成员可以将该知识库指定为 GitHub 中的 Copilot Chat、Visual Studio Code 中的 Copilot 对话助手 以及 Visual Studio 中的 Copilot 对话助手 的背景信息。
当你在 Copilot 对话助手 中提出问题并选择知识库时,Copilot 将在知识库中搜索相关信息并合成响应。
后续步骤
- 有关如何创建和管理知识库的信息,请参阅 创建和管理 GitHub Copilot 知识库。
- 有关如何使用知识库的信息,请参阅“使用知识库”。