Hume

Latest version: v0.7.4

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

Scan your dependencies

Page 1 of 5

0.7.4

What's Changed
* :herb: Fern Regeneration -- October 31, 2024 by fern-api in https://github.com/HumeAI/hume-python-sdk/pull/210
* (fix) added `CUSTOM_VOICE` as a member to the `ReturnVoice.voice_provider` enum
* (fix) added correct return types for the audio reconstruction endpoints
* (feat) Typed `.language_model.model_resource` on `POST /v0/evi/configs` as an enum instead of a string.

**Full Changelog**: https://github.com/HumeAI/hume-python-sdk/compare/v0.7.3...v0.7.4

0.7.3

What's Changed
* :herb: Fern Regeneration -- October 24, 2024 by fern-api in https://github.com/HumeAI/hume-python-sdk/pull/203
What's Changed
* Add support for `hume.empathic_voice.chats.get_audio(...)` for getting a URL that you can use to download the reconstructed audio for a chat
* Note: this method will not return a ready-to-use URL right away, it will kick off a job to ready the URL. You can use this like
python
result = await hume.empathic_voice.chats.get_audio(...)
await asyncio.sleep(10)
result = await hume.empathic_voice.chats.get_audio(...)
if result.status != "COMPLETE":
raise TimeoutError('Job did not complete in 10 seconds')
url_containing_download = json.signed_audio_url

* Add support for `hume.empathic_voice.chat_groups.get_audio(...)` to list urls containing reconstructed audio for many chats in a chat group
* **Custom Voices**
* Add support for new base voice `SUNNY`
* Updates custom voice parameters to reflect the latest parameters.


**Full Changelog**: https://github.com/HumeAI/hume-python-sdk/compare/v0.7.2...v0.7.3

0.7.2

This release fixes a validation error in `ReturnConfig` when creating a config with a null `custom_voice`. Previously, this would raise a pydantic `ValidationError`. Now, null values for `custom_voice` are properly handled.

Example of fixed usage:
python
client = AsyncHumeClient(api_key=<HUME_API_KEY>) replace <HUME_API_KEY> with your API key
resp = await client.empathic_voice.configs.create_config(name="test", evi_version=1)
This now works without raising a ValidationError, even if custom_voice is implicitly None

0.7.1

This major release introduces significant architectural changes to improve SDK functionality and developer experience.

Highlights:
- New base clients: `AsyncHumeClient` and `HumeClient`
- Refactored API structure with distinct modules for Expression Measurement and Empathic Voice Interface
- Enhanced type safety and asynchronous support
- More granular client configuration options
- Legacy support maintained for backward compatibility

Please refer to the [Migration Guide](https://github.com/HumeAI/hume-python-sdk/wiki/Python-SDK-Migration-Guide) for detailed information on breaking changes and how to update your code.

We recommend all users upgrade to this version to leverage the latest improvements and prepare for future updates.

0.7.0

This release was buggy and therefore previously yanked; see `v0.7.1`.

0.7.0rc2

Publish pre-release version of auto-generated SDK

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.