A2UI :: ChatKit Integration Exploration
OpenAI ChatKit is a clear opportunity for integration with A2UI, or at least attempting the integration.
I would love ideas on how to do this, because currently I'm stumped.
A few thoughts:
ChatKit custom servers supported 👍
We can create a custom server and manipulate things to create this prototype: https://platform.openai.com/docs/guides/custom-chatkit
ChatKit renders inside Iframes owned by OpenAI 👎
The official docs don't mention iframes https://platform.openai.com/docs/guides/custom-chatkit, but if you look at the chatkit-js package for the react renderer, you see on https://github.com/openai/chatkit-js/blob/main/packages/docs/src/content/docs/index.mdx#L90 "who hosts the iframe = OpenAI" even for the self-hosted backend
This means I cannot add, remove, augment any of the UI elements. I can only send chatkit shapped messages to them.
I am not confident in my interpretation of things. Please someone who is an expert in ChatKit show me the way.
I'm leaving this here for a while, because I do want to see what this would look like... but so far, I don't have a plan.