hassil icon indicating copy to clipboard operation
hassil copied to clipboard

Intent parsing for Home Assistant

Results 15 hassil issues
Sort by recently updated
recently updated
newest added

Seems like iOS auto-corrects "what's" to "what’s", so that needs to be added to the list of ignored punctuation. Fixes https://github.com/home-assistant/intents/issues/2187

cla-signed

Spaces are being ignored when matching words. For example: Sentence: `adiciona a [minha ]lista` Test input: `adiciona batatas à minha lista` Current `item` match: `batatas à minh` Expected match: nothing...

bug

I am testing the same scenario in the test "test_wildcard_ordering" ([link](https://github.com/home-assistant/hassil/blob/main/tests/test_recognize.py#L1185)). I cloned and ran hassil 1.6.1 locally, and was able to replicate the results expected in the test. Great!...

Allow `MatchEntity` objects to be passed directly to response templates, so that we can have both what the user said and what the value is. To keep backwards compatibility with...

cla-signed

See https://github.com/home-assistant/core/issues/103718 If an empty list item is found, the recognizer shouldn't even try to match it.

bug

Fixtures: ``` entities: - name: "Joseph" id: "person.jospeh" state: "home" - name: "Ada" id: "person.ada" state: "Work" - name: "John" id: "person.john" state: "not_home" ``` Sentences and tests: ``` lists:...

bug

```yaml # sentences/ro/person_HassGetSate.yaml language: ro intents: HassGetState: data: - sentences: - "(; [] {zone:state})" response: someone_yesno requires_context: domain: person slots: domain: person ``` ```yaml # tests/ro/_fixtures.yaml language: ro entities: -...

bug

It would be useful to have a special list type for matching regular expressions. For example: ```yaml lists: date: regex: "([0-9]{0,2})[\.\/]([0-9]{0,2})[\.\/]([0-9]{4})" ``` The matched slot object should also return captured...

enhancement

Consider the following sentence: `turn off the lights and close the blinds`. This sentence could be matched with `{sentence1} and {sentence2}` where both sentences are defined as wildcards, but if...

enhancement

```YAML #tests #1 language: fi tests: - sentences: - laita omena minun ostoslistalleni - laita omena listalle - lisää omena ostoslistalle # Below sentences create an error - lisää mun...