Spaces:
Build error
Build error
A newer version of the Gradio SDK is available:
5.15.0
metadata
title: sehatech-demo
app_file: chat_app.py
sdk: gradio
sdk_version: 5.6.0
RAG Voice Boilerplate
A production-ready Python boilerplate for building RAG (Retrieval Augmented Generation) applications with voice processing capabilities.
π Features
- π RAG Engine Integration
- π€ Voice Processing Pipeline
- ποΈ Vector Store Support
- π Docker Containerization
- π§ͺ Testing Infrastructure
- π§ Modular Architecture
ποΈ Project Structure
βββ 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
π¦ Quick Start
Prerequisie
This project is only tested on python3.11 some points to consider: langchain-pinecone works only between versions python3.8 and python3.13 exclusively
- 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
π Documentation
Core Components
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
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π License
This project is licensed under the MIT License - see the LICENSE file for details.