# AI知识库

## 配置 AI 知识库

1. 点击“添加知识”按钮。知识库目前支持上传多格式文档、在线数据（网页）以及问答格式的知识内容。
2. 选择文档，然后点击“下一步”上传您的知识库文档。
3. 选择问答，点击下一步自定义你的问答，输入你预期的问题 - 答案是正确的
4. 选择在线数据，点击下一步，您可以输入需要进行数据爬取的网页链接，支持两种爬取模式：仅本网页或深入包含网页的页面，设置更新频率，点击确定即可开始数据爬取
5. 上传或爬取知识库后，它将显示在列表中。您可以通过上方的筛选项进行筛选，并点击特定条目以显示其详细信息。

<figure><img src="/files/Gk9s1d2q4ciCcFnuWWSz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/QkCqzXIn5TrscEkmCrTG" alt=""><figcaption></figcaption></figure>


---

# 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://helpdocs.ycloud.com/help-center/zh/chatbot/ai-knowledge-base.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.
