has anyone figured out how to reset the 'data' object that comes from vercel's useChat, that is implemented in the create-llama cli apps? I use the 'data' object to send citations and other important metadata for my app, but on subsequent chats it retains the previous information and gets bloated if a session goes on for too long. I don't see a resetData option on vercel's SDK and the only alternative is to reload the page which is slow
#resetting the data object from useChat in vercel ai sdk
1 messages · Page 1 of 1 (latest)
Hi @mild verge. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: