liusheng
2025-04-15 ba69dcfe19d7718449f45b3aba8e9fc75ed93025
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package com.smartor.domain.robot.back;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
public class RobotAIDialogBack {
    @ApiModelProperty(value = "本次通话交互信息的序号 0-n")
    private String package_id;
 
    @ApiModelProperty(value = "授权 id")
    private String app_id;
 
    @ApiModelProperty(value = "接入商自定义业务 uuid,bs_uuid 相同为同一次呼叫的消息")
    private String bs_uuid;
 
    @ApiModelProperty(value = "通话 uuid")
    private String call_uuid;
 
    @ApiModelProperty(value = "呼叫方向:1 呼入,2 呼出")
    private String call_direction;
 
    @ApiModelProperty(value = "节点类型:1")
    private String task_type;
 
    /**
     * 问题的类型:
     * 0:只放音,无问题
     * 1:常规问题,不作为判断意向的标准
     * 2:业务问题,作为判断意向的标准
     */
    @ApiModelProperty(value = "问题的类型")
    private String question_type;
 
    @ApiModelProperty(value = "节点编号")
    private String task_id;
 
    /**
     * 节点提示音:语音或文本文件或混合,如:bye.wav;再见
     */
    @ApiModelProperty(value = "节点提示音")
    private String task_voc;
 
    @ApiModelProperty(value = "节点描述")
    private String task_desc;
 
    @ApiModelProperty(value = "放音是否允许打断:true 允许打断,false 不允许打断")
    private String interrupt;
 
    @ApiModelProperty(value = "tts 文本对应的语音合成文件路径+文件名")
    private String ai_audio;
 
    @ApiModelProperty(value = "tts 文本")
    private String ai_tts;
 
    @ApiModelProperty(value = "该模板第一个节点开始的日期,防止跨天文件夹对应不上")
    private String date_time;
 
    @ApiModelProperty(value = "-1 无匹配处理分支,-2 无声处理分支,-3 通用库有匹配处理分支,其他分支定义:1-n")
    private String task_switch_type;
 
    @ApiModelProperty(value = "通用库有返回结果则为通用库名称,否则为”")
    private String general_template_name;
 
    @ApiModelProperty(value = "处理分支 id")
    private String switch_id;
 
    @ApiModelProperty(value = "处理分支提示音")
    private String switch_voc;
 
    @ApiModelProperty(value = "处理分支描述")
    private String switch_desc;
 
    @ApiModelProperty(value = "用户回答的文件相对路径如")
    private String asr_audio;
 
    @ApiModelProperty(value = "用户回答的语音识别结果")
    private String asr_result;
 
    @ApiModelProperty(value = "用户回答的语音长度")
    private String asr_audio_len;
 
    @ApiModelProperty(value = "asr 识别所花的时长单位:毫秒")
    private String asr_duration_ms;
 
    @ApiModelProperty(value = "用户意图名称")
    private String intention_name;
 
    @ApiModelProperty(value = "用户回答的意图值")
    private String intention_value;
 
    @ApiModelProperty(value = "节点内跳转的下一个处理分支的 id 或-10 或其他任务节点的 task_id")
    private String next_switch_id;
 
    @ApiModelProperty(value = "执行跳转的下一个节点的 id")
    private String next_task_id;
 
    @ApiModelProperty(value = "time_stamp 对应的时间")
    private String time;
 
    @ApiModelProperty(value = "时间戳,微秒级")
    private String time_stamp;
 
}