RAG Engine (rag/__init__.py)

EvoAgentX · evoagentx/rag/__init__.py · python · MIT
ai, search

Retrieval-Augmented Generation engine for integrating external knowledge into AI responses.

# Source: https://github.com/EvoAgentX/EvoAgentX | License: MIT | Copyright 2025 EvoAgentX
# Provided via justclaw.it.com; keep this notice with the code.
"""RAG exports, loaded only when explicitly requested."""

from importlib import import_module

__all__ = [
    "Chunk",
    "ChunkMetadata",
    "Corpus",
    "HierarchicalChunker",
    "ImageChunk",
    "LLamaIndexReader",
    "MultimodalReader",
    "OpenAIEmbeddingWrapper",
    "Query",
    "RAGConfig",
    "RAGEngine",
    "RagResult",
    "SemanticChunker",
    "SimpleChunker",
    "SimpleReranker",
    "TextChunk",
    "VectorIndexing",
    "VectorRetriever",
    "VoyageEmbeddingWrapper",
]

_EXPORTS = {
    "RAGEngine": ".rag",
    "LLamaIndexReader": ".readers",
    "MultimodalReader": ".readers",
    "SimpleChunker": ".chunkers

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key