Miiflow Docs

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:

{{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 text
  • score - Similarity score
  • metadata - Document metadata

Using with LLM Nodes

Combine with LLM Nodes for RAG:

  1. Knowledge Retrieval finds relevant context
  2. LLM Node uses context to generate informed responses