Bixby Developer Center



optionalmultiple allowedvalue required

Named consumers allow explicitly linking a concept to an action. Once that link is established, it can be accessed via dot notation by its name (similarly to property projections).


structure (RideShare) {
// Used for training to
// Example utterance ([g:rideShare.RideShare#book] Get me a ride)
// This helps us separate the book and find use cases without polluting the NL silos
// Two reasons right now for having a separate book/find use case:
// 1- using different dialogs for ride booking (choose a ride) vs property projection questions (how much is a ride)
// 2- selection learning is currently only on selection prompts
named-consumer (book) {
description (Book a ride on this ride share.)
action (BookRideShare)
input (rideShare)

For another example, see the Phone Call Sample Capsule.