> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/knowledge-base.md).

# Источники знаний

**Источники знаний** — это инструменты, которые предоставляют агенту доступ к различным типам информации для точных и актуальных ответов. Они включают:

* [**Базу знаний**](/functional/knowledge-base/baza-znanii.md) — ручное создание и структурирование ключевых данных, идеально подходит для FAQ, регламентов и скриптов.
* [**Документы**](/functional/knowledge-base/dokumenty.md) — автоматическая обработка файлов для быстрого извлечения и использования информации.
* [**Документы OpenAI**](/functional/knowledge-base/openai-dokumenty.md) — интеллектуальное использование внешних документов без перегрузки контекста, что экономит ресурсы.
* [**OpenAI веб-поиск**](/functional/knowledge-base/veb-poisk.md) — доступ к свежим данным из интернета, что важно для работы с новостями, ценами и рыночными тенденциями.
* [**Таблицы**](/functional/knowledge-base/tablicy.md) — можно создать вручную или загрузить из CSV/JSON-файлов. Удобны для работы с прайс-листами, перечнями услуг и другой табличной информацией.
* [**Справочники**](/functional/knowledge-base/spravochniki.md) — это готовый набор данных, из которого ИИ-агент быстро выбирает нужную запись, чтобы точно ответить на вопрос, дать ссылку или предоставить информацию из прайса.

<h2 align="center"><strong>Видеоурок:</strong> Источники знаний</h2>

Команда Nextbot подготовила видеоурок об Источниках знаний и работе с ними

**Посмотреть на YouTube:** <https://www.youtube.com/watch?v=0QARzqhUqLI>\
**Посмотреть на Rutube:** <https://rutube.ru/video/private/9fa53190c083bc7d9d51a24e969b1727/?p=d96JVFzeLelfZoUSWj2ftQ>


---

# 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.nextbot.ru/functional/knowledge-base.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.
