add openai STT options (#90)

* add openai STT options

* wip

* allow apikey passed as param for openai stt
This commit is contained in:
Dave Horton
2025-03-24 18:47:01 -04:00
committed by GitHub
parent 82c6952f70
commit b85c7ac743

View File

@@ -733,7 +733,8 @@
"googleOptions": "#googleOptions",
"customOptions": "#customOptions",
"verbioOptions": "#verbioOptions",
"speechmaticsOptions": "#speechmaticsOptions"
"speechmaticsOptions": "#speechmaticsOptions",
"openaiOptions": "#openaiOptions"
},
"required": [
"vendor"
@@ -921,6 +922,42 @@
"required": [
]
},
"openaiOptions": {
"properties": {
"apiKey": "string",
"model": "string",
"prompt": "string",
"language": "string",
"input_audio_noise_reduction": {
"type": "string",
"enum": [
"near_field",
"far_field"
]
},
"turn_detection": "#turnDetection"
},
"required": [
"model"
]
},
"turnDetection": {
"properties": {
"type": {
"type": "string",
"enum": [
"none",
"server_vad"
]
},
"threshold": "number",
"prefix_padding_ms": "number",
"silence_duration_ms": "number"
},
"required": [
"type"
]
},
"speechmaticsOptions": {
"properties": {
"transcription_config": "#sm_transcriptionConfig",