Patch Changes
-
59f764a: feat(assemblyai): support universal-3-5-pro and expand the transcription provider
- Add current speech models
universal-3-5-pro,universal-3-pro, and
universal-2, routed via AssemblyAI'sspeech_modelsparameter (the
deprecated singularspeech_modelis used only for the legacybestmodel).
Usinguniversal-3-pro/universal-2emits an informational warning
suggestinguniversal-3-5-pro. - Deprecate the legacy
bestmodel (still works, warns) and removenano,
which AssemblyAI no longer accepts. - Surface speaker diarization and audio-intelligence results:
doGeneratenow
returns the full raw response onresponse.bodyand populates
providerMetadata.assemblyaiwithutterances,entities,
sentimentAnalysisResults,contentSafetyLabels,iabCategoriesResult, and
autoHighlightsResult. - Add provider options for newer request parameters:
prompt,keytermsPrompt,
temperature,removeAudioTags,domain,speakerOptions,
languageDetectionOptions,redactPiiAudioOptions,
redactPiiReturnUnredacted, andredactStaticEntities. Deprecate
wordBoost/boostParamin favor ofkeytermsPrompt(AssemblyAI rejects
word_booston the newer models). - Fix transcription segment timings, which were reported in milliseconds instead
of seconds.
- Add current speech models