#获取AI对话详情

接口地址

GET/qiongqiapi/getaidialog.php

参数说明:

编号 参数 必填 说明
1 appid 应用ID
2 appsecret 应用密码=公司密码
3 calltime 呼叫时间,时间格式:2023-02-08 12:12:25
4 zmrh_core_uuid 呼叫的唯一标识

请求示例

http://xxx.xxx.xxx.xxx/qiongqiapi/getaidialog.php?appid=xxx&appsecret=xxx&calltime=2023-02-08 12:12:25&zmrh_core_uuid=xxx

返回信息

{
	"status": "200",
	"msg": "success",
	"data": [{
		"addtime": "2023-02-08 14:10:42",
		"nlu_project_id": "5",
		"recording_files": "http://xx.xx.xx/monitor/xxx-xxx-xxx-xxx-xxx/5/recod/default/2023-02-08/xxx/5_63_55.wav",
		"speak_role": "AI",
		"zmrh_appid": "xx-xx-xxx-xxx-900a7e1ad4d5",
		"zmrh_core_uuid": "api-xx-xx-xxx-xxxx-00163e09d63e",
		"display": "您好,请问是{客户姓名}{性别}吗?",
		"main_id": "63",
		"hangup": "0",
		"t_nlp_time":"120"
	}, {
		"addtime": "2023-02-08 14:10:48",
		"nlu_project_id": "5",
		"recording_files": "http://xxx.xxx.xxx/monitor/xxxx-xxx-xx-xxx-xxxx/5/monitor/2023-02-08/xxxx/0.wav",
		"speak_role": "human",
		"zmrh_appid": "xxx-xxxx-xxx-xxx-900a7e1ad4d5",
		"zmrh_core_uuid": "api-xxx-xxx-xxx-xxx-xxx",
		"display": "嗯,是的。",
		"key_worlds": "嗯/,/是的/。",
		"hit": "是的",
		"count_weight": "1",
		"node_class": "0",
		"intent_label": "已提醒",
		"t_asr":"456",
		"t_record":"2345"
	}]
}

返回参数

编号 参数 说明
1 addtime 添加时间
2 nlu_project_id 话术ID
3 recording_files 录音地址
4 speak_role 角色, AI:机器人 human:用户
5 zmrh_appid appid
6 zmrh_core_uuid 呼叫唯一标识
7 display 内容
8 main_id 节点ID (AI对话独有)
9 hangup 是否挂机 0:否 1:是(AI对话独有)
10 t_nlp_time NLP响应时长,单位毫秒(AI对话独有)
11 key_worlds 分词(用户对话独有)
12 hit 击中分词(用户对话独有)
13 count_weight 权重(用户对话独有)
14 node_class 节点类型(用户对话独有)
15 intent_label 意图标记(用户对话独有)
16 t_asr ASR响应时长,单位毫秒(用户对话独有)
17 t_record 用户录音,单位毫秒(用户对话独有)