how to use useChat From vercel.ai with trpc router?

what api endpoint should I specify to correctly have access to the data in the chatRouter?
chatts.png
ct3a.png
root.png
useChat.png
Was this page helpful?