Spaces:
Build error
Build error
File size: 2,151 Bytes
0bf8a2d 965ac15 0bf8a2d 965ac15 0bf8a2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
---
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
1. Clone the repository:
```bash
git clone https://github.com/yourusername/rag-voice-boilerplate.git
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run with Docker:
```bash
docker-compose up -d
```
## π Documentation
### Core Components
- `rag_engine.py`: Handles retrieval augmented generation operations
- `voice_processor.py`: Processes audio input/output
- `document_processor.py`: Manages document parsing and preprocessing
- `vector_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.
|