ListSearchTaskDialogueDatas
Lists the dialogue data for a search generation task.
Debug
You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information for this API. You can use the Action element in RAM permission policy statements to grant RAM users or RAM roles the permission to call this API. For more information:
-
Action: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. For more information:
- Required resource types are marked with a leading *.
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions before the operation can succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:ListSearchTaskDialogueDatas | list | *All resources * |
| None |
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique identifier of the Alibaba Cloud Model Studio workspace: Get a workspaceId | xxxx |
| Query | string | No | Query conditions. | xx |
| TaskId | string | No | The unique identifier of the task. Note By default, you do not need to specify TaskId. The system automatically generates it. When subsequent tasks use the same TaskId, these tasks belong to the same dialogue group. | xxx |
| OriginalSessionId | string | No | The unique identifier of the historical dialogue: the source of all original materials. | xx |
| SessionId | string | Yes | The unique identifier of the historical dialogue: the source of reference materials. | xx |
| MultimodalSearchType | string | No | The type of search data. | text |
| SearchModel | string | No | The type of search agent. | ClusterGenerate |
| SearchModelDataValue | string | No | The data under the search agent category. | xxx |
| IncludeContent | boolean | No | Indicates whether to include the main content. | true |
| PageNumber | integer | No | The current page number. | 1 |
| PageSize | integer | No | The number of entries per page. Default value: 10. | 10 |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | The response result. | ||
| RealtimeSearch | boolean | Indicates whether real-time search is used. | true |
| SearchType | string | The search type. | realtime |
| Articles | array<object> | The list of articles. | |
| Article | object | The article. | |
| PubTime | string | The publication time. | 2024-11-25 14:25:59 |
| Source | string | The source. | Xinhua News Agency |
| Title | string | The title. | Article title |
| Content | string | The content. | Article content |
| Author | string | The author. | Author |
| Url | string | The URL of the article. | https://www.example.com/aaa.docx |
| Summary | string | The summary of the article. | Article summary |
| DocUuid | string | The unique identifier of the internal document. | xxx |
| DocId | string | The custom unique ID of the document. | Custom unique ID of the document |
| MultimodalMedias | array<object> | The multi-modal information. | |
| MultimodalMedia | object | The multi-modal information. | |
| MediaId | string | The unique identifier of the multi-modal data. | Unique identifier of the multi-modal data |
| MediaType | string | The type of the multi-modal data. | Type of the multi-modal data |
| FileUrl | string | The URL of the image or video file. | URL of the image or video file |
| DocType | string | The document type. | text |
| CategoryUuid | string | The unique identifier of the category. | xx |
| Extend1 | string | Extension field 1. | xx |
| Extend2 | string | Extension field 2. | xx |
| Extend3 | string | Extension field 3. | xx |
| Images | array<object> | The list of images. | |
| Image | object | The image object. | |
| MediaId | string | The unique identifier of the multi-modal data. | Unique identifier of the multi-modal data |
| MediaType | string | The type of the multi-modal data. | Type of the multi-modal data |
| FileUrl | string | The URL of the image or video file. | URL of the image or video file |
| Videos | array<object> | The list of videos. | |
| Video | object | The list of video information. | |
| MediaId | string | The unique identifier of the multi-modal data. | Unique identifier of the multi-modal data |
| MediaType | string | The type of the multi-modal data. | Type of the multi-modal data |
| FileUrl | string | The URL of the image or video file. | URL of the image or video file |
| PageNumber | integer | The current page number. | 1 |
| PageSize | integer | The number of records per page. | 10 |
| TotalCount | integer | The total number of records. | 100 |
| RequestId | string | The unique identifier of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request is successful: true for success and false for failure. | true |
| Code | string | The status code. | NoData |
| Message | string | The error description. | success |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Audios | array<object> | The list of audios. | |
| Audio | object | The audio information. | |
| MediaId | string | The unique identifier of the multi-modal data. | xxxx |
| FileUrl | string | The URL of the image or video file. | http://xxx |
Examples
Success response
JSON format
{
"RealtimeSearch": true,
"SearchType": "realtime",
"Articles": [
{
"PubTime": "2024-11-25 14:25:59",
"Source": "新华社",
"Title": "文章标题",
"Content": "文章内容",
"Author": "作者",
"Url": "https://www.example.com/aaa.docx",
"Summary": "文章摘要",
"DocUuid": "xxx",
"DocId": "文档-自定义的唯一ID",
"MultimodalMedias": [
{
"MediaId": "多模态数据唯一标识",
"MediaType": "多模态数据类型",
"FileUrl": "图片或视频文件地址"
}
],
"DocType": "text",
"CategoryUuid": "xx",
"Extend1": "xx",
"Extend2": "xx",
"Extend3": "xx"
}
],
"Images": [
{
"MediaId": "多模态数据唯一标识",
"MediaType": "多模态数据类型",
"FileUrl": "图片或视频文件地址"
}
],
"Videos": [
{
"MediaId": "多模态数据唯一标识",
"MediaType": "多模态数据类型",
"FileUrl": "图片或视频文件地址"
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true,
"Code": "NoData",
"Message": "success",
"HttpStatusCode": 200,
"Audios": [
{
"MediaId": "xxxx",
"FileUrl": "http://xxx"
}
]
}
Error codes
Visit the Error Center to view more error codes.