This folder contains sample workflow definitions than be ran using the Declarative Workflow demo.
Each workflow is defined in a single YAML file and contains comments with additional information specific to that workflow.
A Declarative Workflow may be executed locally no different from any Workflow defined by code.
The difference is that the workflow definition is loaded from a YAML file instead of being defined in code.
Workflow<string> workflow = DeclarativeWorkflowBuilder.Build<string>("HelloWorld.yaml", options);Workflows may also be hosted in your Azure Foundry Project.
Python support in the works!
The sample workflows rely on agents defined in your Azure Foundry Project.
To create agents, run the Create.ps1 script.
This will create the agents used in the sample workflows in your Azure Foundry Project and format a script you can copy and use to configure your environment.
Note:
Create.ps1relies upon theFOUNDRY_PROJECT_ENDPOINT,FOUNDRY_MODEL_DEPLOYMENT_NAME, andFOUNDRY_CONNECTION_GROUNDING_TOOLsettings. See README.md from the demo for configuration details.