Site updated at 2017-11-18 20:42:08 UTC
This commit is contained in:
parent
374261cd52
commit
3bb0d0697f
641 changed files with 7982 additions and 2283 deletions
|
@ -175,6 +175,11 @@ WhereAreWeIntent where we are
|
|||
Custom slot type for scene support.
|
||||
</p>
|
||||
<p>The names must exactly match the scene names (minus underscores - amazon discards them anyway and we later map them back in with the template).</p>
|
||||
<p>In the new Alexa Skills Kit, you can also create synonyms for slot type values, which can be used in place of the base value in utterances. Synonyms will be replaced with their associated slot value in the intent request sent to the Alexa API endpoint, but only if there are not multiple synonym matches. Otherwise, the value of the synonym that was spoken will be used.</p>
|
||||
<p class="img">
|
||||
<img src="/images/components/alexa/scene_slot_synonyms.png" />
|
||||
Custom slot values with synonyms.
|
||||
</p>
|
||||
<p>Add a sample utterance:</p>
|
||||
<div class="language-text highlighter-rouge"><pre class="highlight"><code>ActivateSceneIntent activate {Scene}
|
||||
</code></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue