大模型问答调试信息。
接口说明
仅支持新版机器人,只能查询到 90 天内的数据
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AgentKey |
string |
否 |
业务空间 key,不传时访问默认业务空间,key 值在主账号业务管理页面获取 |
ac627989eb4f8a98ed05fd098bbae5_p_beebot_public |
| InstanceId |
string |
是 |
机器人 ID |
chatbot-cn-7QuUfaqMQe |
| MessageId |
string |
是 |
本条会话应答消息的 ID |
396E74B3-D84B-46CE-9E51-91C06AD22E31 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
E3E5C779-A630-45AC-B0F2-A4506A4212F1 |
| MessageId |
string |
本条会话应答消息的 ID |
2828708A-2C7A-1BAE-B810-87DB9DA9C661 |
| Pipeline |
array<object> |
整个问答流程的信息 |
|
|
object |
整个问答流程的信息 |
||
| NodeType |
string |
节点类型,返回值:
|
system_strategy |
| Name |
string |
策略名称:
当 NodeType 为 system_strategy 时,才会有本字段 |
关键词转人工 |
| Input |
any |
调试输入信息 |
用户问句:转人工\n命中规则:[转]人工[客服|服务|坐席] |
| Output |
any |
输出信息 |
commands:{\"sysToAgent\":\"{\\\"skillGroup\\\":\\\"\\\",\\\"ext\\\":\\\"\\\",\\\"toAgentReason\\\":\\\"HitKeywords\\\"}\"}\nresponse:正在为您转接人工客服 |
| AnswerInfo |
object |
||
| MessageBody |
object |
||
| DirectMessageBody |
object |
||
| ContentType |
string |
||
| relatedQuestionList |
array |
||
|
string |
|||
| sentenceList |
array<object> |
||
|
object |
|||
| Content |
string |
||
| ReferNumber |
integer |
||
| TransitionList |
array |
||
|
string |
|||
| Commands |
any |
||
| AnswerReferenceInfo |
object |
||
| ItemList |
array<object> |
||
|
object |
|||
| Number |
integer |
||
| Title |
string |
||
| Id |
string |
||
| DataSource |
string |
||
| ContentType |
string |
||
| ReferenceExt |
any |
示例
正常返回示例
JSON格式
{
"RequestId": "E3E5C779-A630-45AC-B0F2-A4506A4212F1",
"MessageId": "2828708A-2C7A-1BAE-B810-87DB9DA9C661",
"Pipeline": [
{
"NodeType": "system_strategy",
"Name": "关键词转人工",
"Input": "用户问句:转人工\\n命中规则:[转]人工[客服|服务|坐席]",
"Output": "commands:{\\\"sysToAgent\\\":\\\"{\\\\\\\"skillGroup\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"ext\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"toAgentReason\\\\\\\":\\\\\\\"HitKeywords\\\\\\\"}\\\"}\\nresponse:正在为您转接人工客服"
}
],
"AnswerInfo": {
"MessageBody": {
"DirectMessageBody": {
"ContentType": "",
"relatedQuestionList": [
""
],
"sentenceList": [
{
"Content": "",
"ReferNumber": 0
}
],
"TransitionList": [
""
]
},
"Commands": ""
},
"AnswerReferenceInfo": {
"ItemList": [
{
"Number": 0,
"Title": "",
"Id": "",
"DataSource": "",
"ContentType": "",
"ReferenceExt": ""
}
]
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。