Understand the RAG module project structure
mainThe RAG (Retrieval-Augmented Generation) module is organized within the ctx/generator project. When implementing or extending RAG features, follow this directory structure:
rag/Config/: Contains configuration classes for RAG, Stores, Vectorizers, and Transformers.rag/Console/: Contains CLI commands related to RAG.rag/MCP/Tools/: Contains MCP (Model Context Protocol) tool actions and handlers.rag/Service/: Contains core business logic likeIndexerServiceandRetrieverService.rag/Store/: Contains theStoreFactoryand store implementations.rag/RagParserPlugin.php: The plugin responsible for parsing RAG configurations.