Feature: Dynamic Form Rendering in Chat UI (Local Schema, API Submission, AI Notified by Status Only)
We want our AI chat assistant to trigger dynamic forms (e.g., onboarding, surveys, KYC, feedback) as part of the chat conversation. The AI will send a message with a form name (not the schema itself). The frontend will maintain a local registry of form schemas and render the appropriate form inline in the chat UI when requested. When the user submits the form, the data should be sent to the backend API (not to the AI). Only the result/status should be sent back to the AI via WebSocket.
- Maintain a local registry of form schemas in the frontend.
- When the AI sends a message with a form name, dynamically render the corresponding form inline in the chat UI.