One of the input prompt in Bixby is selection prompt and it is useful to select all items and continue with the action in some cases, for example, add all items to cart, send message to all members in a group.
How to ensure NL input "all" works during selection prompt?
The key steps are:
action (CreateListAll) {
description (select all with prompt)
type (Constructor)
collect {
input (itemnames) {
type (Itemname)
min (Optional) max (Many)
// prompt-behavior (AlwaysElicitation)
}
}
output (List)
}
action-endpoint (CreateList) {
accepted-inputs (itemnames)
local-endpoint (CreateList.js)
}
action-endpoint (CreateListAll) {
accepted-inputs (itemnames)
local-endpoint (CreateList.js)
}