mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-24 17:36:47 +08:00
Update document about how to retrieve document settting and metatdata (#17356)
This commit is contained in:
@@ -1741,6 +1741,8 @@ Failure:
|
||||
|
||||
Lists documents in a specified dataset.
|
||||
|
||||
To retrieve a specific document's settings and metadata, pass its document ID in the `id` query parameter: `/api/v1/datasets/{dataset_id}/documents?id={document_id}`.
|
||||
|
||||
#### Request
|
||||
|
||||
- Method: GET
|
||||
@@ -4419,7 +4421,7 @@ Failure:
|
||||
### Create session with agent
|
||||
|
||||
:::danger DEPRECATED
|
||||
This method is deprecated and not recommended. You can still call it but be mindful that calling `Converse with agent` will automatically generate a session ID for the associated agent.
|
||||
This method is deprecated and no longer recommended. Use `Converse with agent` (`POST /api/v1/agents/chat/completions`) instead; it automatically creates a session ID for the associated agent when `session_id` is not specified.
|
||||
:::
|
||||
|
||||
**POST** `/api/v1/agents/{agent_id}/sessions`
|
||||
|
||||
Reference in New Issue
Block a user