feat: add voice session confirmation guardrails
This commit is contained in:
@@ -82,6 +82,14 @@ class Settings(BaseSettings):
|
||||
"zh",
|
||||
description="Preferred language hint for voice transcription",
|
||||
)
|
||||
voice_turn_low_transcript_confidence: float = Field(
|
||||
0.65,
|
||||
description="Prompt for confirmation when transcript confidence falls below this threshold",
|
||||
)
|
||||
voice_turn_low_intent_confidence: float = Field(
|
||||
0.70,
|
||||
description="Prompt for confirmation when intent confidence falls below this threshold",
|
||||
)
|
||||
voice_turn_max_upload_bytes: int = Field(
|
||||
5 * 1024 * 1024,
|
||||
description="Maximum accepted upload size in bytes for one voice turn audio file",
|
||||
|
||||
Reference in New Issue
Block a user