Releases: HumeAI/empathic-voice-api-js
Releases · HumeAI/empathic-voice-api-js
v0.1.17
useVoice
hook now exports isPaused
to indicate whether assistant is currently paused
v0.1.16
What's Changed
- Update all send message functions to fix an issue where callbacks were not stable between render cycles
- Fix clip queue count
- Add close event code and reason to the disconnect message
- Bump a few dependencies: vite, hume, next
v0.1.15
- Update type definitions for
lastUserMessage
, lastVoiceMessage
, and chatMetadata
in some methods where the function signatures were incorrect
- Add check for socket ready state before sending messages to the backend and before trying to disconnect
v0.1.14
- bumps
hume
to the latest version (0.8.10
)
v0.1.13
What's Changed
- Clear audio queue when assistant is paused
- Breaking change: Renamed
sendPauseAssistantMessage
to pauseAssistant
. Renamed sendResumeAssistantMessage
to resumeAssistant
.
v0.1.12
- Bump
hume
to 0.8.8, which fixes support for webpack 5
- Improvements to tool calling
- Update onToolCall handler to ignore ToolCall messages from builtin tools
- Fix type validation for tool calls
- Expose
assistant_end
messages to consumers of the VoiceProvider
- Export
playerQueueLength
from the voice provider
v0.1.11
- Migrate the React SDK to use the Hume Typescript SDK for the websocket connection instead of the @humeai/voice, which will be deprecated. This migration has resulted in a few breaking changes to types:
- Types exported from the React SDK are now all in camelCase instead of snake_case or Title Case
- prosody model scores on assistant_message and user_message are now more strictly typed as EmotionScore instead of Record<string, number>
- message content can now be undefined
- prosody can now be undefined
- call now disconnects from the /chat endpoint when the voice provider is unmounted
v0.1.10
- Updates
@humeai/voice-react
to stop playing all audio when a user message is received to improve UX around interruptions.
v0.1.9
- Adds methods for muting assistant audio
- Exposes chat metadata from
useVoice
v0.1.8
- removed muted check in mic data handler to fix mute transcription bug