@@ -61,6 +61,8 @@ chatblade -l can we make a gif instead from 00:22:01 to 00:22:04
6161
6262By default gpt-3.5 is used, you can switch at any point to 4 by using ` -c 4 `
6363
64+ or you can pass any arbitrary full model name, eg ` -c gpt-3.5-turbo-16k `
65+
6466#### Chatting interactively
6567
6668If you would prefer to chat interactively instead just use ` chatblade -i ` .
@@ -221,38 +223,37 @@ chatblade can be used with an Azure OpenAI endpoint, in which case in addition t
221223### Help
222224
223225```
224- usage: Chatblade [-h] [--openai-api-key key] [--temperature t] [-c {3.5,4}] [-i] [-s] [-t] [-p name] [-e] [-r] [-n] [-o] [--theme theme] [-l] [-S sess] [--session-list]
225- [--session-path] [--session-dump] [--session-delete] [--session-rename newsess]
226- [query ...]
226+ usage: Chatblade [-h] [--openai-api-key key] [--temperature t] [-c CHAT_GPT] [-i] [-s] [-t] [-p name] [-e] [-r] [-n] [-o] [--theme theme] [-l] [-S sess] [--session-list]
227227
228228a CLI Swiss Army Knife for ChatGPT
229229
230230positional arguments:
231- query Query to send to chat GPT
231+ query Query to send to chat GPT
232232
233233options:
234- -h, --help show this help message and exit
235- --openai-api-key key the OpenAI API key can also be set as env variable OPENAI_API_KEY
236- --temperature t temperature (openai setting)
237- -c {3.5,4}, --chat-gpt {3.5,4} chat GPT model
238- -i, --interactive start an interactive chat session. This will implicitly continue the conversation
239- -s, --stream Stream the incoming text to the terminal
240- -t, --tokens display what *would* be sent, how many tokens, and estimated costs
241- -p name, --prompt-file name prompt name - will load the prompt with that name at ~/.config/chatblade/name or a path to a file
234+ -h, --help show this help message and exit
235+ --openai-api-key key the OpenAI API key can also be set as env variable OPENAI_API_KEY
236+ --temperature t temperature (openai setting)
237+ -c CHAT_GPT, --chat-gpt CHAT_GPT
238+ chat GPT model 3.5/4 shorthand or full qualified model name, can also be set via env variable OPENAI_API_MODEL
239+ -i, --interactive start an interactive chat session. This will implicitly continue the conversation
240+ -s, --stream Stream the incoming text to the terminal
241+ -t, --tokens display what *would* be sent, how many tokens, and estimated costs
242+ -p name, --prompt-file name prompt name - will load the prompt with that name at ~/.config/chatblade/name or a path to a file
242243
243244result formatting options:
244- -e, --extract extract content from response if possible (either json or code block)
245- -r, --raw print session as pure text, don't pretty print or format
246- -n, --no-format do not add pretty print formatting to output
247- -o, --only Only display the response, omit query
248- --theme theme Set the theme for syntax highlighting see https://pygments.org/styles/, can also be set with CHATBLADE_THEME
245+ -e, --extract extract content from response if possible (either json or code block)
246+ -r, --raw print session as pure text, don't pretty print or format
247+ -n, --no-format do not add pretty print formatting to output
248+ -o, --only Only display the response, omit query
249+ --theme theme Set the theme for syntax highlighting see https://pygments.org/styles/, can also be set with CHATBLADE_THEME
249250
250251session options:
251- -l, --last alias for '-S last', the default session if none is specified
252- -S sess, --session sess initiate or continue named session
253- --session-list list sessions
254- --session-path show path to session file
255- --session-dump dump session to stdout
256- --session-delete delete session
257- --session-rename newsess rename session
252+ -l, --last alias for '-S last', the default session if none is specified
253+ -S sess, --session sess initiate or continue named session
254+ --session-list list sessions
255+ --session-path show path to session file
256+ --session-dump dump session to stdout
257+ --session-delete delete session
258+ --session-rename newsess rename session
258259```
0 commit comments