Heya,
Currently it seems like we're not cueing Whisper any particular language in params:
|
params = { |
|
"temperature": "0.0", |
|
"temperature_inc": "0.2", |
|
"response_format": "json" |
|
} |
This works okay if only one language is used, as whisper can be configured to assume a certain language for all requests. However, if one wants to have multiple assist pipelines in homeassistant in different languages, this won't work.
Whisper.cpp's --lang auto is in my experience not an option as it is very prone to misdetections.
It would be nice if we could just tell whisper which language homeassistant advertised.
Heya,
Currently it seems like we're not cueing Whisper any particular language in
params:wyoming-whisper-api-client/wyoming_whisper_api_client/handler.py
Lines 61 to 65 in 45382bc
This works okay if only one language is used, as whisper can be configured to assume a certain language for all requests. However, if one wants to have multiple assist pipelines in homeassistant in different languages, this won't work.
Whisper.cpp's
--lang autois in my experience not an option as it is very prone to misdetections.It would be nice if we could just tell whisper which language homeassistant advertised.