mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
74879489a4
* Checkpoint * Update workflows/DeepResearch.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Comment * Fix comment * Update package version * Fix nuget haxx * Checkpoint * Code complete * Testing * Message content workaround * Add sequential flow * Checkpoint * Integration test project * Checkpoint * Checkpoint cleanup * Complete * Update package --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
31 lines
716 B
YAML
31 lines
716 B
YAML
#
|
|
# This workflow provides the most basic example of providing a response that includes the user and environment input.
|
|
#
|
|
# No agent setup is required to run this workflow.
|
|
#
|
|
kind: AdaptiveDialog
|
|
beginDialog:
|
|
|
|
kind: OnActivity
|
|
id: workflow_test
|
|
actions:
|
|
|
|
# Capture input
|
|
- kind: SetVariable
|
|
id: setvar_userinput
|
|
variable: Topic.UserInput
|
|
value: =System.LastMessage.Text
|
|
|
|
# Capture environment variable
|
|
- kind: SetVariable
|
|
id: setvar_username
|
|
variable: Global.UserName
|
|
value: =Env.USERNAME
|
|
|
|
# Respond with input
|
|
- kind: SendActivity
|
|
id: sendActivity_demo
|
|
activity: |-
|
|
Hello {Global.UserName},
|
|
You said, "{Topic.UserInput}"
|