Module rag

Module rag 

Source
Expand description

Local RAG (Retrieval-Augmented Generation) system for Manx

Provides document indexing, semantic search, and LLM integration for enhanced documentation discovery and AI synthesis.

Modules§

benchmarks
Benchmarking utilities for embedding providers
embeddings
Text embedding generation using configurable embedding providers
indexer
Document indexing pipeline for the RAG system
llm
Multi-provider LLM integration for answer synthesis
model_metadata
providers

Structs§

DocumentChunk
Document chunk for indexing
DocumentMetadata
Document metadata
EmbeddingConfig
Configuration for embedding generation
RagConfig
Configuration for the RAG system
RagSearchResult
Search result from RAG
RagStats
RAG system stats
RagSystem
Local file-based RAG system

Enums§

EmbeddingProvider
Embedding provider types
SourceType
Type of document source