feat(examples): Add func call support (#168)
Some works about simple-chat. 1. fix some bugs. 2. add func call optional. Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
787cc015b7
commit
6de444c62f
1 changed files with 160 additions and 108 deletions
|
|
@ -9,7 +9,7 @@ After configuring the config file, you can run the example:
|
|||
```bash
|
||||
./simple_chat --help # show help info
|
||||
./simple_chat config > config.toml # output default config to file
|
||||
./simple_chat chat --config my_config.toml # start chat with specified config
|
||||
./simple_chat chat --config my_config.toml --model gpt-4o-mini # start chat with specified model
|
||||
./simple_chat --config my_config.toml chat # start chat with specified config
|
||||
./simple_chat --config my_config.toml --model gpt-4o-mini chat # start chat with specified model
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue