# Knowledge bases

A knowledge base is a collection of questions and answers, such as your prices, delivery terms or opening hours. Agents answer from the entries you attach to them.

Open **Knowledge Bases** from the Agents Platform's sidebar, under **AI Agents**, or go to [my.neuronai.uz/agents/knowledge-bases](https://my.neuronai.uz/agents/knowledge-bases).

## Create a knowledge base

1. Select **Create Knowledge Base**.
2. Enter a **Name** and, if you like, a **Description**.
3. Select **Create Knowledge Base**.

## Add entries

1. Open the knowledge base.
2. Select **Add Entry**.
3. Write the **Question** a customer might ask and its **Answer**, then save.

To change an entry, select its row, edit it and select **Update Entry**.

## Import entries from a file

1. Open the knowledge base and select **Import**.
2. Choose a CSV or JSON file of up to 10 MB, and select **Import**.

| Format | How to lay it out |
| --- | --- |
| CSV | One entry per line: the question in the first column, the answer in the second. A first line with the word “question” is read as a header and skipped. |
| JSON | A list of objects, each with a `question` and an `answer`. |

Lines with an empty question or answer are skipped.

## Use it in an agent

Open the agent, go to its **Knowledge Base** tab and select **Add document**. Under **Existing documents**, find the entries you need, tick them and select **Attach selected**, then **Update Agent**. See [Give it knowledge](https://docs.neuronai.uz/platform/agents#give-it-knowledge).

> **New entries aren't attached on their own**
>
> Entries you add to a knowledge base after attaching others don't reach an agent until you attach them too.

## Find and filter

On the list of knowledge bases, search by name or description, and filter with **Usage** to see the ones that are or aren't **Attached to agents**.

## Delete entries or a knowledge base

- Entries: select **Select**, tick the entries and delete them, or delete one from its row.
- A knowledge base: select its trash icon on the list and confirm. Its entries are deleted with it, and agents that used them lose them.

---

Source: https://docs.neuronai.uz/platform/knowledge-bases
