Releases: HumeAI/hume-python-sdk
Releases · HumeAI/hume-python-sdk
hume 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:
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
hume 0.7.1
This major release introduces significant architectural changes to improve SDK functionality and developer experience.
Highlights:
- New base clients:
AsyncHumeClient
andHumeClient
- 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 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.
hume 0.7.0
This release was buggy and therefore previously yanked; see v0.7.1
.
0.7.0-rc2
hume 0.6.0
- Resume an existing conversation with
HumeVoiceClient.connect(chat_group_id="<chat-group-id>")
- List chat groups
HumeVoiceClient.iter_chat_groups()
- Fetch a chat group
HumeVoiceClient.get_chat_group()
- List chat group messages
HumeVoiceClient.iter_chat_group_messages()
hume 0.5.1
- Introduces
VoiceTool
to enable function calling and other tools - Adds
create_tool()
,get_tool()
,iter_tools()
, anddelete_tool()
to theHumeVoiceClient
- Adds
LanguageModelConfig
to update the LLM used as well as the temperature parameter - Adds
VoiceIdentityConfig
to enable updating the voice of EVI - Adds
send_json
method on theVoiceSocket
to enable sending tool responses
hume 0.5.0
- Introduces
HumeVoiceClient
, a Python client for interacting with EVI, Hume's new Empathic Voice Interface. - Introduces a
MicrophoneInterface
that allows you to talk to EVI through your device's microphone and speakers. - Adds support for creating, getting, listing, and deleting EVI configs with
HumeVoiceClient
. - Adds support for configuring a
VoiceSocket
with an EVI config through theHumeVoiceClient
. - Adds support for configuring the voice of EVI to be either Ito or Kora.
- Adds support for configuring the session and audio settings on a
VoiceSocket
withupdate_session_settings()
. - Adds support for listing chat history with
HumeVoiceClient
.
hume 0.4.2
- Various dependency upgrades
hume 0.4.1
- Adds
text
parameter toHumeBatchClient.submit_job()
to support passing raw text as the input for batch jobs.
hume 0.4.0
- Supporting Python 3.10 and 3.11
- Dropping support for Python 3.8 (note that the package will still install in 3.8 environments, but compatibility will not be maintained)