All Products
Search
Document Center

Chat App Message Service:Sentiment/Topic Classification

Last Updated:Mar 10, 2026

This topic describes how to configure the Sentiment/Topic Classification component, which assigns custom emotion or topic tags to text and must be used in conjunction with Alibaba Cloud Model Studio.

Component information

Icon

Name

情感主题分类@1x

Sentiment/Topic Classification

Preparations

Go to the canvas page of an existing flow or a new flow.

  • Go to the canvas page of an existing flow.

    Log on to the . Choose Chat Flow > Flow Management. Click the name of the flow that you want to edit. The canvas page of the flow appears.

    image

  • Create a new flow to go to the canvas page. For more information, see Create a flow.

Procedure

  1. Click the Sentiment/Topic Classification icon on the canvas to view the configurations on the right.

    image

  2. Configure the component. For more information, see Parameters.

  3. Click Save in the upper-right corner. In the message that appears, click Save.

    image

Parameters

Parameter

Description

Example

Model Settings

An API key is required. For more information, see Make your first API call to Qwen.

image

Input Settings

Enter the input variable or text.

image

Classification Settings

Customize multiple emotion categories or use the default classifications, and configure different flow settings through multi-branch configurations.

image

Multi-branching Settings

Choose whether to enable multi-branch configurations. After enabling, you can add components to different emotion branches on the canvas for specific configurations.

image

Output Settings

Output the detected emotion as a variable.

image