Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatically Generate and Validate flowData JSON Schema for Non-GUI Flow Creation #3532

Open
ejkitchen opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ejkitchen
Copy link

Feature Request: Programmatically Generate and Validate flowData JSON Schema for Non-GUI Flow Creation

Describe the feature you'd like

I am interested in a programmatic method to generate and validate the JSON flowData structure used by Flowise without relying on the GUI. Presently, Flowise requires users to build AI workflows by dragging and dropping controls in the GUI, which are then internally represented in a JSON schema within the flowData column in the database. However, for advanced usage, it would be beneficial if we could bypass the GUI altogether.

Instead of manually reverse-engineering the structure of this JSON, it would be ideal if there were an official API, SDK, or standardized library to:

  1. Generate flowData JSON: Allow developers to create the JSON configuration for workflows programmatically.
  2. Validate flowData JSON: Ensure the generated JSON adheres to the same validation rules as the GUI so we can confirm its correctness before saving it to the database.

This approach would allow developers to dynamically generate flows, perhaps by leveraging LLMs to build prompt chains directly, without relying on a manual, GUI-based approach. Additionally, having this feature would improve flexibility for teams looking to automate or customize workflows in bulk, support CI/CD processes, or integrate Flowise-based workflows into other systems programmatically.

Or maybe this is doable today but I haven't seen where and how to do this. Any help with this would be greatly appreciated!

EJK

@HenryHengZJ HenryHengZJ added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants