You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added usePipecatFlowNode(), which returns the node the bot's conversation flow is in, as the FlowNodeEnteredData of its latest flow-node-entered message, or null before the flow's first node and after disconnecting (RTVI 2.4.0+). It stays in sync through PipecatClientProvider, so components that mount after the flow entered the node still get it. It requires @pipecat-ai/client-js 1.17.0 or later; with an older version it stays null. (cc9cd8c)
With speaker diarization on, the conversation now keeps who said each part of the user's speech: ConversationMessagePart.speaker is the TranscriptionSpeaker from user-input (see @pipecat-ai/client-js). It's absent when the bot doesn't send one. One user message can hold parts from several speakers. (fefef61)
User message parts now carry the user's perception signals in expressive conversation (alpha): ConversationMessagePart.perception is the UserPerceptionSignal[] from user-input, such as the tone the bot's STT service heard. It's absent when the bot doesn't send any. (fefef61)
New usePipecatConversation option splitBySpeaker gives each speaker's run of the user's speech a message of its own in messages, with the run's speaker on ConversationMessage.speaker. Every message but a turn's last is final, and an interim part without a speaker yet stays in the message before it. onMessageCreated and onMessageUpdated still report the user's whole turn as one message. (fefef61, f547cc3)
Bug Fixes
client-react: stop using deprecated atomFamily in usePipecatClientMediaTrack (76df2b7)