Chat & AI Assistantin progress
Real-time 1:1 conversations with coaches/participants over OpenIM, in-app message notifications, and a draggable AI chatbot that streams answers from the RAG assistant.
Flutter · GetX · OpenIM SDK (WS) · RAG assistant (SSE)
diagram · Chat & AI Assistant — Flutter · GetX · OpenIM SDK (WS) · RAG assistant (SSE)
1 layer 1 node 3 flows
01
LayerPresentation
UI · Controllers · Widgets
1 node
cards are peers grouped by layer — pick a flow to trace real callsclick any node to drill in →
Screens
Conversationswireframe
default
Conversation list from the OpenIM SDK, sorted by latest activity.
Conversations — emptywireframe
empty
No conversations yet (e.g. before subscribing to a coach).
Chatwireframe
default
1:1 thread. Sending fires an OpenIM text message; incoming messages stream in real-time. Tapping the header opens the participant's profile.
AI assistantwireframe
default
Floating chatbot window (draggable bubble). Streams the answer token-by-token over SSE.
AI assistant — signed outwireframe
error
No auth token → assistant can't be queried; prompt to sign in.