Skip to content

Releases: AssemblyAI/assemblyai-node-sdk

4.8.0

06 Nov 08:29
1618d7a
Compare
Choose a tag to compare

What's Changed

  • Sync from internal repo (2024/10/17) by @Swimburger in #69
    • Add multichannel property to TranscriptParams
    • Add multichannel and audio_channels properties to Transcript
    • Add channel property to TranscriptWord, TranscriptUtterance, TranscriptSentence, and SentimentAnalysisResult
    • Error can have additional properties

Full Changelog: 4.7.1...4.8.0

4.7.1

08 Oct 21:02
794ee61
Compare
Choose a tag to compare

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

26 Aug 13:57
c126ce0
Compare
Choose a tag to compare

What's Changed

  • Add language_confidence_threshold to Transcript, TranscriptParams, and TranscriptOptionalParams.

    The confidence threshold for the automatically detected language.
    An error will be returned if the language confidence is below this threshold.

  • Add language_confidence to Transcript

    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

17 Jul 10:15
18a2b66
Compare
Choose a tag to compare

What's Changed

  • Remove conformer-2 from SpeechModel union type.
  • Remove conformer-2 deprecation warning

Full Changelog: v4.6.0...v4.6.1

v4.6.0

10 Jul 15:05
ed72e4f
Compare
Choose a tag to compare

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

Full Changelog: v4.5.0...v4.6.0

v4.5.0

17 Jun 10:08
66b6fd7
Compare
Choose a tag to compare

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 of input_tokens and output_tokens.

v4.4.7

12 Jun 12:06
2f75167
Compare
Choose a tag to compare

What's changed

  • Rename TranscriptService.redactions function to TranscriptService.redactedAudio.
  • Add TranscriptService.redactedAudioFile function.
  • Add workerd export to fix cache issue with fetch on Cloudflare Workers.

4.4.6

10 Jun 10:43
fe04165
Compare
Choose a tag to compare
  • Fix Rollup exports so __SDK_VERSION__ is properly replaced with the version of the SDK.

v4.4.5

31 May 19:25
99736e3
Compare
Choose a tag to compare

What's Changed

  • Add new PiiPolicy enum values

Full Changelog: v4.4.4...v4.4.5

v4.4.4

30 May 21:03
21cc568
Compare
Choose a tag to compare

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, or assemblyai.streaming.umd.min.js file in a script-tag.
  • Add new EntityType enum values

Full Changelog: v4.4.3...v4.4.4