> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verbex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding knowledge to your AI Agent

> Learn how to set up and manage Knowledge Bases in Verbex Platform

<Note>
  **What you'll learn**

  * Overview of Knowledge Bases
  * How to set up and manage your Knowledge Base
  * How to connect your Knowledge Base to your AI Agent
  * Best practices for maintaining your Knowledge Base
</Note>

## Introduction

A Knowledge Base in Verbex is a centralized repository of information that your AI Agent can access to provide accurate, consistent responses to user queries. This feature enhances your Agent's ability to handle common questions and provide reliable information.

## Types of Knowledge Bases

### Website-Based Knowledge Base

Website-based knowledge bases allow your AI Agent to access and utilize information from your organization's website. For detailed instructions, refer to [Adding Websites to Knowledge Base](/knowledge-base/adding-documents-to-knowledge-base#add-websites-to-knowledge-base).

### Document-Based Knowledge Base

Document-based knowledge bases rely on specifically curated files uploaded to the system. For detailed instructions, refer to [Adding Files to Knowledge Base](/knowledge-base/adding-documents-to-knowledge-base#add-files-documents-to-knowledge-base).

## Setting Up Your Knowledge Base

### Accessing Knowledge Base Management

1. Log into your Verbex Dashboard
2. Navigate to the Knowledge Base section from the main menu

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/general/kb_general_1.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=68e864102ceefbf5e083088d2497cc02" data-path="images/kb/general/kb_general_1.png" />
</Frame>

## Creating and Configuring Directories

1. Click on **+** from upper left corner to create a dedicated space for your files
2. Provide a clear, descriptive name and add a detailed description
3. Use specific naming conventions for better organization
4. Select language for the knowledge base. Here langauge specifies the language of the knowledge base documents. **A single knowledge base can have only one language documents.**

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/general/kb_general_2.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=1d7f6a7e809defb7fa513740a673bb98" data-path="images/kb/general/kb_general_2.png" />
</Frame>

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/general/kb_general_3.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=5c79f77f8b11fc3bba39eb8103ee7f8a" data-path="images/kb/general/kb_general_3.png" />
</Frame>

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/general/kb_general_4.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=4b674262145a8e00d40e8a4bfdb2d452" data-path="images/kb/general/kb_general_4.png" />
</Frame>

## Connecting Knowledge Base to Simple AI Agent

1. Return to your agent configuration
2. Navigate to the Configuration options
3. Select and connect the knowledge base to your agent

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb_4.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=d64beb7b01d3f329471d980213f29653" data-path="images/kb_4.png" />
</Frame>

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb_5.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=47b6d2020cf60e8ea4d7bed15396371d" data-path="images/kb_5.png" />
</Frame>

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb_6.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=ae7acf515e3bb4f69d64586e436c2390" data-path="images/kb_6.png" />
</Frame>

## Connecting Knowledge Base to Agentic AI Agent

1. Go to your agentic agent dashboard
2. Click on the **Edit Prompt Tree** tab

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/agentic_kb/agentic_kb_1.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=835c2d7b02f093214bdf044016fbf256" data-path="images/kb/agentic_kb/agentic_kb_1.png" />
</Frame>

3. Select the agentic agent you want to connect the knowledge base to.

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/agentic_kb/agentic_kb_2.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=45826c76beb990166a6fe0f001c7fec2" data-path="images/kb/agentic_kb/agentic_kb_2.png" />
</Frame>

4. From **Knowledge Base** section, select the knowledge base you want to connect to your agentic agent using the dropdown menu

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/agentic_kb/agentic_kb_3.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=adea1a71fa015807ac4852de83de815c" data-path="images/kb/agentic_kb/agentic_kb_3.png" />
</Frame>

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/agentic_kb/agentic_kb_4.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=d609880f059d27d705c9ff2747882971" data-path="images/kb/agentic_kb/agentic_kb_4.png" />
</Frame>

5. Specify the condition prompt for the knowledge base about when to use the knowledge base

<Frame>
  <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/agentic_kb/agentic_kb_5.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=0caf67a3fd23bb0b9d7a95cb9d5a50f8" data-path="images/kb/agentic_kb/agentic_kb_5.png" />
</Frame>

6. Now **Save** the workflow and **Test** the agentic agent to see the knowledge base in action

## Best Practices

<CardGroup cols={2}>
  <Card title="Organize Information" icon="folder-tree">
    Structure your knowledge base with clear categories and subcategories for easy navigation.
  </Card>

  <Card title="Use Simple Language" icon="comment-dots">
    Write content in plain, jargon-free language that's accessible to users with minimal technical background.
  </Card>

  <Card title="Regular Updates" icon="arrows-rotate">
    Keep your knowledge base current by regularly reviewing and updating information as needed.
  </Card>

  <Card title="Include Examples" icon="list-check">
    Provide real-world examples to help users understand how to apply the information.
  </Card>

  <Card title="Test Comprehension" icon="magnifying-glass-chart">
    Verify that your knowledge base content is easily understood by testing with users similar to your target audience.
  </Card>
</CardGroup>

## Conclusion

By effectively setting up and managing your Knowledge Base, you can significantly enhance the capabilities of your AI Agent, ensuring it provides accurate and reliable information to users.
