Quick Start
What is a Knowledge Base?
A knowledge base is a vector database that stores your documents as embeddings. When an agent receives a question, it:- Searches the knowledge base for relevant content
- Retrieves the most relevant chunks
- Generates a response using the retrieved context
Supported Document Types
| Type | Method | Description |
|---|---|---|
add_pdf() | PDF documents | |
| DOCX | add_docx() | Word documents |
| TXT | add_txt() | Plain text files |
| Website | add_website() | Web pages with crawling |
| Text | add_text() | Raw text strings |
Vector Store Providers
| Provider | ID | Description |
|---|---|---|
| Qdrant | qdrant | Default, high-performance vector database |
| Weaviate | weaviate | Open-source vector search engine |
| PG Vector | pg_vector | PostgreSQL with vector extension |
| Milvus | milvus | Scalable vector database |
| Neptune | neptune | Amazon Neptune graph database |
Key Operations
Create
Add Documents
Query
Use with Agent
Retrieval Types
| Type | Description |
|---|---|
basic | Standard vector similarity search |
mmr | Maximal Marginal Relevance (diverse results) |
hyde | Hypothetical Document Embeddings |
time_aware | Time-decay weighted retrieval |
Next Steps
Creating Knowledge Bases
Learn all creation options and configuration
Adding Documents
Add PDFs, websites, and other content
Querying
Search and retrieve from knowledge bases
Managing
Update, delete, and manage documents