项目作者: bixbydevelopers

项目描述 :
This capsule is the companion code to the Bixby Quick Start guide. The capsule demonstrates use of Concepts and Actions.
高级语言: JavaScript
项目地址: git://github.com/bixbydevelopers/capsule-sample-dice.git
创建时间: 2018-10-31T17:25:36Z
项目社区:https://github.com/bixbydevelopers/capsule-sample-dice

开源协议:Apache License 2.0

下载






Bixby Quick Start Dice Sample Capsule


Overview

This capsule provides companion code to the Bixby Quick Start Guide. The capsule simulates throwing dice. Throw any number of dice and choose how many sides the dice have. The capsule demonstrates use of Concepts and Actions.

Note: This capsule is meant to be used with the Quick Start Guide, which teaches you how to add training. Therefore, you cannot use natural language initially. However, you can use the following intent in the Simulator to test the capsule out-of-the-box:

  1. // Give two values (number of dice and number of sides) with the
  2. // goal of rolling dice
  3. intent {
  4. goal: example.dice.RollResultConcept
  5. value: example.dice.NumSidesConcept (6)
  6. value: example.dice.NumDiceConcept (2)
  7. }

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”