Knowledge Base
Knowledge Bases store and organize information for retrieval-augmented generation (RAG) in your workflows.
Overview#
A Knowledge Base enables your AI workflows to:
- Access your custom data
- Provide accurate, grounded responses
- Answer questions about your documents
- Maintain up-to-date information
Creating a Knowledge Base#
- Go to Dashboard > Knowledge Base
- Click Create Knowledge Base
- Name your knowledge base
- Add data sources
Data Sources#
Document Upload#
Upload files directly:
- PDF documents
- Text files (.txt, .md)
- Word documents (.docx)
Web Scraping#
Import content from web pages (coming soon).
API Integration#
Connect external data sources via API (coming soon).
How It Works#
- Ingestion - Documents are processed and chunked
- Embedding - Text chunks are converted to vectors
- Storage - Vectors are stored for fast retrieval
- Retrieval - Queries find relevant chunks by similarity
Using in Workflows#
Add a Knowledge Retrieval Node to query your knowledge base and inject relevant context into LLM prompts.
Best Practices#
- Keep documents focused on specific topics
- Update regularly to maintain accuracy
- Use clear, well-structured documents
- Monitor retrieval quality and adjust as needed