Files
DotNetCore.SKIT.FlurlHttpCl…/test/SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests/ModelSamples/Intent/Config/IntentConfigSaveRequest.json
2021-10-08 18:39:11 +08:00

125 lines
5.2 KiB
JSON

{
"intent_id": 9617433,
"skill_id": 1549251,
"slots": [
{
"name": "城市",
"dicts": [
"建筑",
"公路"
],
"keep_ask": true,
"ask_content": [
"建筑1",
"公路1"
]
}
],
"pre": [
{
"skill": "音乐",
"intent": "点播"
}
],
"next": [
{
"skill": "天气",
"intent": "询问"
}
],
"keep_ask": true,
"keep_ask_num": 10,
"answer_config_type": 4,
"dynamic_ask_answer_config": {
"api": "_dynamic_list_selection_{}",
"question": "AskAnswerConfig Question",
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 3,
"answer": "",
"ask_answer_config": {
"api": "_bot_ask_{}",
"question": "AskAnswerConfig Question",
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 2,
"answer": "",
"ask_slot_answer_config": {
"api": "_bot_getinfo_{}",
"arguments": [
{
"name": "",
"slot": "Slot",
"ask_content": [
"111",
"222"
]
}
],
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 1,
"answer": "",
"api_answer_config": {
"api": "_http_service_{}",
"need_confirm": true,
"need_confirm_response": "城市好啊",
"http_method": "get",
"http_url": "HttpUrl111",
"arguments": {
"input": [
{
"name": "Input Name",
"input": true,
"desc": "Input desc",
"slot": "Input Slot",
"default_value": "defa",
"ask_content": [
"ask"
]
}
],
"output": [
{
"name": "Output Name",
"input": false,
"desc": "desc",
"slot": "Output Slot",
"default_value": ""
}
]
},
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 0,
"answer": "",
"normal_answer_config": {
"merge_answer": true,
"answer": [
{
"content": "我在哪"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}