Skip to content

A chrome extension that pairs with ChatGTP to cheat on technical interviews (or just generate responses on virtual meetings)

License

Notifications You must be signed in to change notification settings

CakeCrusher/tech-int-cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tech-int-cheat

A chrome extension that pairs with OpenAI generative models (soon ChatGPT) to cheat on technical interviews

Install via the Chrome Web Extension Store

Demo

edited-mp4-v2-1.mp4

How it works

Currently the extension only works on Google Meet since it only has been written to use the Google Meet closed captions API,

Usage Instructions:

  1. Install the extension via the Chrome Web Store
  2. Log into a Google Meet meeting and enable Closed Captioning
  3. Speak into the microphone
  4. Open the Tech-Int-Cheat extension on the browser toolbar and you'll see text bubbles.
  5. Select which text you'd like to be sent to ChatGPT
    1. If you want only one bubble to be sent, click it twice (once to set the start point and once to set the end point)
  6. Click 'Generate Response'
  7. Wait for the response to be returned

Issues of note

  • Since it is dependant on Google Meet closed captions, if the closed captions are incorrect the chat will be too.

TODO

  • allow you to select text to analyze
  • refactor client to use a React build with TypeScript
  • allow you to input your own OpenAI API key
  • allow editing of the chat
  • display answers on the meeting page
  • anticipate questions and generate responses automatically

Contributing

Setup

Clone the extension and backend server repos.

Extension Setup

  • Go to your browser's extension page
  • Toggle developer mode
  • Import unpacked extension
  • Select the directory for the frontend project

You may need to change the target for the request away from the AWS server to your local server, depending on what you're doing. If you need to do this, your local python server address/URL is probably http://127.0.0.1:5000/infer_response. Simply swap that out for the AWS URL.

Backend Setup

  • Navigate to flaskAPI root
  • Make sure python and pip are installed
  • Run pip install -r requirements.txt to install dependencies
  • Run python main.py to run the flask server

You will probably need your own OpenAI API Key. The server checks for this key in the environmental vars, so you'll have to set that in your local env or simply override the API Key variable at the top of main.py.

Making Changes

When you make a change to the extension, you will need to reload the extension (in the browser extension tab) and reload the Google Meet tab (in order for the extension on the toolbar to be reloaded). Remember to enable Closed Captioning when you get back into the meet again, each time.

If you want to see the console for the extension, you can open it up, right click, and inspect it. However, this will close that window everytime you navigate away from the extension. A better way to do this is to go to the Extension tab in your browser, and click "service worker", which will popup an inspection tab for the extension that will persist.

How it works

image image

systems diagram

Backend repo

About

A chrome extension that pairs with ChatGTP to cheat on technical interviews (or just generate responses on virtual meetings)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published