Skip to content

Solve Kahoot multiple-choice questions using ChatGPT

Notifications You must be signed in to change notification settings

lvhoaa/KahootGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

KahootGPT

Table of Contents

Project Overview

KahootGPT is a project that leverages ChatGPT to solve Kahoot multiple choice questions.

Key features:

  • Integrated OCR (Optical Character Recognition) to extract words (questions, choices) from screen.
  • Leveraged OpenAI's API to generate answers for Kahoot quizzes
  • Supported user-friendly interface for usage and timely execution

Guide & Illustration

  1. At every new question, bind the keys Ctrl+Alt+t to start the process
  2. Use Pyautogui to capture the full screen, including questions and answer choices

image

  1. Use OCR (optical character recognition) to extract the TEXT questions and choices from the screenshot
  2. Based on this information, prompt ChatGPT by sending API requests to OpenAI
  3. Get back answer as ChatGPT response

image

  1. Choose the correct answer using Pyautoguy.click() on the screen

image

  1. Repeat at each new question

Technologies

  • Pyautogui: for capturing screens
  • Pytesseract: for OCR (optical character recognition) operations
  • Keyboard: for initiating the process
  • OpenAI's ChatGPT: for generating answers based on quiz prompts and choices

Configuration

  • The KahootGPT project utilizes the OpenAI API for generating responses. To use the OpenAI API, you need to obtain an API key from OpenAI and configure it in the project.
  • Obtain an API key from OpenAI by following their documentation.
  • Add OpenAI key to chatgpt-kahoot.py

Contributing

  • Contributions to this project are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request. For major changes, please discuss them first in the project's issue tracker.

License

  • This project is licensed under the MIT License. You can find the full license text in the LICENSE file.

About

Solve Kahoot multiple-choice questions using ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages