TUTOR is an AI-powered educational assistant designed to help users with audio transcription, PDF text extraction, and question answering. It leverages advanced AI models and Retrieval-Augmented Generation (RAG) to provide accurate and contextually relevant responses based on uploaded content.
- Audio Transcription: Upload an audio file for transcription.
- PDF Text Extraction: Extract text from uploaded PDF files.
- Question Answering: Get detailed responses to questions based on the content of audio or PDF files using RAG.
- General AI Tutor: Ask general questions and receive AI-generated responses.
Finding accurate and contextually relevant educational information can be challenging with traditional LLM applications. TUTOR leverages Retrieval-Augmented Generation (RAG) to combine the power of large language models with a curated knowledge base. This ensures that the responses are not only generated based on the AI's training data but also grounded in the specific content provided by the user, whether it be from audio transcriptions or PDF text extractions. This approach significantly enhances the accuracy and relevance of the information provided.
- Clone the repository:
git clone https://github.com/slfagrouche/TUTOR.git
- Navigate to the project directory:
cd TUTOR
- Install the dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory and add your API keys:GOOGLE_API_KEY=your_google_api_key HF_API_KEY=your_huggingface_api_key
- Run the Flask app:
python app.py
- Open your browser and go to
http://127.0.0.1:5000/
.
Contributions are welcome! Please fork the repository and create a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.