mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Added a brief explanation and screenshot of Alexa Skills Kit and slot type synonyms (#3995)
* Added a brief explanation and screenshot of Alexa Skills Kit and slot type synonyms
* ✏️ Added missing comma
This commit is contained in:
parent
837168d8f1
commit
1740f62340
@ -135,6 +135,13 @@ Custom slot type for scene support.
|
||||
|
||||
The names must exactly match the scene names (minus underscores - amazon discards them anyway and we later map them back in with the template).
|
||||
|
||||
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 class='img'>
|
||||
<img src='/images/components/alexa/scene_slot_synonyms.png' />
|
||||
Custom slot values with synonyms.
|
||||
</p>
|
||||
|
||||
Add a sample utterance:
|
||||
|
||||
```text
|
||||
|
BIN
source/images/components/alexa/scene_slot_synonyms.png
Normal file
BIN
source/images/components/alexa/scene_slot_synonyms.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
Loading…
x
Reference in New Issue
Block a user