Skip to content

Releases: AssemblyAI/assemblyai-python-sdk

0.33.0

26 Aug 14:03

Choose a tag to compare

Changes

Features

  • New ALD features by @ploeber in #83:
    • Add language_confidence_threshold as a configuration parameter and as a JSON response field
    • Add language_confidence as a JSON response field

Improvements

  • Remove SDK-side value validation in speech_threshold.setter to align with the language_confidence_threshold behavior. This lets the API handle possible errors.

Full Changelog: 0.32.0...0.33.0

0.32.0

12 Aug 16:09

Choose a tag to compare

What's Changed

Features

  • Add new RealtimeError codes and avoid KeyError if the code is unsupported
  • Add optional parameter return_failures to transcribe_group() and TranscriptGroup.transcribe(). If set to True, the function also returns a list of error messages for failed transcription jobs.

Improvements

  • Raise Exception to user for get_by_id() and wait_for_completion() and no longer create a misleading invalid transcript object

Full Changelog: 0.31.0...0.32.0

0.31.0

19 Jul 14:55

Choose a tag to compare

What's Changed

Features

  • Adds support to list transcripts (#57 ):
    • Adds functions Transcriber.list_transcripts() and Transcriber.list_transcripts_async()
    • Adds new types ListTranscriptParameters, PageDetails, ListTranscriptResponse, and TranscriptItem

Removals

  • Removes conformer-2 from SpeechModel enum

Documentation

  • Adds list_transcript() examples to README, including an example that shows how to paginate

Full Changelog: 0.30.0...0.31.0

0.30.0

10 Jul 15:04

Choose a tag to compare

What's Changed

Features

  • Add new LeMUR models by @ploeber in #75:
    • Claude 3.5 Sonnet (LemurModel.claude3_5_sonnet)
    • Claude 3 Opus (LemurModel.claude3_opus)
    • Claude 3 Haiku (LemurModel.claude3_haiku)
    • Claude 3 Sonnet (LemurModel.claude3_sonnet)

Full Changelog: 0.29.0...0.30.0

0.29.0

04 Jul 15:56

Choose a tag to compare

What's Changed

Fixes

  • Change audio_duration from float to int for the TranscriptResponse by @ploeber in #74

Full Changelog: 0.28.1...0.29.0

0.28.1

27 Jun 10:12

Choose a tag to compare

What's Changed

Fixes

  • Correctly import the __version__ number

Full Changelog: 0.28.0...0.28.1

0.28.0

26 Jun 15:57

Choose a tag to compare

What's Changed

Features

  • Add LeMUR methods get_response_data() and get_response_data_async():
    • Allows to retrieve a LeMUR response that was previously generated
  • Add new LeMUR response field usage:
    • Contains information about used input tokens and output tokens for LeMUR calls
  • Add new generic Lemur response type LemurStringResponse
  • Add __version__.py. The version number can now we accessed with aai.__version__

Improvements

  • Raise Exception to user if file uploading fails and no longer create a misleading invalid transcript object

Chore

  • Include info about SDK version and Python version in user agent

Full Changelog: 0.27.0...0.28.0

0.27.0

04 Jun 12:10
ca9bd8e

Choose a tag to compare

What's Changed

Features

  • Add new values for EntityType. Entity detection and PII redaction now support more entities. This also fixes potential validation errors that could have occurred with previous versions. by @ploeber in #71

Full Changelog: 0.26.0...0.27.0

0.26.0

19 Apr 11:23
743b15b

Choose a tag to compare

What's Changed

Features

  • Add support for file uploads through Transcriber.upload() and Transcriber.upload_async() in #68
  • Add support for BinaryIO type for submit() and transcribe() in #68
  • Add support for redact_pii_audio_quality by @dweekly in #66

Deprecation

  • Deprecate extras.file_from_stream. The new upload functions can be used instead.

New Contributors

Full Changelog: 0.25.0...0.26.0

0.25.0

12 Apr 14:35

Choose a tag to compare

Changes

Features

  • Add disable_partial_transcripts and on_extra_session_information to RealtimeTranscriber

Improvement

  • Remove white noise from stream_file

Full Changelog: 0.24.0...0.25.0