Skip to content

Releases: home-assistant/hassil

1.7.1

15 May 19:00
Compare
Choose a tag to compare

What’s Changed

⬆️ Dependencies

17 changes

1.6.1

02 Feb 22:07
Compare
Choose a tag to compare
  • Allow context values to be dicts

1.6.0

26 Jan 03:03
Compare
Choose a tag to compare

#103 - Add sentence metadata (@synesthesiam)
#100 - Add support for text slot metadata (@jackwilsdon)

1.5.3

19 Jan 21:37
b5a2cde
Compare
Choose a tag to compare
  • Restrict unmatched entities to contiguous blocks of non-literal text
  • Automatically use intents language for number words if supported

v1.5.2

04 Jan 16:30
Compare
Choose a tag to compare

What’s Changed

  • #94 - Local slot lists (@tetele)
  • Add matched sentence template and text chunk count to result
  • Fix text for unmatched entities

⬆️ Dependencies

7 changes

v1.5.1

17 Nov 15:48
Compare
Choose a tag to compare
  • Expand requires_context to allow copying value to a slot

v1.5.0

13 Nov 16:52
07e5e18
Compare
Choose a tag to compare
Merge pull request #80 from home-assistant/synesthesiam-20231110-fuzz…

Using original text during sampling

10 Feb 21:23
Compare
Choose a tag to compare

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.

No skipping whitespace

03 Feb 16:07
Compare
Choose a tag to compare

Bugfix to not allow skipping whitespace while parsing under certain conditions.

Version 1.0.0

01 Feb 05:09
557894e
Compare
Choose a tag to compare

Remove slow ANTLR parser and use a custom one (~8-10x faster).

Breaking Changes

  • Whitespace is now significant around the | character. Previously, light(s | ing) would match both "lights" and "lighting", but now it will match "lights" and "light ing"
  • Only punctuation is skipped automatically, instead of all "non-word" characters (regex \W). Templates must now include % and ° explicitly. The current set of punctuation characters is .。,,?¿?!!;;::
  • Template parsing is more strict, so unmatched ( or ] characters will cause parsing errors

New Features

Intents 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.

Other Changes

  • The ANTLR runtime is no longer needed as a dependency