Skip to content

Releases: HumeAI/empathic-voice-api-js

v0.1.15

20 Sep 16:22
16c8f22
Compare
Choose a tag to compare
  • 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

10 Sep 19:23
c21c5d0
Compare
Choose a tag to compare
  • bumps hume to the latest version (0.8.10)

v0.1.13

06 Sep 13:53
ea5c245
Compare
Choose a tag to compare

What's Changed

  • Clear audio queue when assistant is paused
  • Breaking change: Renamed sendPauseAssistantMessage to pauseAssistant. Renamed sendResumeAssistantMessage to resumeAssistant.

v0.1.12

29 Aug 15:43
696087b
Compare
Choose a tag to compare
  • 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

27 Aug 17:00
6954fdb
Compare
Choose a tag to compare
  • 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

12 Jul 21:52
0605551
Compare
Choose a tag to compare
  • Updates @humeai/voice-react to stop playing all audio when a user message is received to improve UX around interruptions.

v0.1.9

26 Jun 20:54
3d66537
Compare
Choose a tag to compare
  • Adds methods for muting assistant audio
  • Exposes chat metadata from useVoice

v0.1.8

18 Jun 02:18
ab7ca34
Compare
Choose a tag to compare
  • removed muted check in mic data handler to fix mute transcription bug

v0.1.7

13 Jun 21:29
cb2f714
Compare
Choose a tag to compare
  • Updates clientSecret to secretKey in the getToken utility function
  • Update README

v0.1.6

30 May 20:23
2dc1a2b
Compare
Choose a tag to compare
  • Introduces ChatMetadata and resumed_chat_group_id to support resumable chats
  • Added the ability to pause and unpause the assistant
  • Minor fixes and improvements