mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboExperiments.git
synced 2026-06-17 13:25:59 +00:00
107 lines
2.4 KiB
JSON
107 lines
2.4 KiB
JSON
{
|
|
"name": "neo-hub client asr joke flow",
|
|
"session": {
|
|
"hostName": "neo-hub.jibo.com",
|
|
"path": "/listen",
|
|
"kind": "neo-hub-listen",
|
|
"token": "fixture-joke-token"
|
|
},
|
|
"steps": [
|
|
{
|
|
"text": {
|
|
"type": "LISTEN",
|
|
"transID": "fixture-trans-joke",
|
|
"data": {
|
|
"text": "tell me a joke",
|
|
"rules": [
|
|
"wake-word"
|
|
]
|
|
}
|
|
},
|
|
"expectedReplyTypes": [
|
|
"LISTEN",
|
|
"EOS",
|
|
"SKILL_ACTION"
|
|
]
|
|
},
|
|
{
|
|
"text": {
|
|
"type": "CLIENT_ASR",
|
|
"transID": "fixture-trans-joke",
|
|
"data": {
|
|
"text": "tell me a joke"
|
|
}
|
|
},
|
|
"expectedReplyTypes": [
|
|
"LISTEN",
|
|
"EOS",
|
|
"SKILL_ACTION"
|
|
],
|
|
"expectedReplies": [
|
|
{
|
|
"type": "LISTEN",
|
|
"jsonSubset": {
|
|
"type": "LISTEN",
|
|
"transID": "fixture-trans-joke",
|
|
"data": {
|
|
"asr": {
|
|
"text": "tell me a joke"
|
|
},
|
|
"nlu": {
|
|
"intent": "joke",
|
|
"rules": [
|
|
"wake-word"
|
|
]
|
|
},
|
|
"match": {
|
|
"intent": "joke",
|
|
"rule": "wake-word"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "EOS",
|
|
"jsonSubset": {
|
|
"type": "EOS",
|
|
"transID": "fixture-trans-joke",
|
|
"data": {}
|
|
}
|
|
},
|
|
{
|
|
"type": "SKILL_ACTION",
|
|
"delayMs": 75,
|
|
"jsonSubset": {
|
|
"type": "SKILL_ACTION",
|
|
"transID": "fixture-trans-joke",
|
|
"data": {
|
|
"skill": {
|
|
"id": "@be/joke"
|
|
},
|
|
"action": {
|
|
"config": {
|
|
"jcp": {
|
|
"type": "SLIM",
|
|
"config": {
|
|
"play": {
|
|
"meta": {
|
|
"prompt_id": "RUNTIME_PROMPT",
|
|
"prompt_sub_category": "AN",
|
|
"mim_id": "runtime-joke",
|
|
"mim_type": "announcement"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"analytics": {},
|
|
"final": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|