genie-toolkit icon indicating copy to clipboard operation
genie-toolkit copied to clipboard

Heuristics for slot-filling measures & currencies

Open gcampax opened this issue 4 years ago • 1 comments

If the dialog agent asks for a currency or measure and the user provides a number, we should heuristically convert it. Potentially, this could include a translatable annotation #_[default_unit] associated with the parameter indicating the default unit to use (which would be locale-dependent).

gcampax avatar Jul 11 '19 22:07 gcampax

This issue was transferred from almond-dialog-agent. It should be implemented in terms of templates: we change the templates such that filters and imprecise answers can use numbers where measurements are expected, and generate the right measurement code in the neural network.

gcampax avatar Jul 20 '20 18:07 gcampax