This application allows users to interact with multiple PDF documents through a chat interface and participate in an exam simulation based on the PDF content.
- Load and process multiple PDF files from a selected directory
- Chat interface for asking questions about PDF content
- Exam simulation with auto-generated questions in Italian
- Interactive exam experience with immediate feedback
- Exam summary showing correct and incorrect answers
- Python 3.7+
- PyQt6
- langchain, langchain_community, langchain_openai
- openai
- faiss-cpu
- Clone the repository
- Install required packages: pip install PyQt6 langchain langchain_community langchain_openai openai faiss-cpu
- Ensure you have an OpenAI API key (https://platform.openai.com/api-keys)
- Run the application
- Enter your OpenAI API key when prompted
- Click "Select Directory" to choose a folder with PDFs
- After processing:
- Ask questions about PDF content
- Start exam simulation: type "exam simulation" or "simulazione di esame"
- During exam:
- Answer with 'a', 'b', 'c', or 'd'
- Type 'next' for the next question
- Type 'exit' to end early
- View exam performance summary at the end
Exam questions are generated in Italian. Ensure PDFs contain relevant Italian content for best results.
- Verify all dependencies are correctly installed
- Check OpenAI API key validity
- Ensure PDFs are readable and contain relevant content
Contributions, issues, and feature requests are welcome. Check the issues page on the repository.
Marco "Techcraft"
For support or inquiries, please open an issue in the repository.