Table of Contents
Template engine
Konverze z dialogovych aktu do stringu, ciste pravidlova.
Dialogove akty
Druhy:
- ack - “Ok” - back channel
- affirm - simple “Yes”
- apology - apology for misunderstanding
- bye - end of a dialogue – simple “Goodbye”
- confirm - user tries to confirm some information
- deny - user denies some information
- hangup - the user hangs up
- hello - start of a dialogue – simple “Hi”
- help - request for help
- inform - user provide some information or constraint
- negate - simple “No”
- null - silence, empty sentence, something that is not possible to interpret, does nothing
- repeat - request to repeat the last utterance
- reqalts - ask for alternatives
- reqmore - ask for more details
- request - user requests some information
- restart - request to restart
- select - user or the system wants the other party to select between two values for one slot
- thankyou - simply thank you
Nektere muzou mit promenne, name:value. Navic muzou existovat i sjednoceni.
Schema
vnejsi promenne (vyrecnost etc.) `v dialogovy akt -> model -> string / strom - >>>> surface realization ^ ^ parser dat. formatu--' \ YAML `-- inference JSON (spojovani, zamlcovani) Python code symbolic strings
Mapa aktu (model) - reprezentace
Tuple:
- input – seznam dialogovych aktu, pro kazdy:
- typ aktu (string)
- parametry (dictionary – name:value)
- output – cokoli, cemu bude rozumet surface realizator, ten to musi dostat spolu s promennymi. Vzdy se zas bude jednat o seznam, ne nutne stejne dlouhy jako predtim.
- stringy:
The @entity is $entity.
- stromy: Nejak vkladat promenne do stromu