Corrections. (#4127)

### What problem does this PR solve?


### Type of change

- [x] Documentation Update
This commit is contained in:
Kevin Hu
2024-12-19 18:19:56 +08:00
committed by GitHub
parent 213218a094
commit 8dcf99611b
8 changed files with 9 additions and 9 deletions

View File

@ -2175,7 +2175,7 @@ curl --request POST \
##### Request parameters
- `agent_id`: (*Path parameter*)
The ID of the associated agent assistant.
The ID of the associated agent.
#### Response
@ -2364,7 +2364,7 @@ curl --request POST \
##### Request Parameters
- `agent_id`: (*Path parameter*), `string`
The ID of the associated agent assistant.
The ID of the associated agent.
- `"question"`: (*Body Parameter*), `string`, *Required*
The question to start an AI-powered conversation.
- `"stream"`: (*Body Parameter*), `boolean`

View File

@ -1412,7 +1412,7 @@ Creates a session with the current agent.
- Success: A `Session` object containing the following attributes:
- `id`: `str` The auto-generated unique identifier of the created session.
- `message`: `list[Message]` The messages of the created session assistant. Default: `[{"role": "assistant", "content": "Hi! I am your assistantcan I help you?"}]`
- `agent_id`: `str` The ID of the associated agent assistant.
- `agent_id`: `str` The ID of the associated agent.
- Failure: `Exception`
#### Examples