- to run the program run this
uvicorn main:app --host 0.0.0.0 --port 8000 --reloadA comprehensive AI system that combines multiple components for face recognition, voice-to-text conversion, and retrieval-augmented generation (RAG).
Located in /face_recognition2/
- Facial recognition system with model training capabilities
- Image capture functionality
- MVC architecture with controllers, models and helper utilities
Located in /voice2txt/
- Speech-to-text conversion system
- MVC architecture with Controllers, Models and Services
Located in /rag_model/
- Two versions of RAG implementation:
- agno_rag_v00: Initial implementation
- Agno_RAG_v01: Enhanced version with authentication and web interface
- RESTful API routes
- Service-based architecture
Located in /middle_ware/
- Data pipeline implementation
- Integration layer between components
-
Clone the repository
-
Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Environment Configuration:
- Copy
.env.exampleto.env - Configure the environment variables according to your setup
.
├── face_recognition2/ # Face recognition module
│ └── src/
│ ├── controllers/ # Recognition controllers
│ ├── helpers/ # Utility functions and configurations
│ └── models/ # Facial recognition models
├── middle_ware/ # Integration layer
│ └── src/
│ └── data_pipeline.py
├── rag_model/ # RAG implementations
│ ├── agno_rag_v00/ # Initial version
│ └── Agno_RAG_v01/ # Enhanced version with web interface
└── voice2txt/ # Speech-to-text module
└── src/
├── Controllers/
├── models/
└── Services/
Each component can be used independently or as part of the integrated system.
- Face detection and recognition capabilities
- Model training functionality
- Image capture and processing
- Speech-to-text conversion
- Modular service-based architecture
- Two versions available:
- V0: Basic RAG implementation
- V1: Enhanced version with:
- Authentication
- Web interface
- RESTful API endpoints
- Handles data flow between components
- Implements data pipeline for integrated operations
- Python 3.x
- Required packages are listed in
requirements.txt
- Follow the modular architecture pattern
- Each component has its own README with specific instructions
- Use the existing MVC/Service patterns when adding new features