Bixby Developer Center

References

default-select

optional

Enables selection rules in your action using the with-rule key and selection learning with the with-learning key.

Note

If you have both selection learning and selection rules in your capsule, Bixby will only use selection rules in cases where selection learning does not make a decision.

Examples

    input (releaseDateTimeExpression) {
description (Filter based on when the movie was released. Can be an interval or a punctual moment.)
type (time.DateTimeExpression)
min (Optional)
max (One)
default-select {
with-rule {
select-first
}
}
}

View e1b0572 on GitHub

      default-select {
with-rule {
select-min {
expression (numberOfAstronauts == 2 ? 0 : 1)
}
}
with-learning {
}
}
}

View a7b23be on GitHub

Child Keys

with-learning
optional
Specifies to use selection learning, and optionally allows you to toggle some selection learning settings
with-rule
optional
Specifies rules to be used for default selections