rhasspy / wyoming-vosk

Wyoming protocol server for the vosk speech to text system
MIT License
10 stars 5 forks source link

Sentence in/out replacement doesn't work in lists #2

Closed h3ndrik closed 1 year ago

h3ndrik commented 1 year ago
sentences:
  - turn (on|off) {device}
  - in: lou mo ss  # lumos
    out: turn on all the lights
lists:
  device:
    values:
      - in: light
        out: bedroom room light

When I say 'turn off light' it transcribes as 'turn off light'. The replacement doesn't work. I'd expect the transcription to be changed to 'turn off bedroom room light'.

Doing the replacement in the sentences works: I say 'lumos' and it gives me 'turn on all the lights' back.

Vosk Add-on 1.3.0 Correct sentences: 0 Limit sentences: true Allow unknown: false Debug logging: true Home Assistant 2023.10.5

h3ndrik commented 1 year ago

Fixed in the new release. Can confirm this is working now. Thanks!