Write structure of files and modules of this repo
- User
Write structure of files and modules of this repo
Assistant
The mini-rag repository is structured as follows:
codemini-rag/ ├── README.md # Project description and instructions ├── docker/ # Docker-related files for MongoDB and other services │ ├── .env.example │ ├── .env │ └── docker-compose.yml ├── src/ # Source code of the application │ ├── controllers/ # Controller modules for various functionalities │ │ ├── BaseController.py │ │ ├── DataController.py │ │ ├── NLPController.py │ │ ├── ProcessController.py │ │ └── ProjectController.py │ ├── helpers/ # Helper modules (like config.py) │ │ └── config.py │ ├── main.py # Main application file (FastAPI) │ ├── models/ # Data models and schemes │ │ ├── AssetModel.py │ │ ├── BaseDataModel.py │ │ ├── ChunkModel.py │ │ ├── db_schemes.py # Pydantic models for database interaction │ │ ├── enums/ # Enums for different types/statuses │ │ │ ├── AssetTypeEnum.py │ │ │ └── DataBaseEnum.py │ │ ├── __init__.py │ │ ├── ProcessingEnum.py │ │ ├── ProjectModel.py │ │ ├── ResponseSignal.py │ │ └── __init__.py │ ├── routes/ # API route definitions │ │ ├── base.py │ │ ├── data.py │ │ ├── nlp.py │ │ └── schemes/ │ │ └── ... # Request/response schemas for API endpoints │ ├── stores/ # Integrations with external stores (LLMs, vector databases) │ │ ├── llm/ │ │ │ ├── LLMEnums.py │ │ │ ├── LLMInterface.py │ │ │ ├── LLMProviderFactory.py │ │ │ ├── OpenAILLM.py │ │ │ ├── CohereLLM.py │ │ │ └── templates/ │ │ │ └── ... # Prompt templates for the LLM interactions │ │ └── vectordb/ │ │ ├── VectorDBInterface.py │ │ ├── VectorDBProviderFactory.py │ │ └── QdrantVectorDB.py │ └── __init__.py ├── .env.example # Example environment variables file ├── assets/ # Static assets ([Redacted Person] collection, files) │ └── ... └── requirements.txt # Project dependencies
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.