Releases: AssemblyAI/assemblyai-node-sdk
4.8.0
What's Changed
- Sync from internal repo (2024/10/17) by @Swimburger in #69
- Add
multichannel
property toTranscriptParams
- Add
multichannel
andaudio_channels
properties toTranscript
- Add
channel
property toTranscriptWord
,TranscriptUtterance
,TranscriptSentence
, andSentimentAnalysisResult
Error
can have additional properties
- Add
Full Changelog: 4.7.1...4.8.0
4.7.1
What's Changed
- Log a warning when a user tries to use API key authentication in the browser to connect to the real-time Streaming STT API.
- Update dependencies
- Use assembly.ai short URL for sample files
Full Changelog: 4.7.0...4.7.1
4.7.0
What's Changed
- Add
language_confidence_threshold
toTranscript
,TranscriptParams
, andTranscriptOptionalParams
.The confidence threshold for the automatically detected language.
An error will be returned if the language confidence is below this threshold. - Add
language_confidence
toTranscript
The confidence score for the detected language, between 0.0 (low confidence) and 1.0 (high confidence)
Using these new fields you can determine the confidence of the language detection model (enable by setting language_detection
to true
), and fail the transcript if it doesn't meet your desired threshold.
Learn more about the new automatic language detection model and feature improvements on our blog.
Full Changelog: AssemblyAI/assemblyai-csharp-sdk@1.0.1...1.1.0
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