run-llama / llama_deploy

Deploy your agentic worfklows to production
https://docs.llamaindex.ai/en/stable/module_guides/workflow/deployment/
MIT License
1.71k stars 173 forks source link

how can i pass output of one workflow to another workflow #256

Open Rohith-Scalers opened 3 days ago

Rohith-Scalers commented 3 days ago

is there a way to pass output of one workflow to another , right now my query need to call multiple workflow but after one running first workflow it is stoping

logan-markewich commented 2 days ago

Make a workflow that calls one or more sub-workflows

This section of the readme will be helpful https://github.com/run-llama/llama_deploy?tab=readme-ov-file#deploying-nested-workflows

Rohith-Scalers commented 2 days ago

Thank you logan i got the idea , but is there a way to have nested workflow structure based on prompt , just like how react agent works i found passing workflows as a functional tool to a react agent is working great but is there a way to do this in llama deploy inherently. Thank you :)