user guide

Updated at:

This topic describes how to configure and use the Tongyi Tingwu – Car Buyer Customer Portrait Agent.

Preparations

Activate the Tongyi Tingwu Agent service.

NoteAfter activation, you can use all Tongyi Tingwu Agent services on Alibaba Cloud Model Studio.

1. Create Application

Click the Create Application button in the middle or upper-right corner of the console page to create an application. You can create multiple applications.

1

2. Debug Configuration

After you complete the debug configuration, you can test the results multiple times. Once you confirm that the results meet your expectations, publish the application and refer to API Access to implement calls in your application.

1. Provide Content for Insight Analysis

2

Content Source

Choose one of the following methods to input content:

  • Audio files: Supports audio files in MP3, WAV, M4A, WMA, AAC, OGG, AMR, FLAC, and AIFF formats, and video files in MP4, WMV, M4V, FLV, RMVB, DAT, MOV, MKV, WebM, AVI, MPEG, 3GP, and OGG formats. The file size must not exceed 6 GB.

  • Tongyi Tingwu Task: Enter the Task ID of a previously completed Tongyi Tingwu Agent transcription task. This saves speech-to-text costs.

    NoteAfter the task is created successfully, the system returns the TaskID field in the response.

  • Dialogue Content: Enter dialogue content text in the specified format. This also saves speech-to-text costs.

Example 1:
Speaker 1: Dialogue content.
Speaker 2: Dialogue content.
Example 2:
Salesperson: Dialogue content.
Customer: Dialogue content.

Transcription Model

Select a transcription model only when the content source is Audio File:

  • Automotive Domain Model (Chinese, English, Cantonese)
  • paraformer-v2 (Chinese, English, Japanese, Korean, Cantonese)
  • paraformer-8k-v2 (Chinese)
  • Education Domain Model (Chinese, English)

Audio Type

Select an audio type only when the content source is Audio File:

  • Phone recording or 16 kHz or higher mono channel
  • 16 kHz or higher multi-channel (recorded by in-car devices)

2. Define Customer Portrait Rules

3

Insight Model

The following models are supported:

  • ccai-pro (Default, enhanced content understanding and instruction following based on qwen-plus, best performance)
  • qwen-plus
  • qwq

Scenario Description

Enter the brand name for insight analysis in the "Enter brand name" field.

Analysis Results

Check the customer portrait analysis result dimensions required for this debug session:

  • Test Drive Intent Score
  • Sales Lead Score
  • One-sentence Customer Portrait
  • Detailed Customer Focus Point Analysis (Required)

Focus Points

  • Default analysis items: 15 categories and 62 items (covering vehicle information, user experience, product configuration, vehicle usage costs, etc.)
  • Custom analysis items (up to 100 items): Add insight analysis focus points that better match your business scenarios. When adding, enter the analysis item name and analysis standard.

Role Settings

The system provides four default roles: Customer, Salesperson, Navigation, and In-car Assistant. You can customize, edit, modify, delete, or create new roles. Currently, you can create up to 5 roles. Note that the Customer and Salesperson roles cannot be deleted by default.

  • Customer: Asks questions about vehicles, expresses usage feelings, inquires about model information and prices, etc.
  • Salesperson: Introduces different vehicle configurations, performance and technology, comfort and convenience, and answers customer questions, etc.
  • Navigation: Announces driving routes, such as "turn left at the next intersection" or "go straight at the next traffic light".
  • In-car Assistant: Responds to in-car occupant commands, such as "ventilation turned on for you", "air conditioner turned on", "music turned off".

NoteThe UI-based application configuration takes effect for the API. You can also update parameters in the API to override the UI application configuration.

After completing the above configurations, click the Analyze Now button to debug (Refer to Step 3. API Call Configuration only when invoking the API).

To view the Debug Effect and Test Records, see Test the Effect.

3. API Call Configuration

4

Callback Method

NoteFor callback method settings, see How to Get Asynchronous Task Results Through Callbacks.

  • HTTP POST protocol: Enter the corresponding URL. Tongyi Tingwu sends a POST request to the configured HTTP URL. If the returned HTTP status is 200, the check passes.
  • No callback (active polling): If you choose not to set a callback and perform active polling yourself, use the Agent task polling API: getTask. By default, the QPS for polling per account is 100.
  • EventBridge: Processing results are sent to your service according to the default configuration of the EventBridge Beijing region (You need to activate Alibaba Cloud EventBridge in advance).

After the server receives the callback message and returns an HTTP status code of 200, the application project can be created successfully. The message format is as follows:

{
    "output": {
        "transcriptionPath": "https://***.oss-cn-hangzhou.aliyuncs.com/***",
        "status": 0
    },
    "requestId": "***",
    "taskInfo": {
        "dataId": "***",
        "userSpaceId": "llm-***",
        "appId": "***",
        "model": "tingwu-***",
        "userId": "***"
    }
}

Application Name

Copy or modify the application name here.

Application ID

View or copy the application ID here.

Application Description

Add the application description here.

3. Test the Effect

After clicking the Analyze Now button, wait a moment. Then, view the dialogue content and analysis results.

5

Dialogue Content

  • If the content source is Audio files or Tongyi Tingwu tasks, the dialogue content display box shows the corresponding audio/video transcription results and identifies the speaker ID and dialogue timestamp.
  • If the content source is dialogue content text input, the dialogue timestamp information may not be displayed, but this does not affect the insight analysis results.

Analysis Results

In the insight analysis results display box, you can view the Test Drive Intent Score, Sales Lead Score, One-sentence Customer Portrait, and Customer Focus Point Analysis. The Customer Focus Point Analysis shows analysis results for Hit and Not Hit, along with the specific original content that was hit.

Configure analysis items on the left. For details, see Debug Configuration.

Test Drive Intent Score

Sales Lead Score

image

image

One-sentence Customer Portrait

Customer Focus Point Analysis

image

image

Test Records

All debug test results for the current application are saved. Click the Test Records button in the upper-right corner of the console to view them.

The test records list displays multi-dimensional information, including test time, Task ID, task status, transcription model, insight model, dialogue content, insight hit items, and a Details operation button.

image

Click the Details button on the far right of a test record to view the complete and detailed Dialogue Content and Analysis Results.

image

4. Publish Application

Click the Publish button in the upper-right corner of the console, and enter version description information to complete the publication. The application takes effect online immediately after publication.

6

Version Management

After the application is published, view historical versions in Version Management in the upper-right corner of the console. Select a historical version, and click the Overwrite Current Draft button in the lower-right corner. The configuration information of that version is automatically loaded into the current draft.

9

5. API Access

After the application is published, wait a moment. Then, click the API Access button at the top of the console to view the corresponding Java and Python access reference code. Integrate it into your business system.

7

6. Delete Application

In the My Applications list, you can delete an application.

Deletion is irreversible. To avoid affecting your online business, proceed with caution. 8