Releases: AssemblyAI/assemblyai-node-sdk
Releases · AssemblyAI/assemblyai-node-sdk
v4.3.2
What's Changed
Added
- Add
audio_urlproperty toTranscribeParamsin addition to theaudioproperty. You can use one or the other.audio_urlonly accepts a URL string. - Add
TranscriptReadyNotificationtype for the transcript webhook body.
Changed
- Update codebase to use TSDoc
- Update README.md with more samples
Full Changelog: v4.3.1...v4.3.2
v4.3.1
What's Changed
- Sync from internal repo (2024/02/16) by @Swimburger in #36
Full Changelog: v4.3.0...v4.3.1
v4.3.0
What's Changed
Added
- Add
RealtimeTranscriber.configureEndUtteranceSilenceThresholdfunction - Add
RealtimeTranscriber.forceEndUtterancefunction - Add
end_utterance_silence_thresholdproperty toCreateRealtimeTranscriberParamsandRealtimeTranscriberParamstypes.
Full Changelog: v4.2.3...v4.3.0
v4.2.3
v4.2.2
What's Changed
Changed
- Windows paths passed to
client.transcripts.transcribeandclient.transcripts.submitwill work as expected.
Full Changelog: v4.2.1...v4.2.2
v4.2.1
What's Changed
Added
- Add
answer_formattoLemurActionItemsParamstype
Changed
- Rename
RealtimeServicetoRealtimeTranscriber,RealtimeServiceFactorytoRealtimeTranscriberFactory,RealtimeTranscriberFactory.createService()toRealtimeTranscriberFactory.transcriber(). Deprecated aliases are provided for all old types and functions for backwards compatibility. - Restrict the type for
redact_pii_audio_qualityfromstringtoRedactPiiAudioQualityan enum string.
Full Changelog: v4.2.0...v4.2.1
v4.2.0
Added
- Add
content_safety_confidencetoTranscriptParams&TranscriptOptionalParams.
Changed
- The
RealtimeServicenow sends audio as binary instead of a base64-encoded JSON object.
v4.1.0
What's Changed
Added
- Add
"anthropic/claude-2-1"toLemurModeltype - Add
encodingoption to the real-time service and factory.encodingcan be"pcm_s16le"or"pcm_mulaw". "pcm_mulaw"is a newly supported audio encoding for the real-time service.
Changed
- Allow any string into
final_modelfor LeMUR requests
@Swimburger in #29
Full Changelog: v4.0.1...v4.1.0
v4.0.1
What's Changed
Added
- Add
"assemblyai/mistral-7b"toLemurModeltype
Changed
- Update types with
@example - Update types with
Format: uuidif applicable
Full Changelog: v4.0.0...v4.0.1
v4.0.0
What's changed
Added
- Add
node,deno,bun,browser, andworkerd(Cloudflare Workers) exports to package.json. These exports are compatible versions of the SDK, with a few limitations in some cases. For more details, consult the SDK Compatibility document. - Add
dist/assemblyai.umd.jsanddist/assemblyai.umd.min.js. You can reference these script files directly in the browser and the SDK will be available at the globalassemblyaivariable.
Changed
RealtimeService.sendAudioaccepts audio via typeArrayBufferLike.- Breaking:
RealtimeService.streamreturns a WHATWG Streams Standard stream, instead of a Node stream. In the browser, the native web standard stream will be used. wsis used as the WebSocket client as before, but in the browser, the native WebSocket client is used.- Rename Node SDK to JavaScript SDK as the SDK is compatible with more runtimes now.
Full Changelog: v3.1.3...v4.0.0