This repository contains the source code for Gemini_Student, a versatile educational application powered by the Gemini large language model. It offers five interactive components designed to enhance student learning:
- Employs API calls to interact with the Gemini model, providing real-time responses.
- Stores conversation history for a seamless user experience.
- Accepts image input and a user prompt.
- Leverages Gemini's capabilities to generate informative answers.
- Functions as a straightforward question-answering platform for students.
- Interacts with Gemini to offer insightful responses to various queries.
- Takes user-provided text, topic, number of MCQs, and difficulty level (easy, medium, hard) as inputs.
- Generates a PDF containing multiple-choice questions along with Gemini-verified answers, ensuring accuracy.
- Enables users to upload multiple PDFs.
- Utilizes the Pinecone Vector Database for efficient document retrieval.
- Allows students to ask questions directly related to the uploaded PDFs, facilitating deeper comprehension.
- The repository is organized with one Python file for each component (chatbot.py, image_qa_gemini.py, qa_gemini.py, mcq_gen.py, and chat_with_pdf.py).
- An additional Python file (app.py) serves as the main application entry point, orchestrating the overall functionality.
To use Gemini_Student locally, clone this repository and install the required dependencies:
- git clone https://github.com/Gyanbardhan/Gemini_Student.git
- cd Gemini_Student
- pip install -r requirements.txt
-
Install streamlit using pip install streamlit
-
streamlit run app.py
Join us in our quest to improve the experience of students efficiently. Together, we can help users to access the application quickly, enhancing their overall experience on the platform.