Bixby Developer Center

References

replan

optional

Changes the plan during execution to a new intent after an optional dialog event.

Example

validate {
if("!(exists(self) && exists(self.emailAddresses))") {
replan {
intent {
subplan {
value { $expr(self.emailAddresses) }
goal { @prompt-behavior(AlwaysElicitation) contact.EmailInfo }
}
goal { profile.UpdateSelf }
}
}
}
}

Child Keys

dialog
optional
Dialog enables you to communicate to users of your capsule, such as asking questions, providing status, or paraphrasing results
intent
optional
A set of signals that the Bixby planner interprets to create a plan