AI search vs. chat (#6569)

### What problem does this PR solve?


### Type of change

- [x] Documentation Update
This commit is contained in:
writinwaters
2025-03-26 18:46:34 +08:00
committed by GitHub
parent 24d8ff7425
commit b7d7ad536a
4 changed files with 17 additions and 9 deletions

View File

@ -65,13 +65,13 @@ curl --request POST \
##### Request Parameters
- `model` (*Body parameter*) `string`, *Required*
- `model` (*Body parameter*) `string`, *Required*
The model used to generate the response. The server will parse this automatically, so you can set it to any value for now.
- `messages` (*Body parameter*) `list[object]`, *Required*
- `messages` (*Body parameter*) `list[object]`, *Required*
A list of historical chat messages used to generate the response. This must contain at least one message with the `user` role.
- `stream` (*Body parameter*) `boolean`
- `stream` (*Body parameter*) `boolean`
Whether to receive the response as a stream. Set this to `false` explicitly if you prefer to receive the entire response in one go instead of as a stream.
#### Response