# Knowledge Base

Using RAG (Retrieval Augmented Generation) technology, this content is transformed into embeddings that enable your virtual being to provide contextually relevant responses during conversations.

<figure><img src="https://1213579860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaU7JJyoXT5PfhTD9dJ%2Fuploads%2FuaAgnm2p0oZJxMIf2sAg%2Fhub-assistant-virbe.virbe.app_dashboard_knowledge_collections_e67acef3-b470-4f0f-97fb-d9812f08360f_documents.png?alt=media&#x26;token=f4aeaab5-4d20-470a-8df7-db644d6c9b43" alt=""><figcaption><p>Knowledge Base in Virbe Dashboard</p></figcaption></figure>

### Structure and Components

**Collections**

Collections are folders that help organize related documents into logical groups. Good organization helps your virtual being quickly access relevant information during conversations. Common collection types include:

* Product information and specifications
* Company policies and procedures
* Frequently asked questions
* Troubleshooting guides

**Documents**

Documents are the building blocks of your Knowledge Base, containing the actual information your virtual being will reference. Each document has these key characteristics:

* Maximum length: 10,000 characters per document
* Format: Plain text with support for images
* Purpose: Source material for AI embeddings used in responses
* Quantity: Limited based on your subscription plan

<figure><img src="https://1213579860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaU7JJyoXT5PfhTD9dJ%2Fuploads%2FASOTTgJkMcVkbhcT8zqK%2Fhub-assistant-virbe.virbe.app_dashboard_knowledge_collections_e67acef3-b470-4f0f-97fb-d9812f08360f_documents%20(1).png?alt=media&#x26;token=0fc3e001-1d27-48b6-8da8-267fdafa0458" alt=""><figcaption><p>Example of a document in Knowledge Base</p></figcaption></figure>

### **Working with content**

**Managing Collections**

Collections help maintain an organized and efficient Knowledge Base. To create a collection:

1. Navigate to the Knowledge Base section
2. Click "Add collection"
3. Enter a descriptive collection name
4. Save the collection

You can rename or delete collections and move documents between them as your knowledge structure evolves.

**Creating and Editing Documents**

When creating documents, focus on clear, specific information that your virtual being can easily reference. To create a document:

1. Select the appropriate collection
2. Click "Add document"
3. Enter a descriptive name
4. Add your content, staying within the 10,000 character limit
5. Save your changes

**Adding Visual Content**

Images can enhance your documents and provide additional context. To add images:

1. In document edit mode, find the Images section
2. Click the "+" button
3. Either upload an image or drag and drop it
4. Add a name and descriptive text that helps the AI understand the image
5. Save your changes

{% hint style="info" %}
It's important to include information on what is depicted in the image – this will allow the virtual being to **select the most relevant images during the conversation and display them contextually.**
{% endhint %}

<figure><img src="https://1213579860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaU7JJyoXT5PfhTD9dJ%2Fuploads%2FKPEm3zo422F4BFDt0v7g%2Fhub-assistant-virbe.virbe.app_dashboard_overview%20(19).png?alt=media&#x26;token=22432a19-8549-4bb1-9e9f-dacf99c70192" alt=""><figcaption><p>Adding an image to Knowledge Base document</p></figcaption></figure>

#### How Embeddings Work

The Knowledge Base automatically processes your documents to create embeddings - mathematical representations that enable intelligent information retrieval. This process allows your virtual being to:

* Understand the context of user questions
* Find relevant information quickly
* Generate natural responses using your content

#### Using Knowledge in Conversations

Your Knowledge Base connects seamlessly with conversation flows through LLM nodes:

* RAG technology searches through your documents
* Relevant content is retrieved based on context
* Information is incorporated into natural responses

#### Best Practices

#### Effective Organization

Keep your Knowledge Base efficient and useful by:

* Creating intuitive collection structures
* Using clear, descriptive document names
* Keeping documents focused on specific topics
* Maintaining current, accurate content

#### Content Creation Tips

Create content that works well with AI processing:

* Write in clear, straightforward language
* Include practical examples where helpful
* Provide context with good image descriptions
* Structure information logically

#### Maintaining Performance

Keep your Knowledge Base running smoothly:

* Monitor your document count against plan limits
* Regularly review and update content
* Test knowledge retrieval periodically
* Archive outdated information

See our recommendations for making the most out of yout Knowledge Base content:

{% content-ref url="knowledge-base/best-practices-for-knowledge-base-content" %}
[best-practices-for-knowledge-base-content](https://docs.virbe.ai/dashboard-management/knowledge-base/best-practices-for-knowledge-base-content)
{% endcontent-ref %}
