ovos-personal-backend icon indicating copy to clipboard operation
ovos-personal-backend copied to clipboard

stt configuration inconsistently shared

Open mikejgray opened this issue 2 years ago • 2 comments

My backend STT configuration is:

{
  "stt": {
    "module": "ovos-stt-plugin-server",
    "ovos-stt-plugin-server": {
      "url": "http://192.168.86.58:9090/stt"
    },
    "fallback_module": "ovos-stt-plugin-selene",
    "ovos-stt-plugin-selene": {
      "url": "https://api.mycroft.ai",
      "version": "v1",
      "identity_file": "/root/.local/share/ovos_backend/identity2.json"
    }
  }
}

However, what got passed to my OVOS device was:

  "stt": {
    "module": "ovos-stt-plugin-selene",
    "ovos-stt-plugin-server": {
      "url": "http://192.168.86.58:9090/stt"
    }
  },

mikejgray avatar Jun 01 '23 04:06 mikejgray

Had some similar expirience while setting up my local whisper docker, but didn't dig deeper. There was no request to whisper but i got a transcription (from somewhere), so i think the second definition was chosen.

BTW i use selene plugin on ovos side pointed at the personal backend stt endpoint. That way the transcription gets saved in the database. (just fyi)

emphasize avatar Jun 05 '23 10:06 emphasize

STT configuration isnt passed from backend to device, the backend simply uses the same config format but this wont be sent to devices, its just for the stt endpoint

there is no fallback_stt in backend either

JarbasAl avatar Jun 05 '23 15:06 JarbasAl