mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
750a290931
* Initial plan * Fix broken markdown links to repo resources Co-authored-by: crickman <66376200+crickman@users.noreply.github.com> * Update README to rename .NET Workflows Samples section --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: crickman <66376200+crickman@users.noreply.github.com>
18 lines
660 B
Markdown
18 lines
660 B
Markdown
# Declarative Workflows
|
|
|
|
A _Declarative Workflow_ is defined as a single YAML file and
|
|
may be executed locally no different from any regular `Workflow` that is defined by code.
|
|
|
|
The difference is that the workflow definition is loaded from a YAML file instead of being defined in code:
|
|
|
|
```c#
|
|
Workflow workflow = DeclarativeWorkflowBuilder.Build("Marketing.yaml", options);
|
|
```
|
|
|
|
These example workflows may be executed by the workflow
|
|
[Samples](../dotnet/samples/03-workflows/Declarative)
|
|
that are present in this repository.
|
|
|
|
> See the [README.md](../dotnet/samples/03-workflows/Declarative/README.md)
|
|
associated with the samples for configuration details.
|