Is it possible to render custom UI in ChatKit?

I have a user case where I need to render a custom component for chat messages when using ChatKit. Is this possible with this library or not?

Set the output type to json and define the values you need to hydrate your UI. You will receive the populated json so you can render whatever UX you want.

thanks mcfinley. any resources talking about this? if no I can dig deeper, but would be nice to save some time.

Take a look at the “resume extraction” example here. In your case you’re not extracting facts from the contents of a resume, but you are extracting the properties of a custom UI component from the contents of a chat conversation: Build, deploy, and optimize agentic workflows with AgentKit

2 Likes

perfect, thanks mcfinley!