Skip to content

enh: wakeword detection #98

Closed as not planned
Closed as not planned

Description

@tjbck

"Hey assistant" should toggle on the voice call.

Activity

  1. added
    help wanted
    on Jul 2, 2024
  2. moblangeois commented on Jul 4, 2024

    @moblangeois

    Hello,

    I came across a project that might be relevant to this issue regarding wake word detection. The project is called GLaDOS (https://github.com/dnhkng/GlaDOS).

    While browsing their code, I found an interesting implementation of voice recognition and wake word detection that could potentially be adapted for our "Hey assistant" feature. You can find the relevant code here:

    https://github.com/dnhkng/GlaDOS/blob/99fbf5e182ed2c60e075bd1241d67f68f6833b8e/glados/voice_recognition.py#L159

    Some key points about this implementation:

    1. It uses a Voice Activity Detection (VAD) model to detect when speech is occurring.
    2. It employs an Automatic Speech Recognition (ASR) model for transcription.
    3. It includes a wake word detection method using Levenshtein distance to allow for slight variations in pronunciation.

    The project is under the MIT license, which is permissive and should allow us to adapt parts of their code if we decide it's useful for our implementation.

    I believe this could serve as a good starting point.

  3. jmtatsch commented on Jul 5, 2024

    @jmtatsch
  4. moblangeois commented on Jul 5, 2024

    @moblangeois

    https://github.com/dscripka/openWakeWord

    Seems to use onnxruntime 'onnxruntime>=1.10.0,<2', while we use onnxruntime==1.17.3 for OCR it seems. Therefore it should be good.

  5. tjbck commented on Jul 5, 2024

    @tjbck
    ContributorAuthor

    Requirements for this would be

    • ideally the model should run on the browser end
    • Should be easily customizable in the future to allow custom wakewords

    I’ll add more to the list in the future.

  6. svdasein commented on May 18, 2026

    @svdasein

    Just curious - is the idea that the wake up word is recognized by something in the browser, or does the browser stream all the audio it receives to openwebui which then scans for the word? I do get that there's a desktop app in the works somewhere as well.

  7. tjbck commented on Nov 1, 2026

    @tjbck
    ContributorAuthor

    Desktop voice and call overlays are no longer a part of the scope of Desktop, https://github.com/open-webui/tether may accommodate this in the future.

  8. locked and limited conversation to collaborators on Nov 1, 2026
  9. converted this issue into a discussion #309 on Nov 1, 2026
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

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions