Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.83 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.83 KB

docgpt-banner A script that empowers a user to upload a document and ask questions of ChatGPT for document analysis.

Compatible with Windows, Linux and MacOS.

Step-by-Step Instructions

Install Python 3

Install Prerequisite Libraries

  • In order to run the script, you need to have the following libraries installed: tkinter, openai, and pywin32. You can install them using the following command in the terminal or command prompt:

pip install tkinter openai pywin32

Get the API Key for OpenAI GPT-3

  • You can get the API key by signing up for an OpenAI account (https://beta.openai.com/signup/).
  • Create a file called api_key.gpt and save your API key in the file.

Download the Script

  • You can download the script from the source.
  • In the terminal or command prompt, navigate to the location where you saved the script and run the following command:

python3 script.py

Fojl-51WcAAbJU8

Use the Application

Once the script is running, you will see a borderless window with a splash screen and a main menu. You can use the following features: Upload a document: Allows you to upload a document, either txt, doc, or xls, from your computer into your local memory so that ChatGPT can be queried.

  • Ask a question: Allows you to ask ChatGPT a question directly.
  • View results: Allows you to review the latest results.
  • View API Key: Allows you to view the locally stored API key.
  • Quit: Allows you to quit back to the command prompt.