summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-03 09:15:58 +0800
committersigoden <sigoden@gmail.com>2023-03-03 09:15:58 +0800
commit9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e (patch)
tree33dde22e55191cd5c1d91fabea1cea307f65efab /README.md
parentb516080a661d9e6cba5cd47fa79dc62ac086f2e5 (diff)
downloadaichat-9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e.tar.gz
feat: support save chat messages to file
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index d5405de..d03b3ef 100644
--- a/README.md
+++ b/README.md
@@ -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")
```