Categories:
Configuration of the generic dialog for TV VOD EPG information use case
How the generic dialog must be configured for this use case
Specific configuration
The TV VOD EPG information use case is triggered by the generic dialog v3. For this use case, the required specific configuration is set below:
{
"id": "generic-dialog-v3",
"channelDataVersion": "v3",
"triggerConditions": [
{
"intent": "intent.tv.vod_epg_information",
"settings": {
"locales": {
"error": [
"core:flc.answer.error"
]
},
"payloadType" : "tv",
"functions" : {
"params" : [
"currentIntent",
"persistentData"
],
"algorithm" : "const entityType = currentIntent?.entities?.[0]?.type; switch (entityType) { case 'ent.device_tv': case 'ent.device_mobile': case 'ent.device_phone': persistentData.dialogData.dialogSetting.forcedIntentResult = { name: 'MEDIA.SHEET_TV', entities: [ { type: entityType, entity: currentIntent.entities?.[0]?.entity } ] }; break; default: persistentData.dialogData.dialogSetting.forcedIntentResult = { name: 'MEDIA.SHEET_SECOND_SCREEN', entities: [] }; break; }"
}
}
}
],
"onlyIn": [
"set-top-box"
]
}
Specific values
| Key | Value | Description |
|---|---|---|
| triggerConditions[?].settings.functions.params | String[] | Params for algorithm |
| triggerConditions[?].settings.functions.algorithm | String | Logic to get intentResult by entities |
Last modified May 27, 2025: feat: Update vod_epg_information to intent detection only #AURA-29133 [RTM] (30a5bb26)