./misc/chatgpt-shell-cli, Shell script to use OpenAIs ChatGPT and DALL-E

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.0.20230516, Package name: chatgpt-shell-cli-0.0.20230516, Maintainer: schmonz

A simple, lightweight shell script to use OpenAI's chatGPT and DALL-E
from the terminal without installing python or node.js. The script uses
the official ChatGPT model `gpt-3.5-turbo` with the OpenAI API endpoint
`/chat/completions`. You can also use the new `gpt-4` model, if you
have access.

The script supports the use of all other OpenAI models with the
`completions` endpoint and the `images/generations` endpoint for
generating images.


Master sites:


Version history: (Expand)


CVS history: (Expand)


   2023-06-01 09:04:10 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
chatgpt-shell-cli: update to 0.0.20230516.

two weeks of various minor changes
   2023-05-05 16:04:18 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 20230505. From the changelog:

- Remove broken view count
- Remove sed due to warning, replace with escape function, rename
  variables, autofor>
- Rename to multiline prompt
- formatting
- Keep old OPENAI key name to maintain compatibility with the install
  script, add identation in elif
- Safe escaping using jq
- Refactoring to reduce the use global variables from functions
- Safer quoting
- rename(OPENAI_KEY): OPENAI_API_KEY is standardised across projects
- feature(big-prompt): allow multi-line input during chat mode
- optimize(exit): streamline exit conditions
- add(list_models): Models can be queried via cli argument
- refactor(usage()) Align help output
   2023-04-20 20:40:28 by Amitai Schleier | Files touched by this commit (4)
Log message:
Add chatgpt-shell-cli: Shell script to use OpenAI's ChatGPT and DALL-E

A simple, lightweight shell script to use OpenAI's chatGPT and DALL-E
from the terminal without installing python or node.js. The script uses
the official ChatGPT model `gpt-3.5-turbo` with the OpenAI API endpoint
`/chat/completions`. You can also use the new `gpt-4` model, if you
have access.

The script supports the use of all other OpenAI models with the
`completions` endpoint and the `images/generations` endpoint for
generating images.