FlowiseAI / Flowise

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

[FEATURE] Link Chatflows Together in a Super Chain or Master Flow #1269

Open maximometascript opened 10 months ago

maximometascript commented 10 months ago

Summary I would like to be able to link together the output of one chain directly into another one.

Additional context Currently, an agent has to handle multiple chains or tools in parallel, but I'd like to see more linear or sequential programming possible. This could be a sequencer forcing one chatflow to execute before another, a chatflow chain/agent which embeds one into another, or a new interface for linking up chatflows at a higher level.

Examples For example, the user requests information on a student in a local database to obtain class records from the university. Sample prompt, "What is Sam Godiva's latest gradepoint average?" and the response could be "Sam Godiva's gradepoint average is currently 3.5 according to the latest information. This is up from 3.3 last semester." Example 1: [SQL Chain]-->[Sequencer Prompt Template]-->[GET API Chain] Example 2: [SQL Chain]-->[Chatflow Chain: GET API Chain] Example 3: [SQL Chain Chatflow]-->[Template or Linear Programming Module]-->[GET API Chain Chatflow]

HenryHengZJ commented 10 months ago

yep, this is another feature we are working on! to allow more sequential flow. stay tuned!

varunmehra5 commented 5 months ago

Was this pushed by any chance? Dify uses the same approach

timur-nocodia commented 5 months ago

This feature already pushed?

fudu69 commented 4 months ago

Very interested with this feature. Is there any schedule?