diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-03 09:15:58 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-03-03 09:15:58 +0800 |
| commit | 9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e (patch) | |
| tree | 33dde22e55191cd5c1d91fabea1cea307f65efab /README.md | |
| parent | b516080a661d9e6cba5cd47fa79dc62ac086f2e5 (diff) | |
| download | aichat-9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e.tar.gz | |
feat: support save chat messages to file
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,7 @@ When starting for the first time, aichat will prompt to set `api_key`, after set ```toml api_key = "<YOUR SECRET API KEY>" # Request via https://platform.openai.com/account/api-keys temperature = 1.0 # optional, see https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature +save_path = "/tmp/AICHAT.md" # optional, Specify a file path to save chat messages to proxy = "socks5://127.0.0.1:1080" # optional, set proxy server. e.g. http://127.0.0.1:8080 or socks5://127.0.0.1:1080 ``` @@ -53,6 +54,7 @@ In interactive mode, we do this: ``` 〉.role javascript-console + 〉console.log("Hello world") ``` |
