An intelligent chatbot that provides guidance based on the teachings of the Lubavitcher Rebbe, incorporating audio, text, and document processing capabilities.
- Audio Processing: Transcribes and processes audio teachings of the Rebbe
- Document Processing: Handles various document formats (PDF, DOCX, TXT)
- Semantic Search: Implements advanced search to find relevant teachings
- RAG System: Retrieval-Augmented Generation for context-aware responses
- Multi-Document Integration: Combines insights from multiple sources
- Interactive Chat: User-friendly interface for asking questions
- Clone the repository:
git clone https://github.com/yourusername/ask-rebbe.git
cd ask-rebbe- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
Create a
.envfile with:
OPENAI_API_KEY=your_api_key_here
- Run the application:
python app.pyapp.py: Main application fileaudio_processor.py: Handles audio file processingdocument_processor.py: Processes various document formatstest_*.py: Test and demonstration scriptstemplates/: HTML templates for the web interfacemodels/: Data models and database schemascontrollers/: Business logic and route handlers
Run the test suite:
python -m pytest tests/MIT License
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request