haive.agents.rag¶
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¶
- haive.agents.rag.adaptive
- haive.agents.rag.adaptive_tools
- haive.agents.rag.agentic
- haive.agents.rag.agentic_router
- haive.agents.rag.base
- haive.agents.rag.corrective
- haive.agents.rag.db_rag
- haive.agents.rag.document_grading
- haive.agents.rag.dynamic
- haive.agents.rag.filtered
- haive.agents.rag.flare
- haive.agents.rag.fusion
- haive.agents.rag.hallucination_grading
- haive.agents.rag.hyde
- haive.agents.rag.llm_rag
- haive.agents.rag.memory_aware
- haive.agents.rag.models
- haive.agents.rag.multi_query
- haive.agents.rag.multi_strategy
- haive.agents.rag.query_decomposition
- haive.agents.rag.query_planning
- haive.agents.rag.self_corr
- haive.agents.rag.self_reflective
- haive.agents.rag.self_route
- haive.agents.rag.simple
- haive.agents.rag.speculative
- haive.agents.rag.step_back
- haive.agents.rag.typed
- haive.agents.rag.utils