# 如何建立和使用知识库

{% 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
