A production-ready Python boilerplate for building RAG (Retrieval Augmented Generation) applications with voice processing capabilities.
- 📚 RAG Engine Integration
- 🎤 Voice Processing Pipeline
- 🗄️ Vector Store Support
- 🐋 Docker Containerization
- 🧪 Testing Infrastructure
- 🔧 Modular Architecture
├── app/
│ ├── __init__.py
│ ├── main.py
│ ├── config.py
│ ├── api/
│ │ ├── __init__.py
│ │ └── routes.py
│ ├── core/
│ │ ├── __init__.py
│ │ ├── rag_engine.py
│ │ ├── voice_processor.py
│ │ └── document_processor.py
│ ├── database/
│ │ ├── __init__.py
│ │ ├── vector_store.py
│ │ └── db.py
│ └── utils/
│ ├── __init__.py
│ └── helpers.py
├── tests/
│ └── __init__.py
├── docker/
│ ├── Dockerfile
│ └── docker-compose.yml
├── requirements.txt
└── README.md
- Clone the repository:
git clone https://github.com/yourusername/rag-voice-boilerplate.git
- Install dependencies:
pip install -r requirements.txt
- Run with Docker:
docker-compose up -d
rag_engine.py
: Handles retrieval augmented generation operationsvoice_processor.py
: Processes audio input/outputdocument_processor.py
: Manages document parsing and preprocessingvector_store.py
: Manages vector embeddings and similarity search
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.