Up to [cvs.NetBSD.org] / pkgsrc / misc / chatgpt-shell-cli
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
chatgpt-shell-cli: update to 0.0.20230516. two weeks of various minor changes
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
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.