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

# Knowledge Base

> Give your AI agents instant access to your company knowledge, documents, and data

## What is Knowledge Base?

The Knowledge Base allows you to upload information that your AI agents can reference during conversations. By providing your agents with access to company policies, product documentation, FAQs, pricing information, and other critical content, you enable them to answer questions accurately and consistently.

<Info>
  **Three ways to add knowledge:**

  * **Upload Documents** - PDF, DOCX, DOC, TXT, HTML, EPUB files
  * **Add URLs** - Web pages and online documentation
  * **Free Text** - Direct text entry for quick content
</Info>

## How It Works

When you add items to your Knowledge Base, the system processes and indexes the content for semantic search. During conversations, your agents automatically retrieve relevant information based on the context, enabling them to provide accurate, up-to-date responses.

**Knowledge Flow:**

1. **Upload** - Submit text, URLs, or documents
2. **Processing** - System extracts and indexes content
3. **Availability** - Agents can access information during calls
4. **Retrieval** - AI finds relevant content based on conversation context

## Common Use Cases

**Customer Support**

* Company policies and procedures
* Return and refund policies
* Product specifications and features
* Troubleshooting guides

**Sales and Information**

* Pricing and plan information
* Product catalogs and descriptions
* Feature comparisons
* Service availability and coverage

**Operations**

* Business hours and locations
* Shipping and delivery information
* Account management procedures
* Contact information and escalation paths

## Getting Started

Choose your implementation path based on how you want to manage knowledge:

<CardGroup cols={2}>
  <Card title="Configure in Dashboard" href="/agents/knowledge-base/introduction" icon="browser">
    Upload and manage knowledge items using the web interface. Perfect for adding documents, URLs, and text content visually.
  </Card>

  <Card title="Integrate via API" href="/developers/guides/knowledge-base-api" icon="code">
    Manage knowledge programmatically using the Hamsa API. Ideal for automated content updates and bulk operations.
  </Card>
</CardGroup>

## Learn More

<CardGroup cols={2}>
  <Card title="Creating Items" href="/agents/knowledge-base/creating-items">
    Learn how to add different types of knowledge
  </Card>

  <Card title="Managing Items" href="/agents/knowledge-base/managing-items">
    Search, filter, edit, and organize your knowledge base
  </Card>

  <Card title="Status Tracking" href="/agents/knowledge-base/status-lifecycle">
    Understand processing states and troubleshooting
  </Card>

  <Card title="Best Practices" href="/agents/knowledge-base/best-practices">
    Optimize your knowledge base for better agent performance
  </Card>
</CardGroup>
