Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

input

optionalmultiple allowedvalue required

Specifies an input that is collected for executing an action.

action (%name%) {
collect {
input (%name%) {
type (%type%)
min (%Fmin-cardinality%)
max (%max-cardinality%)
prompt-behavior (%prompt-behavior%)
instantiation-behavior (%instantiation-behavior%)
plan-behavior (%plan-behavior%)
hidden
related-values (%related-value%)
[iterable]
validate {
%validation%
}
default-init {
intent{
goal: %goal%
...
}
}
}
}
}

Example

action (FindShirt) {
type (Search)
collect {
input (size) {
type (Size)
}
}
output (Shirt)
}

Child Keys

type
required
Specifies the input type
default-init
optional
A default value for an input or variable type
default-select
optional
Enables selection rules in your action using the with-rule key and selection learning with the with-learning key
description
optional
Adds text describing the input, which is useful for documenting models
hidden
optional
Hide this input from function implementations
instantiation-behavior[deprecated]
optional
A behavior mode that allows the user to modify instantiated values for the input prompt
iterable
optional
Executes the action multiple times for each value of this input, so the input appears as a single value (not a list) to the function implementation
max
optional
Maximum cardinality of the input (One or Many)
max-preferred
optional
Indicate a max preference for one item
min
optional
Minimum cardinality of the input (Optional or Required)
min-preferred
optional
Indicate a min preference for no items
order
optional
Defines an explicit order in which to collect the inputs
plan-behavior
optional
A behavioral mode that modifies how the planner will attempt to instantiate the input
prompt-behavior
optional
A behavioral mode that modifies how the system will prompt on the input or at a prompt during plan execution time
related-values
optional
Declares how the system treats values of an input planned from different paths in a plan related to the same concept node type
validate
optional
Lists validation rules for an input or variable