mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboExperiments.git
synced 2026-06-16 21:16:28 +00:00
more fixes for testing
This commit is contained in:
@@ -9,4 +9,9 @@ Current fixture groups:
|
||||
- `websocket/`
|
||||
Sanitized Neo-Hub turn-flow examples used to replay `LISTEN`, `CONTEXT`, `CLIENT_NLU`, `CLIENT_ASR`, buffered-audio accumulation, pending/finalize states, and synthetic `EOS` / `SKILL_ACTION` behavior against the .NET implementation.
|
||||
|
||||
Current websocket fixture depth is uneven on purpose:
|
||||
|
||||
- `neo-hub-client-asr-joke.flow.json` now asserts a richer vertical slice than reply types alone. It captures the observed Node-oriented `CLIENT_ASR -> LISTEN -> EOS -> delayed SKILL_ACTION` joke turn with payload-shape expectations for `EOS` and joke `SKILL_ACTION`.
|
||||
- The other websocket fixtures are still mainly sequencing fixtures. They are useful for replay and guardrails, but they should not be read as proof of broader payload parity.
|
||||
|
||||
Expand this folder whenever new robot traffic is captured and cleaned.
|
||||
|
||||
@@ -36,6 +36,70 @@
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user