Feature Request: Bulk Delete or Version-Based Grouping for Playground Chats
Feature Request
This feature request relates specifically to the chat interface within the Langflow Playground – the area where users interact with their flows via text input and see the responses.
When developing and testing a flow in Langflow, I frequently use the Playground to iterate and refine it. This process often involves running numerous tests, sometimes resulting in 20 or more chat sessions being created for a single version of the flow (as indicated by the multiple sessions in the attached screenshot).
The main challenge arises when I need to modify the underlying flow. After making changes, all the previous chat sessions become related to an outdated version of the flow. Continuing to test creates new chats mixed with the old ones, quickly leading to confusion about which chat corresponds to which version of the flow.
To maintain clarity and organize my testing process effectively, I need a way to easily discard all the chats associated with the previous flow version before testing the modified one.
Currently, deleting these chats seems to require manually clicking the three dots next to each individual session and selecting "delete," which is very time-consuming when dealing with many sessions. I haven't found a way to delete all chats with a single action.
Therefore, I propose the following feature(s):
Primary Request: "Delete All Chats" Button: Please add a button or option within the Playground's chat interface to delete all existing chat sessions simultaneously. This would allow users to quickly clear outdated test results after modifying a flow.
Alternative/Additional Idea: Version-Based Chat Grouping: Alternatively, or in addition, consider automatically grouping chat sessions based on the flow's state. For example, when a flow is saved or significantly modified, the previous chats could be automatically archived or placed into a collapsible group (e.g., "Chats for Version 1"), and new chats would start under the current version ("Chats for Version 2").
Could you please let me know if a feature for bulk deleting chats or automatically organizing them by flow version already exists?
Motivation
Motivation:
Problem: Managing a large number of Playground chat sessions generated during iterative flow development is difficult. It's easy to lose track of which chat belongs to which flow version after modifications, hindering efficient testing.
Improvement: A "Delete All" function or automatic version-based grouping would significantly streamline the testing workflow, reduce confusion, and make the Playground a more effective tool for iterating on flows.
User Experience: The current manual deletion process for multiple chats is cumbersome and disrupts the flow development cycle. Providing a bulk action or automatic organization would greatly enhance the user experience.
Your Contribution
No response
+1 to implementing a feature to delete all or some configurable clean-up mechanism as I now have 1000s of sessions IDs on my playground and there is no easy way to clear them away.