Bixby Developer Center

References

on-retain

optional

Provides the developer a slot to declare the intent that they want the system to plan/execute if the user chooses 'NO' on the confirmation prompt.

Example

transaction-support {
match {
MyTransaction
}

confirm-on-abandon {
on-retain {
goal {
hotel.BookHotelRoom @context (Continuation)
}
}
message ("Are you sure you want to abandon your current transaction?")
}
}

Child Keys

goal
optional
Specifies the model used as a plan's target
goal-set
optional
A collection of goals
route
optional
Specify a node the planner must route its execution path through when creating the plan for an intent
subplan
optional
Specifies a plan intent embedded inside another
value
optional
An input value to the plan created by an intent block
value-set
optional
Specifies a collection of values to be used as inputs to the plan created by an intent block