how to trigger update_chat_ctx() in realtimeSessio...
# ask-ai
h
how to trigger update_chat_ctx() in realtimeSession? I think update_chat_ctx is triggered by something, if I close the current generation, it will be triggered, but the problem is it can't receive the following data, because we don't have generation, if we don't do that, we will not trigger update_chat_ctx...
t
Thanks for reaching out, YUNYI. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please specify which version of the LiveKit SDK you are using and provide more context about where and how you are using the
realtimeSession
and
update_chat_ctx()
function in your application? Any code snippets or descriptions of your setup would be helpful to assist you better.