mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 18:06:54 +00:00
Assist troubleshooting: add sentence parser procedure (#28314)
This commit is contained in:
parent
117828856e
commit
15205f17bb
BIN
source/images/assist/assistant-debug-06.png
Normal file
BIN
source/images/assist/assistant-debug-06.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 90 KiB |
@ -14,16 +14,32 @@ This section lists a few steps that may help you troubleshoot issues with Assist
|
|||||||
4. At the top of the screen, from the dropdown menu, select the run you are interested in.
|
4. At the top of the screen, from the dropdown menu, select the run you are interested in.
|
||||||

|

|
||||||
|
|
||||||
## Test if the phrase works without voice
|
## Test a sentence per language without voice: without executing commands
|
||||||
|
|
||||||
|
If you want to test if a sentence works in a specific language without actually executing the commands, use the sentence parser in the **Developer tools**.
|
||||||
|
|
||||||
|
1. Go to {% my developer_assist title="**Developer tools** > **Assist**" %}.
|
||||||
|
2. In the sentence parser, select the language and enter the sentence you want to test.
|
||||||
|
3. The debug tool shows you the following:
|
||||||
|
- The intent triggered.
|
||||||
|
- The entities that were targeted.
|
||||||
|
- Which of the targeted entities were matched.
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## Test a sentence per assistant without voice: while executing the commands
|
||||||
|
|
||||||
|
If you want to test if a sentence works with a specific assistant while actively executing the commands, use the sentence parser in the **Debug** view.
|
||||||
|
|
||||||
1. [Open the debug view](#view-debug-information).
|
1. [Open the debug view](#view-debug-information).
|
||||||
2. In the top right corner, select the icon.
|
2. In the top right corner, select the icon.
|
||||||

|

|
||||||
3. Select **Run text pipeline**.
|
3. Select the assistant you want to test.
|
||||||
|
4. Select **Run text pipeline**.
|
||||||

|

|
||||||
4. Enter the phrase you want to test and select **Run**.
|
5. Enter the phrase you want to test and select **Run**.
|
||||||

|

|
||||||
5. Check if it worked.
|
6. Check if it worked.
|
||||||

|

|
||||||
- If the phrase does not work, try a variant. For example, if *Turn off the light* doesn't work, try: *Turn off the lights in the kitchen*.
|
- If the phrase does not work, try a variant. For example, if *Turn off the light* doesn't work, try: *Turn off the lights in the kitchen*.
|
||||||
- Check if your phrase is [supported](/voice_control/builtin_sentences/).
|
- Check if your phrase is [supported](/voice_control/builtin_sentences/).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user