Giter VIP home page Giter VIP logo

gyanbardhan / gemini_student Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 16.7 MB

An educational app powered by Gemini, a large language model provides 5 components a chatbot for real-time Q&A,an image & text question answerer,a general QA platform, a tool to generate MCQs with verified answers, and a system to ask questions about uploaded PDFs. https://drive.google.com/file/d/1M1WT-L419ML_j43dQIyABCy8Ni79NyIq/view?usp=sharing

Home Page: https://huggingface.co/spaces/gyanbardhan123/Gemeni_Student

Python 100.00%
chatbot genai genai-chatbot generative-ai google-gemini google-gemini-ai langchain langchain-python pdf-chat-bot python qa pinecone vector-database huggingface-spaces streamlit

gemini_student's Introduction

Gemini_Student

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:

Gemini_Student_Demo Video

Gemini_Student Website

Components:

1. Chatbot (chatbot.py):

  • Employs API calls to interact with the Gemini model, providing real-time responses.
  • Stores conversation history for a seamless user experience.

2.Image_QA_Gemini (image_qa_gemini.py):

  • Accepts image input and a user prompt.
  • Leverages Gemini's capabilities to generate informative answers.

3.QA_Gemini (qa_gemini.py):

  • Functions as a straightforward question-answering platform for students.
  • Interacts with Gemini to offer insightful responses to various queries.

4.MCQ_GEN (mcq_gen.py):

  • 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.

5.Chat_with_PDF (chat_with_pdf.py):

  • 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.

Project Structure:

  • 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.

Installation

To use Gemini_Student locally, clone this repository and install the required dependencies:

Usage

  • Install streamlit using pip install streamlit

  • streamlit run app.py

Join Us

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.

gemini_student's People

Contributors

gyanbardhan avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

budirs86

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.