Skip to content

Halzorg/chatgpt-gui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Python Clients

This repository contains Python command-line interface (CLI) and graphical user interface (GUI) clients for OpenAI's ChatGPT. The clients are designed to be simple and easy to use, with no arguments required to run the commands.

Dependencies

The clients depend on the following Python packages:

  • openai: This package is used to interact with the OpenAI API and send requests to the ChatGPT model.

Installation

To install the dependencies, run the following command:

pip install openai

Usage

API key

Expects .api_key file in the repo directory with your OpenAI API key in there. Don't worry to contribute, the filename is in .gitignore already.

CLI Client

To use the CLI client, run the following command:

python cli.py

The CLI client will prompt you to enter your input. The response from ChatGPT will be printed in the console.

You can also enable multiline mode with the -m or --multiline option. In this mode, you can input multiple lines and input "SEND" when you are done.

Quit with either q, x, exit or quit as the input.

Contributing

Contributions are welcome! Please feel free to submit a pull request.

Support

If you encounter any issues or have any questions, please open an issue on GitHub.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%