SubmitEnterpriseVocAnalysisTask

Updated at:

Submits a Voice of the Customer (VOC) asynchronous task.

Debug

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

Debug

Authorization information

The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:

  • Action: the specific permission point.

  • Access level: the access level of each action. Valid values: Write, Read, or List.

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

    • For required resource types, an asterisk (*) is added as a prefix.
    • For actions that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.

  • Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.

ActionAccess levelResource typeCondition keyRelated action
aimiaobi:SubmitEnterpriseVocAnalysisTaskget
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

Unique identifier of the Model Studio workspace: for more information, see workspace ID (Workspace ID)

xxxx
FileKeystringNo

The file FileKey

oss://default/bucket-name/materialDocument/tenant_agent/fileName
MaterialTypestringNo

The material type (shortContent: long or short comments or tickets; dialogue: dialogues)

shortContent
ModelIdstringYes

The model ID

qwen-max
ContentTagsarray<object>Yes

The content tags

objectYes

A content tag object

TagNamestringNo

The tag name

PrimaryTag-SecondaryTag
TagValueDefinePromptstringNo

The tag value definition (for a tag mining task, this prompt is a comma-separated list of enumerated values; for a summarization task, it is the summarization prompt)

Yes,No
TagDefinePromptstringNo

The tag definition

PrimaryTag-SecondaryTag
TagTaskTypestringNo

The tag mining task type (single tag: singleTagValue; multiple tags: multiTagValues; summarization: summaryAndOverview; filtering: filter)

singleTagValue
FilterTagsarray<object>No

The filter tag list

objectNo

A filter tag object

TagNamestringNo

The tag name

PrimaryTag-SecondaryTag
TagValueDefinePromptstringNo

The tag value definition (for a tag mining task, this prompt is a comma-separated list of enumerated values; for a summarization task, it is the summarization prompt)

Yes,No
TagDefinePromptstringNo

The tag definition

PrimaryTag-SecondaryTag
TagTypestringNo

The tag mining task type (single tag: singleTagValue; multiple tags: multiTagValues; summarization: summaryAndOverview; filtering: filter)

singleTagValue
PositiveSamplestringNo

The positive sample content

Positive sample
PositiveSampleFileKeystringNo

The file key of the positive sample file

oss://default/bucket-name/path/xxx.xlsx
TaskTypestringNo

The task type: lightAppSass (called from a SaaS page) and sdkBatchTask (SDK batch task)

lightAppSass
Contentsarray<object>No

The list of material content to be mined

objectNo

The material content object to be mined

TextstringNo

The material to be mined

Content text
ExtraInfostringNo

Additional supplementary information provided directly to the large language model

Extra info
ApiKeystringNo

The API key for integration access. For more information, see Get an API key

sk-sdfs2-wewerwe-ere

Response parameters

NameTypeDescriptionExample value
object

PlainResult

Codestring

The status code

NoData
Dataobject

The template validation results

TaskIdstring

The task ID

xxxxx
HttpStatusCodeinteger

The HTTP status code

200
Messagestring

The error message

success
RequestIdstring

The unique request ID

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Whether the request is successful: true indicates success, and false indicates failure

true

Examples

Success response

JSON format

{
  "Code": "NoData",
  "Data": {
    "TaskId": "xxxxx"
  },
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.