GetTopicSelectionPerspectiveAnalysisTask
Retrieves the result of a topic selection perspective analysis task.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
RAM authorization
The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:
-
Action: The actions can be used in the
Actionelement of RAM permission policy statements to grant permissions to perform the operation. -
API: The API that you can call to perform the action.
-
Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.
-
Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.
- For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the
Resourceelement of the policy. - For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the
Resourceelement of the policy.
- For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the
-
Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.
-
Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.
Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
aimiaobi:GetTopicSelectionPerspectiveAnalysisTask | get | *All Resource
| None | None |
Request syntax
POST HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | The unique identifier of the workspace. For more information, see AgentKey. | xxxxx_p_efm |
| TaskId | string | No | The unique ID of the task. This parameter is optional. The system automatically generates a task ID. If subsequent tasks have the same TaskId, they are considered part of the same conversation. | c9f226b02cca4f42a84c5e955c39dfd2 |
Response elements
Element | Type | Description | Example |
|---|---|---|---|
object | PlainResult | ||
| Code | string | The status code. | NoData |
| Data | object | The business data. | |
| ErrorMessage | string | The error message. | 错误信息 |
| FreshViewPointsResult | object | The analysis result of novel topic selection perspectives. | |
| Attitudes | array<object> | A list of viewpoints for novel topic selection perspectives. | |
array<object> | |||
| Attitude | string | The current viewpoint. | 当前观点 |
| AttitudeType | string | The type of the viewpoint. | 观点类型 |
| Ratio | string | The proportion of the current viewpoint. | 当前观点占比 |
| ViewPoints | array<object> | A list of topic selection perspectives. | |
array<object> | |||
| Outlines | array<object> | The outline. | |
object | A list of outlines. | ||
| Outline | string | The outline. | 大纲 |
| Summary | string | The summary of the outline. | 大纲摘要 |
| Point | string | The generated perspective. | 视角 |
| Summary | string | The summary. | 摘要 |
| HotViewPointsResult | object | The analysis result of hot topic selection perspectives. | |
| Attitudes | array<object> | A list of viewpoints for hot topic selection perspectives. | |
array<object> | A list of viewpoints for hot topic selection perspectives. | ||
| Attitude | string | The current viewpoint. | 当前观点 |
| AttitudeType | string | The type of the viewpoint. | 观点类型 |
| News | array<object> | A list of related news. | |
object | A news object. | ||
| Content | string | The news content. | Content |
| DocId | string | The custom unique ID of the document. | 9957175DEDCF49C5ACF7A956B4FD67B2 |
| DocUuid | string | The unique ID of the article. | "123456" |
| ImageUrls | array | The URLs of the images in the article. | |
string | The external link to an image in the article. | ||
| Source | string | The source of the news. | 夸克 |
| Summary | string | The summary of the news. | 新闻摘要 |
| Tags | array | The tags. | ["标签1","标签2"] |
string | The tags of the article. | ["标签1","标签2"] | |
| Title | string | The title of the news. | 新闻标题 |
| Topic | string | The topic of the article. | 文章主题 |
| Url | string | The URL of the news. | |
| CreateTime | string | The time when the article was created. | 2024-05-08 02:23:01 |
| PubTime | string | The time when the article was published. | 2024-05-08 02:23:02 |
| Ratio | string | The proportion of the current viewpoint. | 当前观点占比 |
| ViewPoints | array<object> | A list of topic selection perspectives. | |
array<object> | |||
| Outlines | array<object> | The outline. | |
object | An outline object. | ||
| Outline | string | The outline. | 大纲 |
| Summary | string | The summary of the outline. | 大纲摘要 |
| Point | string | The generated perspective. | 视角 |
| Summary | string | The summary. | 摘要 |
| Status | string | The status of the task. Valid values: PENDING, RUNNING, SUCCESSED, SUSPENDED, FAILED, and CANCELED. | SUSPENDED |
| TimedViewPointsResult | object | The analysis result of time-sensitive topic selection perspectives. | |
| Attitudes | array<object> | A list of viewpoints for time-sensitive topic selection perspectives. | |
array<object> | A viewpoint object. | ||
| Attitude | string | The current viewpoint. | 当前观点 |
| AttitudeType | string | The type of the viewpoint. | 观点类型 |
| PubTime | string | The time when the viewpoint was published. | 2024-01-22 10:29 |
| Ratio | string | The proportion of the current viewpoint. | 当前观点占比 |
| Source | string | The source of the news. | 新浪 |
| Title | string | The current viewpoint. This is the same as the news title. | 标题 |
| Url | string | The URL of the news. | |
| ViewPoints | array<object> | A list of topic selection perspectives. | |
array<object> | A perspective object. | ||
| Outlines | array<object> | The outline. | |
object | An outline object. | ||
| Outline | string | The outline. | 大纲 |
| Summary | string | The summary of the outline. | 大纲摘要 |
| Point | string | The generated perspective. | 视角 |
| Summary | string | The summary. | 摘要 |
| Topic | string | The hot spot topic event. | 热点主题事件 |
| TopicSummaryResult | object | The summary of the hot spot topic event. | |
| Summaries | array<object> | A list of summaries. | |
array<object> | A summary object. | ||
| DocList | array<object> | The articles referenced to generate the summary for this title. | |
object | An article object. | ||
| Source | string | The source of the article. | 头条 |
| Title | string | The title of the article. | 标题 |
| Url | string | The URL of the article. | |
| Summary | string | The summary. | 摘要 |
| Title | string | The title. | 标题 |
| WebReviewPointsResult | object | The analysis result of online review topic selection perspectives. | |
| Attitudes | array<object> | A list of viewpoints from online reviews for topic selection. | |
array<object> | |||
| Attitude | string | The current viewpoint. | 当前观点 |
| AttitudeType | string | The type of the viewpoint. | 观点类型 |
| Comments | array<object> | A list of user comments. | |
object | An object. | ||
| Source | string | The source. | 来源 |
| Text | string | The content. | 内容 |
| Title | string | The title. | 标题 |
| Url | string | The URL where the comment is located. | 当前所属的URL |
| Username | string | The username. | 用户名 |
| Ratio | string | The proportion of the current viewpoint. | 当前观点占比 |
| ViewPoints | array<object> | A list of topic selection perspectives. | |
array<object> | |||
| Outlines | array<object> | The outline. | |
object | An outline object. | ||
| Outline | string | The outline. | 大纲 |
| Summary | string | The summary of the outline. | 大纲摘要 |
| Point | string | The generated perspective. | 视角 |
| Summary | string | The summary. | 摘要 |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error description. | success |
| RequestId | string | The unique ID of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success | boolean | Indicates whether the request was successful. A value of true indicates success. A value of false indicates failure. | true |
Examples
Success response
JSON format
{
"Code": "NoData",
"Data": {
"ErrorMessage": "错误信息",
"FreshViewPointsResult": {
"Attitudes": [
{
"Attitude": "当前观点",
"AttitudeType": "观点类型",
"Ratio": "当前观点占比",
"ViewPoints": [
{
"Outlines": [
{
"Outline": "大纲",
"Summary": "大纲摘要"
}
],
"Point": "视角",
"Summary": "摘要"
}
]
}
]
},
"HotViewPointsResult": {
"Attitudes": [
{
"Attitude": "当前观点",
"AttitudeType": "观点类型",
"News": [
{
"Content": "Content",
"DocId": "9957175DEDCF49C5ACF7A956B4FD67B2",
"DocUuid": "\"123456\"",
"ImageUrls": [
"https://www.example.com/aaa.png"
],
"Source": "夸克",
"Summary": "新闻摘要",
"Tags": [
"[\"标签1\",\"标签2\"]"
],
"Title": "新闻标题",
"Topic": "文章主题",
"Url": "http://www.example.com",
"CreateTime": "2024-05-08 02:23:01",
"PubTime": "2024-05-08 02:23:02"
}
],
"Ratio": "当前观点占比",
"ViewPoints": [
{
"Outlines": [
{
"Outline": "大纲",
"Summary": "大纲摘要"
}
],
"Point": "视角",
"Summary": "摘要"
}
]
}
]
},
"Status": "SUSPENDED",
"TimedViewPointsResult": {
"Attitudes": [
{
"Attitude": "当前观点",
"AttitudeType": "观点类型",
"PubTime": "2024-01-22 10:29",
"Ratio": "当前观点占比",
"Source": "新浪",
"Title": "标题",
"Url": "http://www.example.com/news/1.html",
"ViewPoints": [
{
"Outlines": [
{
"Outline": "大纲",
"Summary": "大纲摘要"
}
],
"Point": "视角",
"Summary": "摘要"
}
]
}
]
},
"Topic": "热点主题事件",
"TopicSummaryResult": {
"Summaries": [
{
"DocList": [
{
"Source": "头条",
"Title": "标题",
"Url": "http://www.example.com"
}
],
"Summary": "摘要",
"Title": "标题"
}
]
},
"WebReviewPointsResult": {
"Attitudes": [
{
"Attitude": "当前观点",
"AttitudeType": "观点类型",
"Comments": [
{
"Source": "来源",
"Text": "内容",
"Title": "标题",
"Url": "当前所属的URL",
"Username": "用户名"
}
],
"Ratio": "当前观点占比",
"ViewPoints": [
{
"Outlines": [
{
"Outline": "大纲",
"Summary": "大纲摘要"
}
],
"Point": "视角",
"Summary": "摘要"
}
]
}
]
}
},
"HttpStatusCode": 200,
"Message": "success",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.