#Can literally anyone explain how to get

1 messages · Page 1 of 1 (latest)

winter ether
#

Note there is a lag between this ^ being available and the conversation ending.

#

Does this solve your issue? or would you ideally liketo receive this transcript another way?

solid widget
#

Hy Louis! I tried implementing the first option, but I'm only getting transcript of what the model is saying, not the user.

Am I doing this wrong or is that how it's mean to function live?

winter ether
#

Thank you! Let me check this tomorrow, it should be the logs from both sources.

winter ether
#

Hey @solid widget I have just checked and we send both message types in the onMessage hook - are you not receiving user messages?

#

const conversation = useConversation({
overrides: {
agent: {
language: language ?? ("en" as any),
firstMessage:
LANGUAGES.find(l => l.code === language)?.firstSentence ??
LANGUAGES[0].firstSentence,
},
},
onConnect: ({ conversationId }) => {
setConversationId(conversationId);
startRecordingVideo();
},
onMessage: message => {
console.log("message:", { message });
},
clientTools: {
triggerName: async (parameters: { name: string }) => {
setName(parameters.name);
setIsCardOpen(true);
},
triggerAddItemToWishlist: async (parameters: {
itemName: string;
itemKey: string;
}) => {
setWishlist(prevWishlist => [
...prevWishlist,
{ name: parameters.itemName, key: parameters.itemKey },
]);
},
triggerRemoveItemFromWishlist: async (parameters: {
itemKey: string;
}) => {
setWishlist(prevWishlist =>
prevWishlist.filter(item => item.key !== parameters.itemKey)
);
},
},
});

bright fossil
#

Does this approach work in python @winter ether ?

golden imp
winter ether
#

Hey bear!

#

Could you please check this setting in your agent configuration

#

You need to make sure that the user_transcript & agent_response + agent_response_correct client events are added to this array