/capsule-sample-earthquake-finder

This capsule demonstrates how to use advanced natural language training

Primary LanguageJavaScriptApache License 2.0Apache-2.0


Bixby Earthquake Finder Sample Capsule

Overview

This capsule allows users to search for earthquakes around the globe based on various search criteria such as geographic location, date-time, minimum magnitude, event type, among others. This is designed to supplement the blog on Bixby conversations which describes the features of Bixby’s conversational interaction model.

How to get started

  • Download and install the Bixby Studio IDE from the Bixby Developer Center.
  • Download this capsule (zip is the easiest way) from GitHub. Unzip in your directory of choice.
  • Open the Capsule in Bixby Developer Studio.
  • Open the simulator and give it a try!

How to try

find earthquakes within 50 miles of me
search for quarry blasts and mining explosions
find earthquakes in los angeles that happened last week

How to customize

  • This capsule and the companion blog describes the features of Bixby’s conversational interaction model, including:
    1. Value prompts for required inputs or selection prompts for disambiguation of multiple inputs
    2. Default initialization to prevent unnecessary user prompting for required inputs
    3. Replacement functionality for single cardinal inputs
    4. Handling of multi-cardinal inputs in either JavaScript or modeling using iterable
    5. Relaxation to remove search constraints when an empty list of results is returned by either dropping inputs or replacing inputs with less-restrictive ones
  • Change the capsule id to reflect your organization and your content. The capsule id is defined in the capsule.bxb file.

Additional Resources

Your Source for Everything Bixby

Guides & Best Practices

Bixby Videos

Bixby Podcast

Bixby on Social Media

Need Support?

  • Have a feature request? Please suggest it in our Support Community to help us prioritize.
  • Have a technical question? Ask on Stack Overflow with tag “bixby”