The Knowledge Retrieval block allows you to search and retrieve relevant documents from your Athina Knowledge Base using semantic similarity search.

Overview

The Knowledge Retrieval block is designed to:

  • Search through your uploaded documents using semantic similarity
  • Return the most relevant document chunks based on your query
  • Enable context-aware information retrieval from your knowledge base

How It Works

  1. Document Processing:

    • Documents uploaded to Athina are automatically processed and chunked
    • Each chunk is converted into a vector embedding
    • The embeddings are stored in a Qdrant vector database
  2. Retrieval Process:

    • Your input query is converted to a vector embedding
    • The system performs a semantic similarity search in Qdrant
    • The most relevant document chunks are returned based on similarity scores

Configuration Options

ParameterDescriptionDefault
QueryThe search query to find relevant documentsRequired
Knowledge BaseThe knowledge base to searchRequired
Number of ResultsMaximum number of document chunks to return5

Example Usage