haive.agents.rag ================ .. py:module:: haive.agents.rag .. autoapi-nested-parse:: RAG (Retrieval-Augmented Generation) agents for the Haive framework. Available agents: - BaseRAGAgent: Foundation retriever with HuggingFace embeddings - SimpleRAGAgent: Retriever + answer agent in sequence - DynamicRAGAgent: Multi-source dynamic retrieval - LLMRAGAgent: LLM-based RAG - AgenticRAGAgent: ReactAgent with retrieval tools - CorrectiveRAGAgent: Self-correcting retrieval - SelfReflectiveRAGAgent: Reflective retrieval with grading - SelfRouteRAGAgent: Query-aware retrieval routing - StepBackRAGAgent: Abstract query generation for better retrieval - HyDERAGAgent: Hypothetical document embeddings - FLARERAGAgent: Forward-looking active retrieval - MultiQueryRAGAgent: Multiple query variants - RAGFusionAgent: Reciprocal rank fusion - SpeculativeRAGAgent: Hypothesis + parallel verification - DocumentGradingRAGAgent: Document relevance grading - AdaptiveRAGAgent: Adaptive strategy selection - QueryDecomposerAgent: Hierarchical query decomposition - HallucinationGraderAgent: Output hallucination detection - MemoryAwareRAGAgent: RAG with memory context Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/haive/agents/rag/adaptive/index /autoapi/haive/agents/rag/adaptive_tools/index /autoapi/haive/agents/rag/agentic/index /autoapi/haive/agents/rag/agentic_router/index /autoapi/haive/agents/rag/base/index /autoapi/haive/agents/rag/corrective/index /autoapi/haive/agents/rag/db_rag/index /autoapi/haive/agents/rag/document_grading/index /autoapi/haive/agents/rag/dynamic/index /autoapi/haive/agents/rag/filtered/index /autoapi/haive/agents/rag/flare/index /autoapi/haive/agents/rag/fusion/index /autoapi/haive/agents/rag/hallucination_grading/index /autoapi/haive/agents/rag/hyde/index /autoapi/haive/agents/rag/llm_rag/index /autoapi/haive/agents/rag/memory_aware/index /autoapi/haive/agents/rag/models/index /autoapi/haive/agents/rag/multi_query/index /autoapi/haive/agents/rag/multi_strategy/index /autoapi/haive/agents/rag/query_decomposition/index /autoapi/haive/agents/rag/query_planning/index /autoapi/haive/agents/rag/self_corr/index /autoapi/haive/agents/rag/self_reflective/index /autoapi/haive/agents/rag/self_route/index /autoapi/haive/agents/rag/simple/index /autoapi/haive/agents/rag/speculative/index /autoapi/haive/agents/rag/step_back/index /autoapi/haive/agents/rag/typed/index /autoapi/haive/agents/rag/utils/index