Generate an outline-style summary for multiple documents, videos, or URLs. The summary includes a consolidated overview and key points. This operation supports multiple input and output languages.
Try it out
You can call this operation in OpenAPI Explorer without calculating a signature. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Try it out
Authorization information
The following table describes the authorization information for this API operation. You can use this information in the Action element of a RAM policy statement to grant a RAM user or RAM role permission to call the operation. The columns are described as follows:
- Action: a specific permission.
- Access level: the access level of an action. Valid values: Write, Read, and List.
-
Resource type: the types of resources for which the action supports authorization:
- Required resource types are marked with an asterisk (*).
- Actions that do not support resource-level authorization use
All resources.
- Condition key: a condition key defined by the cloud service.
- Dependent action: an additional permission required to perform the action. The caller must also have permission to perform the dependent action.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:RunMultiDocIntroduction | get | *All resources * |
| None |
Request syntax
Request parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The unique ID of the Alibaba Cloud Model Studio workspace. To get this ID, see Workspace ID | llm-2setzb9x4ewsd |
| DocIds | array | Yes | Array of document IDs. | |
| string | Yes | Document ID. | 10022 | |
| SessionId | string | Yes | The conversation ID. | 75bf82fa-b71b-45d7-ae40-0b00e496cd9e |
| SummaryPrompt | string | No | The custom prompt for the summary. | Keep it concise |
| KeyPointPrompt | string | No | The custom prompt for key points. | Keep it concise |
| ModelName | string | No | The user-defined model name. | quanmiao-max、quanmiao-plus |
Response parameters
| Name | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Header | object | The response header. | |
| ErrorCode | string | The error code. | 200 |
| ErrorMessage | string | The error message. | Message does not exist. |
| Event | string | The SSE event. | finished |
| EventInfo | string | The event description. | Model generation event |
| SessionId | string | The session ID. | 92e16ccb-92b6-4894-abbf-fc6e2929a0df |
| TaskId | string | The task ID. | b057f2fa-2277-477b-babf-cbc062307828 |
| TraceId | string | The end-to-end trace ID. | 46e5c2b5-0877-4f09-bd91-ab0cf314e48b |
| Payload | object | The response body. | |
| Output | object | The output. | |
| Summary | string | The outline summary. | The outline summary content. |
| KeyPoints | array<object> | Key point information. | |
| KeyPoints | object | Key point information. | |
| KeyPoint | string | Key point information | Key point information |
| Source | string | The information source. | Information source |
| Usage | object | The token usage. | |
| InputTokens | long | The number of input tokens. | 65 |
| OutputTokens | long | The number of output tokens. | 100 |
| TotalTokens | long | The total number of tokens. | 165 |
Examples
Sample success response
JSON format
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | You are not authorized to perform this action. | Check the value of workspaceId. |