11 lines
355 B
Plaintext
11 lines
355 B
Plaintext
Talk to ChatGPT without a browser.
|
|
|
|
Requirements:
|
|
* python3
|
|
* python3-openai (See: https://pypi.org/project/openai/)
|
|
|
|
Usage:
|
|
* Put your OpenAI API key into the environment variable OPENAI_API_KEY or the file $USER/.config/me.fier.simpleGPT/api_key.txt (Linux) / %appdata%\me.fier.simpleGPT/api_key.txt (Windows)
|
|
|
|
Syntax: ./simpleGPT <text editor> <topic>
|