thingtalk icon indicating copy to clipboard operation
thingtalk copied to clipboard

Optimization for boolean questions

Open sileix opened this issue 2 years ago • 1 comments

the booleanExpression in the boolean questions is currently not optimized. E..g, in the case when it's statically true/false, we could simply use [true]/[false] to avoid the computation, or even avoid running the query entirely.

sileix avatar Jul 19 '21 19:07 sileix

Yeah you'll want to add the filter optimization right away because it also normalizes the filters and sorts it by parameter name, which you need for training.

gcampax avatar Jul 20 '21 01:07 gcampax