Knowledge Retrieval Node
The Knowledge Retrieval Node queries your knowledge bases to find relevant information for AI-powered responses.
Overview#
Use Knowledge Retrieval Nodes to:
- Implement RAG (Retrieval Augmented Generation)
- Search documentation or FAQs
- Find relevant context for LLM responses
Configuration#
Knowledge Base#
Select which knowledge base to query.
Query#
The search query, typically using variables:
plaintext
{{input.user_question}}Top K#
Number of relevant results to retrieve (default: 5).
Similarity Threshold#
Minimum similarity score for results (0.0 - 1.0).
Output#
Returns an array of matching documents with:
content- The document textscore- Similarity scoremetadata- Document metadata
Using with AI Nodes#
Combine with AI Nodes for RAG:
- Knowledge Retrieval finds relevant context
- AI Node uses context to generate informed responses