> For the complete documentation index, see [llms.txt](https://doc.flowith.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.flowith.io/cn/knowledge-garden/ru-he-jian-li-he-shi-yong-zhi-shi-ku.md).

# 如何建立和使用知识库

{% embed url="<https://youtu.be/G1SBlZOPKFk>" %}

## 建立知识库

1. 点击 「管理你的知识库」
2. 点击左上角的加号，添加新的知识库
3. 添加文件
   1. 文件支持的格式：image、PDF、markdown、txt、ms-officie
   2. 也可通过网页链接进行导入

## 使用知识库

1. 打开输入框右下角的 「KNOWLEDGE BASE」 ，并勾选你需要的知识库
2. 选择模式、模型
3. 在输入框中输入问题
4. 点击开始进行提问

## 使用社区中的知识库

1. 点击页面左上角 「发现更多」
2. 点击你感兴趣的知识库
3. 点击页面右方 「添加到我的知识库 」
4. 按照上述 「使用知识库」 中的步骤进行使用


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.flowith.io/cn/knowledge-garden/ru-he-jian-li-he-shi-yong-zhi-shi-ku.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
