docs: Optimize Response data array object indentation for the /messages interface (#19922)
This commit is contained in:
@@ -635,22 +635,22 @@ Chat applications support session persistence, allowing previous chat history to
|
||||
|
||||
### Response
|
||||
- `data` (array[object]) Message list
|
||||
- `id` (string) Message ID
|
||||
- `conversation_id` (string) Conversation ID
|
||||
- `inputs` (object) User input parameters.
|
||||
- `query` (string) User input / question content.
|
||||
- `message_files` (array[object]) Message files
|
||||
- `id` (string) ID
|
||||
- `type` (string) File type, image for images
|
||||
- `url` (string) Preview image URL
|
||||
- `belongs_to` (string) belongs to,user orassistant
|
||||
- `answer` (string) Response message content
|
||||
- `created_at` (timestamp) Creation timestamp, e.g., 1705395332
|
||||
- `feedback` (object) Feedback information
|
||||
- `rating` (string) Upvote as `like` / Downvote as `dislike`
|
||||
- `retriever_resources` (array[RetrieverResource]) Citation and Attribution List
|
||||
- `has_more` (bool) Whether there is a next page
|
||||
- `limit` (int) Number of returned items, if input exceeds system limit, returns system limit amount
|
||||
- `id` (string) Message ID
|
||||
- `conversation_id` (string) Conversation ID
|
||||
- `inputs` (object) User input parameters.
|
||||
- `query` (string) User input / question content.
|
||||
- `message_files` (array[object]) Message files
|
||||
- `id` (string) ID
|
||||
- `type` (string) File type, image for images
|
||||
- `url` (string) Preview image URL
|
||||
- `belongs_to` (string) belongs to,user orassistant
|
||||
- `answer` (string) Response message content
|
||||
- `created_at` (timestamp) Creation timestamp, e.g., 1705395332
|
||||
- `feedback` (object) Feedback information
|
||||
- `rating` (string) Upvote as `like` / Downvote as `dislike`
|
||||
- `retriever_resources` (array[RetrieverResource]) Citation and Attribution List
|
||||
- `has_more` (bool) Whether there is a next page
|
||||
- `limit` (int) Number of returned items, if input exceeds system limit, returns system limit amount
|
||||
|
||||
</Col>
|
||||
<Col sticky>
|
||||
|
||||
Reference in New Issue
Block a user