Assemblyai

Latest version: v0.35.1

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

0.35.1

What's Changed

Fix
- Fix bug for pydantic v1 where environment variables were not respected
- Other minor pydantic fixes:
- Replace deprecated `gte` field with `gt` for `polling_interval`
- Correct usage of `ConfigDict` instead of `SettingsConfigDict`

Removal
- Removes `LemurModel.claude_instant1_2` and `LemurModel.basic` as they have been sunsetted by Anthropic

**Full Changelog**: https://github.com/AssemblyAI/assemblyai-python-sdk/compare/0.35.0...0.35.1

0.35.0

What's Changed

Features
- Add Multichannel transcription support:
- Add `multichannel` config field
- Add `multichannel` response field
- Add `channel` field to all responses with `speaker` field
- Add `audio_channels` response field
- Add unit tests
- Use pydantic v2
- Pydantic v1 is still supported, but the minimum required version is bumped to `pydantic>=1.10.17`

Fix
- Fix `custom_spelling` bug where the `custom_spelling` property access incorrectly threw an error.
- Don't bundle tests on publish by EmersonDove in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/94

New Contributors
* EmersonDove made their first contribution in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/94

**Full Changelog**: https://github.com/AssemblyAI/assemblyai-python-sdk/compare/0.34.0...0.35.0

0.34.0

What's Changed

Features

* Add missing `context` parameter for LeMUR task by ploeber in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/91
* Add parameter to select audio input device when streaming from microphone by mjshiggins in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/82

Improvements
* Fix mypy typing errors by ploeber in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/91:
* Add correct types in `types.py`, `api.py`, and `lemur.py`
* Correct usage of `httpx.codes.OK` instead of `httpx.codes.ok`
* Remove `context` property from `LemurSource` since `self._context` does not exist
* 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.yml `with ruff formating and mypy checks by ploeber in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/85

New Contributors
* mjshiggins made their first contribution in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/82

**Full Changelog**: https://github.com/AssemblyAI/assemblyai-python-sdk/compare/0.33.0...0.34.0

0.33.0

Changes

Features
- New ALD features by ploeber in https://github.com/AssemblyAI/assemblyai-python-sdk/pull/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**: https://github.com/AssemblyAI/assemblyai-python-sdk/compare/0.32.0...0.33.0

0.32.0

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**: https://github.com/AssemblyAI/assemblyai-python-sdk/compare/0.31.0...0.32.0

0.31.0

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**: https://github.com/AssemblyAI/assemblyai-python-sdk/compare/0.30.0...0.31.0

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.