Skip to content

Commit 7c88be2

Browse files
authored
Fix typo in blog post on intent whitespace (#1696)
1 parent 6797426 commit 7c88be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/2023-02-03-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Response templates are in the [Jinja2 format](https://www.home-assistant.io/docs
3434

3535
The second change comes from [hassil](https://github.com/home-assistant/hassil), the parser for our [intent template syntax](/docs/voice/intent-recognition/template-sentence-syntax/). In addition to an 8-10x speed-up in parsing, whitespace inside templates is taken literally.
3636

37-
Previously, a template like `light(s | ing)` would match both "light" and "lighting". Now, "light" and "light ing" would be matched instead due to the extra space around `|`. The correct template would be `light(s|ing)`
37+
Previously, a template like `light(s | ing)` would match both "lights" and "lighting". Now, "light s" and "light ing" would be matched instead due to the extra space around `|`. The correct template would be `light(s|ing)`

0 commit comments

Comments
 (0)