Skip to content

caesariodito/mp-assignment-automation

Repository files navigation

Assignment Automation

Basically this is a free homework solver.

Assignment Automation is a student project designed to demonstrate the power of AI technology in generating answers and insights. It should not be relied upon for daily use as the results may not always be accurate or complete. This website serves as a learning tool, allowing students and aspiring tech enthusiasts to explore the capabilities of AI and gain a deeper understanding of how it can be used to process information. Whether you're a student or just curious about AI, Assignment Automation provides an exciting opportunity to see the technology in action and discover new possibilities.

You can try it live in here!

Note: The generated output may not be correct. Use at your own risk ⚠️.

Outline of the program

outline

Technical Outline

outline

  • Use Optical Character Recognition (OCR) software to convert the PDF or image documents into text. (PDF Text-based/Image/Text available)
  • Extract the text from the PDF/Image with PyPDF (PDF) / EasyOCR (Image)
  • Do text processing on the extracted text
  • Process the question with chatgpt api or term frequency to find the keywords
  • Request insight with API from the keywords
  • Provide an answer in text format from the response

This project is for education purposes only

I will provide documentation on my journey to solve this project. For those of you who are interested or maybe an expert (know how to solve any problems related to this project), you can open issues in this repo and I will appreciate any of your information.

You can view my finished progress in here!

There are few limits on this project

Maybe you can improve the project by forking, doing pr, or even creating your version. Here are the limits:

  • Unreliable prompt -> the generated output from this project isn't reliable. It's because I designed the prompt to submit as minimum tokens as possible.
  • PDF Input -> the pdf input is reliable only if you put the PDF Text-based file type, please refer to my progress for more detailed information about pdf types.
  • Limited language -> only available in Indonesian and English input.
  • No error handling -> if the code fails to execute (request error, etc), it has no error handling.

Other Thoughts:

  • You can improve the prompt by making input types ['exact question', 'insights', 'summarization']
  • Or maybe you can design the project to add the custom prompt feature

Example Process and Output

How to video

how-to.mp4