feat: multilingual + changelog updates

This commit is contained in:
dan-ince-aai
2025-10-17 11:38:03 +01:00
parent d5f2dcfac0
commit 3ba6b55659
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `keyterms_prompt` parameter to `AssemblyAIConnectionParams`.
- Added `speech_model` parameter to `AssemblyAIConnectionParams` to access the multilingual model.
- The runner `--folder` argument now supports downloading files from
subdirectories.

View File

@@ -109,6 +109,7 @@ class AssemblyAIConnectionParams(BaseModel):
min_end_of_turn_silence_when_confident: Minimum silence duration when confident about end-of-turn.
max_turn_silence: Maximum silence duration before forcing end-of-turn.
keyterms_prompt: List of key terms to guide transcription. Will be JSON serialized before sending.
speech_model: Select between English and multilingual models. Defaults to "universal-streaming-english".
"""
sample_rate: int = 16000
@@ -119,3 +120,6 @@ class AssemblyAIConnectionParams(BaseModel):
min_end_of_turn_silence_when_confident: Optional[int] = None
max_turn_silence: Optional[int] = None
keyterms_prompt: Optional[List[str]] = None
speech_model: Literal["universal-streaming-english", "universal-streaming-multilingual"] = (
"universal-streaming-english"
)