Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miscup/chatgptcli

The command line wrapper for ChatGPT. A Python wrapper for OpenAI's ChatGPT API - chatgptcli
https://github.com/miscup/chatgptcli

chatgpt chatgpt-api cli openai python

Last synced: about 1 month ago
JSON representation

The command line wrapper for ChatGPT. A Python wrapper for OpenAI's ChatGPT API - chatgptcli

Awesome Lists containing this project

README

        

# chatgptcli
The command line wrapper for ChatGPT

[ChatGPT-PyPi](https://pypi.org/project/chatgptcli/)

## Install
```
pip install chatgptcli --upgrade
```

## Terminal Chat
```python
from chatgptcli import ChatGPT

ChatGPT(email="email", password="password").chat()
```

## Ask a Question
```python
from chatgptcli import ChatGPT

chatGPT = ChatGPT(email="email", password="password")
print(chatGPT.ask("Write a rap song"))
```