Bixby Simple Search Sample Capsule
This capsule is the the companion code to the Bixby Simple Search Capsule guide. This sample capsule shows how to include basic search in a capsule. The user can start with a simple utterance, such as "Find me some shoes," or do a more specific search, such as "Find me dancing shoes."
The UI is very basic (some simple dialogs and a layout). This example also demonstrates usage of Fetch action as a lazy source for the accessories property of a Shoe.
The FindShoe action model
Note the parallel relationship for FindAccessories model and js files.
The FindShoe action is a Search, which uses the inputs as constraints. The FindAccessories action is actually a Fetch, which is a simple lookup of additional data from a single input.
The lazy-source, as its name implies, means that the data is only fetched when needed. In this example, it means that the fetch won't
happen until the
shoe-details-fragment.layout.bml is rendered.
For more details, check https://bixbydevelopers.com/dev/docs/reference/type/structure.property.lazy-source
Your Source for Everything Bixby
- Bixby Developer Center - Everything you need to get started with Bixby Development!
Guides & Best Practices
- Quick Start Guide - Build your first capsule
- Design Guides - Best practices for designing your capsules
- Developer Guides - Guides that take you from design and modeling all the way through deployment of your capsules
- Introduction to Bixby - Bixby and the New Exponential Frontier of Intelligent Assistants
- Bixby Fundamentals - Bixby Fundamentals: What You Need to Know