Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

Preference Learning

This capsule discusses how to use preference learning.

Download this Capsule

Note

Preference learning is done offline and is not currently demonstrated in the Simulator. This capsule primarily shows what full modeling for preference learning might look like.

There are two primary capabilities modeled in this capsule: a search functionality for flowers (FindFlowers) and a search functionality for flights (FindFlightOptions).

FindFlowers

This functionality demonstrates how to use bootstrap preferences, which is primarily set up through the ProductType.preference.bxb file. When returning FlowerProduct structures, it lists Bouquet and FlowerArrangement types first for users to choose from, as users typically look for these arrangements. Additionally, as the user continues to make choices when searching for flowers, eventually Bixby will learn the productTypes and flower types (through the name property) that the user prefers.

FindFlightOptions

This functionality demonstrates how to use observation-alias. When a user selects an airline's logo from the given results, the Carrier.code property is marked as a preferred option by the user. While the logo cannot be a preferable property of the Trip because it is an image, it can be associated with a property that can be considered preferable.