Bixby Developer Center

Guides
References

goal

optional

Specifies the model used as a plan's target.

If the objective is to find one or more concepts (or properties of a concept), then you usually want to use the concept or a property of a structure concept as the goal, like viv.rideShare.RideShare. If the objective is to perform some action with external side-effects, you can use the action itself, like viv.rideShare.BookRideShare, as the goal.

Example

In the audio sample capsule, intent is used as part of a default-init block to initialize a playlist object with the BuildMeowAudioInfo concept.

    input (meowToPlay) {
description (Create the playlist to play)
type (audioPlayer.AudioInfo)
min (Required) max (One)
default-init {
intent {
goal: BuildMeowAudioInfo
}
}
hidden
}

View on GitHub

Child Keys

@context
optional
Specifies the conversational context of an intent
@prompt-behavior
optional
Modify Bixby's prompting behavior for a node