FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
31.81k stars 16.58k forks source link

[FEATURE] API to insert / reply on behalf of the chatflow #3531

Open howardtokka opened 1 week ago

howardtokka commented 1 week ago

Hello, I am recently doing a instant messenger integration with a chatflow. There is a human is the loop flow where sometimes the chatbot response is being edited before sending back to the chat client directly. However the edited message is not recorded in the chat messages history with the standard chatflow function.

It will be great if we can insert back the edited response back into the chat message history list so when we use the API to retrieve all messages of a session, we can also see the reply from the staff.