mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 08:06:48 +08:00
Corrections. (#4127)
### What problem does this PR solve? ### Type of change - [x] Documentation Update
This commit is contained in:
@ -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`
|
||||
|
||||
@ -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 assistant,can 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
|
||||
|
||||
Reference in New Issue
Block a user