Skip to content

Feature request: Propagate language attribute to whisper #9

Description

@nadiamoe

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions