Workflow with Knowledge Base
Add RAG capabilities to ground responses in your documents.
Connect a Knowledge Base to enable retrieval-augmented generation (RAG) for accurate, grounded responses.
Prerequisites
- Knowledge Base configured
- Documents uploaded and synced
Structure
[Chat Input] → [Agent] → [Chat Output]
↑
[Knowledge Base]
Steps
1. Create Base Workflow
Follow Simple Workflow to create Chat Input → Agent → Chat Output.
2. Add Knowledge Base Tool
- Select the Agent node
- In Properties, find Tools section
- Add Knowledge Base
- Select your configured KB
3. Update System Message
You are an assistant that answers questions based on the provided knowledge base.
Always use the knowledge base tool to retrieve relevant information before answering.
If information isn't found, say so clearly.
4. Save & Test
- Save workflow
- Open Playground
- Ask questions about your documents
Use Cases
- Documentation Q&A
- Product information bot
- Internal knowledge assistant
- Customer support with company docs
Next: Complete Example