Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[FEATURE] Ability to load the json file exported by Flowise and run the chain contained in it

Open mmabrouk opened this issue 1 year ago • 5 comments

Describe the feature you'd like Flowise allow you to export the workflow generated as a json file. However there is no way to dynamically load the json file and run it. The only way to integrate with flowise is to call the api endpoint. It would be great if it were possible to load and run the json file dynamically from python. Something like


flow = from_json(file_name, parameters=param_dict)
flow.run(inputs)

mmabrouk avatar Jan 31 '24 15:01 mmabrouk

unfortunately that won't be possible unless we release our python sdk/library

HenryHengZJ avatar Feb 06 '24 17:02 HenryHengZJ

@HenryHengZJ would it possible to have this feature in js? (or is it already implemented)

mmabrouk avatar Feb 07 '24 08:02 mmabrouk

Nope we don't have it yet, we will have to develop our own JS sdk

HenryHengZJ avatar Feb 07 '24 10:02 HenryHengZJ

I can't wait to run the flows as servers or libs.

I'm thinking that if we have some flow JSON files and the Python scripts corresponding to the JSON files, maybe we can create some bots to convert them?

yaleh avatar Feb 09 '24 03:02 yaleh

there is an effort by community - https://github.com/FlowiseAI/Flowise/discussions/2041

HenryHengZJ avatar Mar 30 '24 10:03 HenryHengZJ