Releases: AssemblyAI/assemblyai-node-sdk
Releases · AssemblyAI/assemblyai-node-sdk
v4.6.1
What's Changed
- Remove
conformer-2
fromSpeechModel
union type. - Remove conformer-2 deprecation warning
Full Changelog: v4.6.0...v4.6.1
v4.6.0
What's Changed
- Add more TSDoc comments for RealtimeService documentation
- Add new LeMUR models
- Add TranscriptWebhookNotification which is a union of TranscriptReadyNotification or RedactedAudioNotification
- Add RedactedAudioNotification which represents the body of the PII redacted audio webhook notification.
For more information, see CHANGELOG.
New Contributors
- @marcusolsson made their first contribution in #63
Full Changelog: v4.5.0...v4.6.0
v4.5.0
What's changed
Added
- You can now retrieve previous LeMUR responses using
client.lemur.getResponse<LemurTask>("YOUR_REQUEST_ID")
. - LeMUR functions now return
usage
with the number ofinput_tokens
andoutput_tokens
.
v4.4.7
What's changed
- Rename
TranscriptService.redactions
function toTranscriptService.redactedAudio
. - Add
TranscriptService.redactedAudioFile
function. - Add
workerd
export to fixcache
issue withfetch
on Cloudflare Workers.
4.4.6
- Fix Rollup exports so __SDK_VERSION__ is properly replaced with the version of the SDK.
v4.4.5
v4.4.4
What's Changed
- Add an export that only includes the Streaming STT code. You can use the export
- by importing
assemblyai/streaming
, - or by loading the
assemblyai.streaming.umd.js
file, orassemblyai.streaming.umd.min.js
file in a script-tag.
- by importing
- Add new
EntityType
enum values
Full Changelog: v4.4.3...v4.4.4
v4.4.3
What's Changed
- Add react-native exports that resolve to the browser version of the library.
- Update dependencies
- Update README.md
- Add CDN instructions
- Add CONTRIBUTING.md
Full Changelog: v4.4.2...v4.4.3
v4.4.2
What's Changed
Changed
- Caching is disabled for all HTTP request made by the SDK
- Accept data-URIs in
client.files.upload(dataUri)
,client.transcripts.submit(audio: dataUri)
,client.transcripts.transcribe(audio: dataUri)
. - Change how the WebSocket libraries are imported for better compatibility across frameworks and runtimes.
The library no longer relies on a internal#ws
import, and instead compiles the imports into the dist bundles.
Browser builds will use the nativeWebSocket
, other builds will use thews
package.
Full Changelog: v4.4.1...v4.4.2
v4.4.1
What's Changed
Changed
- Deprecate
enableExtraSessionInformation
parameter inCreateRealtimeTranscriberParams
type
Full Changelog: v4.4.0...v4.4.1