From f58cb6a998dded00f449025603682f1883e541e8 Mon Sep 17 00:00:00 2001 From: NeonJarbas <59943014+NeonJarbas@users.noreply.github.com> Date: Tue, 4 Jun 2024 15:53:24 +0100 Subject: [PATCH] feat/ocp_pipeline (#96) * feat/ocp_pipeline * feat/OCP_backends * Update mycroft.conf * Update mycroft.conf * Update mycroft.conf * Update mycroft.conf * "adapt_low", * Update mycroft.conf * Update mycroft.conf * remove deprecated flag got rid of it https://github.com/OpenVoiceOS/ovos-core/pull/491 --------- Co-authored-by: JarbasAi Co-authored-by: JarbasAI <33701864+JarbasAl@users.noreply.github.com> --- ovos_config/mycroft.conf | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/ovos_config/mycroft.conf b/ovos_config/mycroft.conf index 18212dc..a103e1b 100644 --- a/ovos_config/mycroft.conf +++ b/ovos_config/mycroft.conf @@ -142,6 +142,26 @@ // Intent Pipeline / plugins config "intents" : { + "OCP": { + // legacy forces old audio service instead of OCP + "legacy": false, + // min confidence (0.0 - 1.0) to accept MediaType + "classifier_threshold": 0.4, + // min conf for each result (0 - 100) + "min_score": 50, + // filter results from "wrong" MediaType + "filter_media": true, + // filter results we lack plugins to play + "filter_SEI": true, + // playback mode + // 0 - auto + // 10 - audio results only + // 20 - video results only + "playback_mode": 0, + // if MediaType query fails, try Generic query + "search_fallback": true + }, + // the pipeline is a ordered set of frameworks to send an utterance too // if one of the frameworks fails the next one is used, until an answer is found // NOTE: if padatious is not installed, it will be replaced with padacioso (much slower) @@ -149,8 +169,10 @@ "pipeline": [ "stop_high", "converse", + "ocp_high", "padatious_high", "adapt_high", + "ocp_medium", "fallback_high", "stop_medium", "adapt_medium", @@ -349,7 +371,7 @@ } }, - // The mycroft-core messagebus websocket + // The ovos-core messagebus websocket "websocket": { "host": "127.0.0.1", "port": 8181, @@ -681,7 +703,10 @@ "translation_module": "ovos-translate-plugin-server" }, - // Media playback + // placeholder to help in migration to ovos-media + // if set to False the legacy audio service won't load + "enable_old_audioservice": true, + "Audio": { // message.context may contains a source and destination // native audio (playback / TTS) will only be played if a