Skip to content

hume 0.7.2

Latest
Compare
Choose a tag to compare
@norman-codes norman-codes released this 02 Oct 17:46
935ed6a

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:

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