SubmitTagMiningAnalysisTask

Updated at:

Performs tag mining for a lightweight application.

Try it now

You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.

RAM authorization

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. Details are as follows:

  • Action: refers to the specific permission point.

  • Access level: refers to the access level of each operation. Valid values: Write, Read, and List.

  • Resource type: refers to the resource types that support authorization for the operation. Details are as follows:

    • For required resource types, an asterisk (*) is added before them.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition key: refers to the condition keys defined by the cloud service itself.

  • Dependent action: refers to other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.

Action

Access level

Resource type

Condition key

Dependent action

quanmiaolightapp:SubmitTagMiningAnalysisTask

create

*All Resource

*

NoneNone

Request syntax

POST /{workspaceId}/quanmiao/lightapp/submitTagMiningAnalysisTask HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

workspaceId

string

Yes

The unique identifier of the Alibaba Cloud Model Studio workspace. For more information, see Get workspaceId.

llm-xx

Request parameters

Parameter

Type

Required

Description

Example

modelId

string

No

The model ID.

qwen-max

businessType

string

No

The business type.

clueMining

taskDescription

string

No

The task description.

You are given a text data item to analyze. Please label the data according to the tag system.

tags

array<object>

No

A list of tag systems.

object

No

The tag definition.

tagName

string

No

The tag name.

xxxx

tagDefinePrompt

string

No

The prompt for the tag definition.

xxxx

extraInfo

string

No

Additional information.

Additional information

outputFormat

string

No

The output format.

Please return the following JSON format: {"key1":"","key2":""}

url

string

No

The URL of the file to be analyzed. Each item in the file must be separated by a line feed. You must specify either the contents or url parameter.

http://www.example.com/xxxx.txt

contents

array

No

A list of content items to be analyzed. You must specify either the contents or url parameter.

string

No

The content to be analyzed.

xxx

apiKey

string

No

The API key for Alibaba Cloud Model Studio.

batchTask

boolean

No

Response elements

Element

Type

Description

Example

object

The response.

requestId

string

Id of the request

117F5ABE-CF02-5502-9A3F-E56BC9081A64

code

string

The error code.

successful

message

string

The error message.

ok

httpStatusCode

integer

The HTTP status code.

200

success

boolean

Indicates whether the request was successful.

true

data

object

The response for the submitted task.

taskId

string

The task ID.

3feb69ed02d9b1a17d0f1a942675d300

Examples

Success response

JSON format

{
  "requestId": "117F5ABE-CF02-5502-9A3F-E56BC9081A64",
  "code": "successful",
  "message": "ok",
  "httpStatusCode": 200,
  "success": true,
  "data": {
    "taskId": "3feb69ed02d9b1a17d0f1a942675d300"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

403NoPermissionYou are not authorized to perform this action , Please check the assignment of the workspaceId.Check the assignment of the workspaceId.

Visit Error Center to view more error codes.

Change history

For more information, see Change details.