Files
JiboExperiments/OpenJibo/src/Jibo.Cloud/node/fixtures/websocket/neo-hub-client-asr-joke.flow.json

107 lines
2.4 KiB
JSON
Raw Normal View History

2026-04-11 21:50:26 -05:00
{
"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"
2026-04-16 07:18:33 -05:00
],
"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
}
}
}
2026-04-11 21:50:26 -05:00
]
}
]
}