agenerate • AI Agents Framework
agenerate: Async version of generate() – Generate a workflow YAML file.
agenerate
Async
Method
</div>
This is a method of the WorkflowAutoGenerator class in the auto module.
Async version of generate() – Generate a workflow YAML file.
Signature
async def agenerate(pattern: str, merge: bool) -> strParameters
ParamField
strWorkflow pattern – “sequential”, “routing”, “parallel”, “loop”, “orchestrator-workers”, “evaluator-optimizer”
ParamField
boolIf True, merge with existing workflow file instead of overwriting
Returns
ResponseField
strPath to the generated workflow file
Source
View on GitHubpraisonai/auto.py at line 1838