Skip to main content

RunMultiDocIntroduction

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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:RunMultiDocIntroductionget
*All resources
*
    None
None

Request syntax

POST /miaodu/stream/runMultiDocIntroduction HTTP/1.1

Request parameters

NameTypeRequiredDescriptionExample
WorkspaceIdstringYes

The unique ID of the Alibaba Cloud Model Studio workspace. To get this ID, see Workspace ID

llm-2setzb9x4ewsd
DocIdsarrayYes

Array of document IDs.

stringYes

Document ID.

10022
SessionIdstringYes

The conversation ID.

75bf82fa-b71b-45d7-ae40-0b00e496cd9e
SummaryPromptstringNo

The custom prompt for the summary.

Keep it concise
KeyPointPromptstringNo

The custom prompt for key points.

Keep it concise
ModelNamestringNo

The user-defined model name.

quanmiao-max、quanmiao-plus

Response parameters

NameTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

3f7045e099474ba28ceca1b4eb6d6e21
Headerobject

The response header.

ErrorCodestring

The error code.

200
ErrorMessagestring

The error message.

Message does not exist.
Eventstring

The SSE event.

finished
EventInfostring

The event description.

Model generation event
SessionIdstring

The session ID.

92e16ccb-92b6-4894-abbf-fc6e2929a0df
TaskIdstring

The task ID.

b057f2fa-2277-477b-babf-cbc062307828
TraceIdstring

The end-to-end trace ID.

46e5c2b5-0877-4f09-bd91-ab0cf314e48b
Payloadobject

The response body.

Outputobject

The output.

Summarystring

The outline summary.

The outline summary content.
KeyPointsarray<object>

Key point information.

KeyPointsobject

Key point information.

KeyPointstring

Key point information

Key point information
Sourcestring

The information source.

Information source
Usageobject

The token usage.

InputTokenslong

The number of input tokens.

65
OutputTokenslong

The number of output tokens.

100
TotalTokenslong

The total number of tokens.

165

Examples

Sample success response JSON format
{
  "RequestId": "3f7045e099474ba28ceca1b4eb6d6e21",
  "Header": {
    "ErrorCode": 200,
    "ErrorMessage": "Message does not exist.",
    "Event": "finished",
    "EventInfo": "模型生成事件",
    "SessionId": "92e16ccb-92b6-4894-abbf-fc6e2929a0df",
    "TaskId": "b057f2fa-2277-477b-babf-cbc062307828",
    "TraceId": "46e5c2b5-0877-4f09-bd91-ab0cf314e48b"
  },
  "Payload": {
    "Output": {
      "Summary": "大纲摘要内容",
      "KeyPoints": [
        {
          "KeyPoint": "关键点信息",
          "Source": "信息来源"
        }
      ]
    },
    "Usage": {
      "InputTokens": 65,
      "OutputTokens": 100,
      "TotalTokens": 165
    }
  }
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissionYou are not authorized to perform this action.Check the value of workspaceId.
For more error codes, see Error Center.