diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-03 09:38:53 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-03-03 10:11:23 +0800 |
| commit | 627a2d08ce0932241a21a281712e58427c15d478 (patch) | |
| tree | bf7059a6c9c8e0df939888ba37dc4759640f30b7 /.aichat.example.toml | |
| parent | 9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e (diff) | |
| download | aichat-627a2d08ce0932241a21a281712e58427c15d478.tar.gz | |
refactor: config path and config data
use yaml other than toml for configuration.
use $AICHAT_CONFIG_DIR other than $HOME for config dir.
split roles to seperate config file
Diffstat (limited to '.aichat.example.toml')
| -rw-r--r-- | .aichat.example.toml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/.aichat.example.toml b/.aichat.example.toml deleted file mode 100644 index 0cb5910..0000000 --- a/.aichat.example.toml +++ /dev/null @@ -1,7 +0,0 @@ -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 -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 - -[[roles]] -name = "javascript-console" -prompt = "I want you to act as a javascript console. I will type commands and you will reply with what the javascript console should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. do not type commands unless I instruct you to do so. when i need to tell you something in english, i will do so by putting text inside curly brackets {like this}. First sentense will append to prompt:"
\ No newline at end of file |
