Skip to content

Python-based program that uses OpenAI's GPT-4 model. Allows users to have conversations in Terminal.

License

Notifications You must be signed in to change notification settings

zachhollow/openai-sdk-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Console App

For a general-purpose chatbot in Terminal, please see the MainConsoleApp

For Assistants intended for data analysis, see the CreateAssistants folder

For scripts on processing data files and images, please see the ProcessFiles folder

openai-sdk-scripts/
│
├── CreateAssistant/
│   ├── assistant-class.py
│   ├── code-interpreter.py
│   ├── digital-assistant.py
│
├── MainConsoleApp/
│   ├── app.py
│
├── CreateAssistant/
│   ├── assistant-class.py
│   ├── code-interpreter.py
│   ├── digital-assistant.py
│
├── openai-env/
│
├── LICENSE
├── README.md

Installation

  • pip install openai
  • pip install logging

Virtual Environment Setup (Optional, but a step I took in this project)

python -m venv openai-env

Activation

  • Windows: openai-env\Scripts\activate
  • MacOS or Unix: source openai-env/bin/activate

API Key Setup

Follow the steps in the Quickstart Guide to set up your API key.

Documentation

Running the Console App

Open terminal and run the following:

python app.py

About

Python-based program that uses OpenAI's GPT-4 model. Allows users to have conversations in Terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages