copilot
copilot copied to clipboard
Work in Progress: Enhancements for Improved User Experience and Workflow Handling
This pull request is a work in progress and represents the initial stages of our efforts to enhance the user experience and workflow handling within our application. The following ideas are currently being implemented:
-
Parsing Flow Response for UI Presentation: We are in the process of implementing flow response parsing to ensure effective presentation in the user interface, enhancing the overall user experience.
-
Error Handling and Context Saving: Our work includes the implementation of error handling mechanisms. In case of errors, the bot context will be saved to the database along with an operation ID (not to be confused with swagger op id). This will serve as a resume action, allowing users to clarify issues and resubmit their responses, with the bot seamlessly resuming the action.
-
Improved Handling of Similar Vector Embeddings: As part of this ongoing work, we are working on improving the handling of similar vector embeddings. The bot will send both corresponding flows to the UI when dealing with highly similar embeddings. Users will be able to confirm which flow to run, reducing ambiguity.
-
Multi-Tenant Architecture for Workflow Storage: We have initiated work on the implementation of a multi-tenant architecture for storing workflows. While this is still in progress, it will lay the foundation for better scalability and organization of workflow data.
-
Prompt for Workflow Duplication: As part of our ongoing efforts, we will implement a feature that checks if a newly created workflow is very similar to an existing one. If similarity is detected, the user will be prompted to confirm if they indeed want to create another similar workflow. This helps in preventing accidental duplication and ensures workflow organization.
Please note that this pull request is a work in progress, and the aforementioned enhancements are being actively worked on. We will continue to update this pull request as we make progress toward these goals. Your feedback and contributions are welcome as we strive to improve our application.
To be picked up after https://github.com/openchatai/OpenCopilot/pull/15