Bixby Developer Center

Guides
References

prompt-behavior

optionalvalue optional

A behavioral mode that modifies how the system will prompt on the input or at a prompt during plan execution time.

AlwaysSelection

In this behavioral mode, the user will always be prompted to confirm, supply, or select values. In this mode the system won't try to supply the missing value from context or from Selection Learning.

In this example, the user still needs to confirm the size even when the size is mentioned in the input (e.g. "change size to medium") and user needs to supply a new size if not mentioned in the input (e.g. "change the size").

Example

action (ChangeSize) {
type (UpdateTransaction)
collect {
input (order) {
type (shirt.Order)
min (Required)
}
input (size) {
type (Size)
min (Required)
prompt-behavior (AlwaysSelection)
}
}
output (Order)
}

AlwaysElicitation

In this behavioral mode, the user will always be prompted to supply a value (any value candidates are ignored when constructing the prompt). This prompt-behavior is normally not directly used as a prompt-behavior of an input, but it is useful when authoring an intent for changing an input's existing value.

Default

In this behavioral mode, the user will only be prompted to supply or select values if the minimum cardinality has not been met or the maximum cardinality has been exceeded.