Support customize model and parameters through a config file in ~/.config/chatgpt.json,
default configuration:
{
"api_key": "sk-xxxxxx",
"endpoint": "https://api.openai.com/v1",
"prompt": "You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible.",
"model": "gpt-3.5-turbo",
"context_length": 6,
"stream": true,
"temperature": 0,
"max_tokens": 1024
}
Closes #22
Support customize model and parameters through a config file in
~/.config/chatgpt.json
, default configuration:TODO: