Skip to content

sankeer28/Gemini-Homework-Helper

This project uses the Google Generative AI Gemini 1.0 Pro to help students with homework. It works by extracting text from PDF and Word documents and taking the user's question to provide an answer. The user can also ask questions regarding uploaded images.

Please refrain from sharing personal information with any AI systems, as it may be used to train them. Protect your privacy by avoiding the disclosure of sensitive data.

Image 1
For context GPT3.5 uses 4,096 tokens. More information on Gemini models can be found at https://ai.google.dev/models/gemini

Currently uses Gemini 1.0 Pro, will be updated to use Gemini 1.5 Pro once API is released to the public alongside new features.

Features

  • Uses API version V1.
  • Saves API key to the cache, which persists upon page reload.
  • Uses Gemini-1.0-Pro and Gemini-Pro-Vision models to interpret text and images, models are automatically selected
  • Mobile-friendly layout.
  • Markdown support for output.
  • User can copy AI output.
  • User/Document character count is shown. - AI response will not work for documents/input that exceed the 32k character limit

Usage

  1. Go to https://gemini-homework-helper.vercel.app/
  2. Enter your API key in the input box.
  3. If you have a PDF (PDF must have copy-pasteable text) or Word document, you can upload it using the file input. The text will be extracted and used as input for the AI. Uploading an image uses the Gemini-Pro-Vision model.
  4. You can also type your question directly into the text input field regarding a part of the document.
  5. Click the "Send" button to get the AI's response.

API Key

You will need to provide your Google Generative AI API key. You can get an API key here

Contributing

  1. Bug Reports: If you encounter any issues with the application, please file a bug report in the issue tracker on our project page.
  2. Feature Requests: If you have a great idea for a new feature, feel free to submit it as a feature request on our project page. Please provide as much detail as possible about your idea.
  3. Code Contributions: If you'd like to contribute code, bug fixes or improvements to the project, please fork the repository, make your changes, and submit a pull request. We'll review your contributions and integrate them into the project as soon as we can.

Video Demo - GUI may have additional features not present on recording

gemini_demo.mp4

Note

This project is for educational purposes only. All safety features have been set to the minimum, Please use it responsibly.

About

Upload pdfs, Docx, images and ask your AI tutor Gemini questions

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks