@jambonz/schema 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -141,6 +141,11 @@
|
|
|
141
141
|
"eagerEotThreshold": {
|
|
142
142
|
"type": "number",
|
|
143
143
|
"description": "Eager end-of-turn threshold for faster response."
|
|
144
|
+
},
|
|
145
|
+
"languageHints": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": { "type": "string" },
|
|
148
|
+
"description": "Language hints for Deepgram Flux Multilingual. BCP-47 codes (e.g. 'en', 'es', 'fr'). Biases transcription toward specified languages."
|
|
144
149
|
}
|
|
145
150
|
},
|
|
146
151
|
"additionalProperties": false
|
package/package.json
CHANGED
package/verbs/agent.schema.json
CHANGED
|
@@ -21,6 +21,28 @@
|
|
|
21
21
|
"$ref": "../components/synthesizer",
|
|
22
22
|
"description": "Text-to-speech configuration for the agent."
|
|
23
23
|
},
|
|
24
|
+
"autoLockLanguage": {
|
|
25
|
+
"oneOf": [
|
|
26
|
+
{ "type": "boolean" },
|
|
27
|
+
{ "type": "string", "enum": ["always"] }
|
|
28
|
+
],
|
|
29
|
+
"description": "When using Deepgram Flux Multilingual, automatically adjust STT language hints and switch TTS voice based on detected language. Values: false (disabled), true (lock on first utterance), 'always' (continuously adapt on every turn). Default: false.",
|
|
30
|
+
"default": false
|
|
31
|
+
},
|
|
32
|
+
"languageConfig": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"description": "Per-language overrides for TTS. Keys are BCP-47 language codes. When autoLockLanguage detects a language switch, the agent uses the corresponding config.",
|
|
35
|
+
"additionalProperties": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"tts": {
|
|
39
|
+
"$ref": "../components/synthesizer",
|
|
40
|
+
"description": "TTS config override for this language. Merged with default tts."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
24
46
|
"turnDetection": {
|
|
25
47
|
"oneOf": [
|
|
26
48
|
{
|