Would using the realtime live feature work for human handoff for chatbot?
I am creating a chatbot using vercel AI SDK. I store the conversation inside of a data model. When the user wants to talk to a human the ai agent triggers a tool. This will set the conversation status to pending. On our Shopify app we will display these conversations so the client can answer them. I am wondering if we could use the live feature for both the frontend and backend? (shopify theme extension).
So when the client sends a message in the shopify app, it will add to the message field in the conversation field. Then because of the live feature, that would show up for the user in frontend. Because the live feature is using websockets right?