❯ gptui chat --help
Given a chat conversation, the model will return a chat completion response.
Usage:
gptui chat [flags]
Flags:
-h, --help help for chat
--history string path to conversation history file to restore from
--max-context-length int maximum number of tokens for GPT context (default 1024)
-m, --message string message for the chat input
--model string model to use for chat completion (default "gpt-3.5-turbo")
--stream if set, partial message deltas will be sent, like in ChatGPT (default true)
--system string system message that helps set the behavior of the assistant
Global Flags:
--openai-api-base string OpenAI API endpoint (default "https://api.openai.com/v1")
--openai-api-key string OpenAI API key