Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Oct 29, 2023
1 parent 985f8c0 commit 4fae372
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,20 @@ auto_copy: false # Automatically copy the last output to the cli
keybindings: emacs # REPL keybindings, possible values: emacs (default), vi

clients: # Setup AIs
# OpenAI setup instructions: https://platform.openai.com/docs/quickstart
# See https://platform.openai.com/docs/quickstart
- type: openai # OpenAI configuration
api_key: sk-xxx # OpenAI api key, alternative to OPENAI_API_KEY
organization_id: org-xxx # Organization ID. Optional
proxy: socks5://127.0.0.1:1080 # Set proxy server. Optional
connect_timeout: 10 # Set a timeout in seconds for connect to gpt. Optional
# LocalAI setup instructions: https://github.com/go-skynet/LocalAI

# See https://github.com/go-skynet/LocalAI
- type: localai # LocalAI configuration
url: http://localhost:8080/v1/chat/completions # LocalAI api server
api_key: '???' # Api key. alternative to LOCALAI_API_KEY
api_key: xxx # Api key. alternative to LOCALAI_API_KEY
models: # Support models
- name: gpt4all-j
max_tokens: 4096
proxy: socks5://127.0.0.1:1080 # Set proxy server. Optional
connect_timeout: 10 # Set a timeout in seconds for connect to gpt. Optional
```
> You can use `.info` to view the current configuration file path and roles file path.
Expand Down Expand Up @@ -273,10 +272,10 @@ You should run aichat with `-s/--session` or use the `.session` command to start
```
〉.session
temp)1 to 5, odd only 4089
temp)1 to 5, odd only 4089
1, 3, 5

temp)to 7 4070
temp)to 7 4070
1, 3, 5, 7

temp).clear session
Expand Down

0 comments on commit 4fae372

Please sign in to comment.