Bixby Developer Center

References

match

required

Use match patterns to dynamically lookup the appropriate response for the current context.

For example, this match pattern looks for FlightInformationMatch from the output of the DisplayDetailInfo action in order to use the correct dialog at the right time.

Examples

  match {
Receipt (this)
}

View a08a157 on GitHub

  match: Person (candidates) {
from-output: FindPerson {
from-input: PersonName (name)
}
}

View 721208e on GitHub

dialog (Result) {
match: Earthquake (this) {
from-output: FindEarthquakes (findEQ)
}
template ("[I found these earthquakes in #{value(findEQ.searchRegion)}]")
}

View master on GitHub

For more information on match patterns, see Match Patterns.

Child Keys

any
optional
Use the wildcard underscore (_) to match any node, regardless of its type