The overall components and structures are as follows
flowchart TD
title["Conversation Flow"]
style title fill:none,stroke:none,color:black,font-size:16px
title --- A
A[User Input] --> B{Message Processing}
B --> C["Local Session Storage (only for dev)"]
C --> D[API Request]
D --> E[Backend Fine-tuned LLM]
E --> F[Generate Response]
F --> G[Update UI with Message]
G --> |New User Message|A
%% Node styling
classDef boxStyle fill:#ffcccb,stroke:#ff6b6b,stroke-width:1px,color:#333333
classDef titleClass fill:none,stroke:none
A:::boxStyle
B:::boxStyle
C:::boxStyle
D:::boxStyle
E:::boxStyle
F:::boxStyle
G:::boxStyle
title:::titleClass
The conversation flow for doko.ai is as follows: