Key Features
- Vector Embeddings - Semantic search over document content
- RAG Integration - Automatically augment prompts with relevant context
- Multiple Sources - Upload documents, web pages, structured data
- Reranking - LLM-based result ranking for quality
- Citation Tracking - Know which documents contributed to answers
How to Enable
For Agents
- Agents > Select Agent > Settings > Capabilities
- Attach Knowledge Retrieval
- Link to a Knowledge Base you’ve created
For MCP Gateways
- Gateways > Select Gateway > Capabilities
- Attach Knowledge Retrieval
- Link to a Knowledge Base
Creating a Knowledge Base
Create Knowledge Base
- Go to Knowledge > Create Knowledge Base
- Enter name and description
- Click Create
Upload Documents
- Open your knowledge base
- Click Upload Documents
- Choose files (PDF, DOCX, TXT, MD, JSON)
- Documents are processed automatically
Configure Search
- Click Settings
- Choose embedding model
- Set reranking preferences
- Save configuration
How It Works
- Document Upload - Documents processed into chunks with metadata
- Embeddings - Each chunk converted to vector representation
- Storage - Vectors stored in the vector database
- Query - User query converted to vector
- Search - Top matching documents retrieved via cosine similarity
- Reranking (optional) - LLM reranks results for relevance
- Augmentation - Top results injected into agent prompt
Usage Examples
Simple Search
Agent prompt:Complex Question
Document Analysis
Configuration
Search Settings
| Setting | Default | Effect |
|---|---|---|
embedding_model | text-embedding-3-small | Model for embeddings |
top_k | 5 | Number of results |
similarity_threshold | 0.7 | Minimum relevance score |
enable_reranking | true | LLM reranking of results |
Document Types Supported
| Format | Support | Best For |
|---|---|---|
| ✓ | Documents, reports | |
| DOCX | ✓ | Word documents |
| TXT | ✓ | Text files |
| Markdown | ✓ | Documentation |
| JSON | ✓ | Structured data |
| XLSX | ✓ | Spreadsheets |
| HTML | ✓ | Web pages |
Embedding Models
Choose the embedding model based on your needs:| Model | Dimensions | Best For |
|---|---|---|
| text-embedding-3-small | 1536 | General use |
| text-embedding-3-large | 3072 | Nuanced search |
| custom | Variable | Domain-specific |
Search Examples
Keyword vs Semantic
Keyword search:Multi-document
If knowledge base has multiple documents, search returns top matches across all:Reranking
Optional LLM-based reranking improves result quality:- Retrieves top 20 results
- LLM evaluates each for relevance
- Reorders by actual relevance
- More accurate but slower
Cost
For current pricing details, see Pricing. Monitor in Account > Usage dashboard.Rate Limits
- 1000 searches per hour per knowledge base
- 500 document uploads per day per account
- 1M total embeddings per account
Best Practices
Document Preparation
- Clean PDFs work better than scanned images
- Use clear document structure
- Include metadata and dates
- Break large documents into sections
Search Queries
- Be specific and descriptive
- Use natural language
- Ask complete questions
- Avoid single-word searches
Knowledge Base Organization
- Group related documents
- Use consistent naming
- Update documents regularly
- Remove outdated content
Common Use Cases
Product Documentation
Upload product manual, FAQ, API docs for instant search.Internal Knowledge
Store company policies, procedures, guidelines.Research
Upload research papers, articles for analysis.Troubleshooting
Poor Search Results
- Verify documents uploaded correctly
- Try more specific queries
- Enable reranking for better results
- Check similarity threshold
Slow Search
- Reduce
top_kvalue - Disable reranking for speed
- Use smaller embedding model
Upload Failed
- Check file format is supported
- Verify file is valid (not corrupted)
- Try smaller file size
- Check account storage limit