The flow
Starts it 6Model 4Logic 6Service 10
The steps in the order they run, from what starts it.
- 1Receive ChatWebhookStarts it
- 2Joke ToolHttp Request ToolService
- 3Get Convos WebhookWebhookStarts it
- 4Get History WebhookWebhookStarts it
- 5used to create the conversations table, RAN ONLY ONCE !Data TableService
- 6LLMLm Chat GroqModel
- 7LLM1Lm Chat GroqModel
- 8CRITICAL: CLEAN DBData TableService
- 9Parse InputCodeLogic
- 10Generate ReplyAgentModel
- 11Fetch User ConvosData TableService
- 12Fetch Full HistoryData TableService
- 13Summarize conversationChain LlmModel
- 14Check ExistsData TableService
- 15Save AI MsgData TableService
- 16Format Convo ListCodeLogic
- 17Format OutputCodeLogic
- 18Is Existing?IfLogic
- 19Send ResponseRespond To WebhookStarts it
- 20Send Convos ResponseRespond To WebhookStarts it
- 21Send History ResponseRespond To WebhookStarts it
- 22Save User MsgData TableService
- 23Gen Conv IDCodeLogic
- 24Fetch HistoryData TableService
- 25Save New MsgData TableService
- 26Format HistoryCodeLogic