# (Optional) - Integrating a Knowledge Base Index

### **Download the Sample Knowledge Base**

For a practical demonstration, access the UNESCO knowledge base index through the provided \*.zip file download link:

{% file src="/files/6sM1csWzpyw9opvj71NO" %}

***

### **Configuring the Knowledge Base**

This section illustrates the straightforward process of building your index, specifically tailored to enrich the 'AI' node's responses with detailed, accurate information.

{% content-ref url="/pages/y82k1p4d8O7PF6ArgdLI" %}
[Knowledge base](/digital-agent/advanced-functions/knowledge-base.md)
{% endcontent-ref %}

<figure><img src="/files/JHGRt2g5L62WEMevwFMA" alt=""><figcaption><p>Quick tutorial on Knowledge base index</p></figcaption></figure>

<details>

<summary>Step-by-step guide</summary>

1. **Adapt Textual Content**: Modify existing content to align with the UNESCO chatbot's objectives.
2. **Initiate a New Index**: Label this new index 'UNESCO'.
3. **Populate the Index**: Upload relevant files to the newly created index.
4. **Select Knowledge Base in 'AI' Node**: Navigate to the 'AI' node, opting for the 'Knowledge base' function.
5. **Choose the Appropriate Index**: Link the project to the desired knowledge base index.
6. **Commence Training**: Prepare the model for interaction by training it with the updated index.
7. **Conduct Queries**: Test the system's knowledge by asking diverse questions.

</details>

{% hint style="info" %}
[Knowledge base](/digital-agent/advanced-functions/knowledge-base.md) indexes significantly augment the conversational AI's effectiveness, enabling the integration of specific, detailed company or organizational information directly into the dialogue flow.
{% endhint %}

{% hint style="danger" %}
While powerful, knowledge base indexes have [their limitations](/digital-agent/advanced-functions/knowledge-base.md#current-limitations) and may not suit every [information source](/digital-agent/advanced-functions/knowledge-base.md#best-practices). For optimal results and current limitations, further reading is advised [here](/digital-agent/advanced-functions/knowledge-base.md).
{% endhint %}


---

# 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://docs.borndigital.ai/digital-agent/building-new-projects/knowledge-base-project/optional-integrating-a-knowledge-base-index.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.
