Releases: AssemblyAI/assemblyai-python-sdk
Releases · AssemblyAI/assemblyai-python-sdk
0.39.0
What's Changed
- chore: sync sdk code with DeepLearning repo by @marcusolsson in #114
Full Changelog: 0.38.0...0.39.0
0.38.0
What's Changed
- chore: sync sdk code with DeepLearning repo by @marcusolsson in #110
- fix(sdk/python): fix default value for pydantic type by @marcusolsson in #111
- chore(sdk/python): drop test suite for 3.8 by @marcusolsson in #112
Full Changelog: 0.37.0...0.38.0
0.37.0
0.36.0
What's Changed
Features
- Add possibility to access HTTP status code
- Add
status_codeto all custom Error classes - Store the latest HTTP response in a new instance variable
Client.last_response
- Add
Chore
- Change default HTTP timeout from
15.0to30.0 - Fix mypy errors
- Improve README
Full Changelog: 0.35.1...0.36.0
0.35.1
What's Changed
Fix
- Fix bug for pydantic v1 where environment variables were not respected
- Other minor pydantic fixes:
- Replace deprecated
gtefield withgtforpolling_interval - Correct usage of
ConfigDictinstead ofSettingsConfigDict
- Replace deprecated
Removal
- Removes
LemurModel.claude_instant1_2andLemurModel.basicas they have been sunsetted by Anthropic
Full Changelog: 0.35.0...0.35.1
0.35.0
What's Changed
Features
- Add Multichannel transcription support:
- Add
multichannelconfig field - Add
multichannelresponse field - Add
channelfield to all responses withspeakerfield - Add
audio_channelsresponse field - Add unit tests
- Add
- Use pydantic v2
- Pydantic v1 is still supported, but the minimum required version is bumped to
pydantic>=1.10.17
- Pydantic v1 is still supported, but the minimum required version is bumped to
Fix
- Fix
custom_spellingbug where thecustom_spellingproperty access incorrectly threw an error. - Don't bundle tests on publish by @EmersonDove in #94
New Contributors
- @EmersonDove made their first contribution in #94
Full Changelog: 0.34.0...0.35.0
0.34.0
What's Changed
Features
- Add missing
contextparameter for LeMUR task by @ploeber in #91 - Add parameter to select audio input device when streaming from microphone by @mjshiggins in #82
Improvements
- Fix mypy typing errors by @ploeber in #91:
- Add correct types in
types.py,api.py, andlemur.py - Correct usage of
httpx.codes.OKinstead ofhttpx.codes.ok - Remove
contextproperty fromLemurSourcesinceself._contextdoes not exist
- Add correct types in
- Remove
httpx_mock.reset(False)in the unit tests (the interface changed and is no longer supported in Python >= 3.9) - Add GitHub Action
lint.ymlwith ruff formating and mypy checks by @ploeber in #85
New Contributors
- @mjshiggins made their first contribution in #82
Full Changelog: 0.33.0...0.34.0
0.33.0
Changes
Features
- New ALD features by @ploeber in #83:
- Add
language_confidence_thresholdas a configuration parameter and as a JSON response field - Add
language_confidenceas a JSON response field
- Add
Improvements
- Remove SDK-side value validation in
speech_threshold.setterto align with thelanguage_confidence_thresholdbehavior. This lets the API handle possible errors.
Full Changelog: 0.32.0...0.33.0
0.32.0
What's Changed
Features
- Add new
RealtimeErrorcodes and avoidKeyErrorif the code is unsupported - Add optional parameter
return_failurestotranscribe_group()andTranscriptGroup.transcribe(). If set toTrue, the function also returns a list of error messages for failed transcription jobs.
Improvements
- Raise Exception to user for
get_by_id()andwait_for_completion()and no longer create a misleading invalid transcript object
Full Changelog: 0.31.0...0.32.0
0.31.0
What's Changed
Features
- Adds support to list transcripts (#57 ):
- Adds functions
Transcriber.list_transcripts()andTranscriber.list_transcripts_async() - Adds new types
ListTranscriptParameters,PageDetails,ListTranscriptResponse, andTranscriptItem
- Adds functions
Removals
- Removes
conformer-2fromSpeechModelenum
Documentation
- Adds
list_transcript()examples to README, including an example that shows how to paginate
Full Changelog: 0.30.0...0.31.0