Bot releases are hidden (Show)
https://github.com/home-assistant/hassil/pull/103 - Add sentence metadata (@synesthesiam)
https://github.com/home-assistant/hassil/pull/100 - Add support for text slot metadata (@jackwilsdon)
Published by synesthesiam 9 months ago
Published by synesthesiam over 1 year ago
When sampling possible strings from a template like (A | B)
, hassil would previously produce: a
and b
(normalized). It will now produce the original strings with whitespace: A
and B
.
Published by synesthesiam over 1 year ago
Bugfix to not allow skipping whitespace while parsing under certain conditions.
Published by synesthesiam over 1 year ago
Remove slow ANTLR parser and use a custom one (~8-10x faster).
|
character. Previously, light(s | ing)
would match both "lights" and "lighting", but now it will match "lights" and "light ing"
\W
). Templates must now include %
and °
explicitly. The current set of punctuation characters is .。,,?¿?!!;;::
(
or ]
characters will cause parsing errorsIntents YAML has a new settings block:
language: "..."
settings:
ignore_whitespace: false
The only option is ignore_whitespace
, which is intended for language families like zh
(Chinese) that may be written without spaces. The default value is False
.
Published by synesthesiam almost 2 years ago
Published by synesthesiam almost 2 years ago