mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET Workflows - Integrate Element Aliasing (#835)
* Checkpoint * Update test workflows * Update workflows/MathChat.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update folder * Cleanup * Signed package version * Rollback nuget.config * Cleanup * Set `ProductContext` * Move product initialization. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
+3
-9
@@ -1,13 +1,7 @@
|
||||
#
|
||||
# This workflow demonstrates a conversation and message manipulation.
|
||||
#
|
||||
# Any Foundry Agent may be used to provide the response.
|
||||
# See: ./setup/QuestionAgent.yaml
|
||||
#
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnActivity
|
||||
kind: OnConversationStart
|
||||
id: workflow_test
|
||||
actions:
|
||||
|
||||
|
||||
+3
-9
@@ -1,13 +1,7 @@
|
||||
#
|
||||
# This workflow demonstrates a conversation and message manipulation.
|
||||
#
|
||||
# Any Foundry Agent may be used to provide the response.
|
||||
# See: ./setup/QuestionAgent.yaml
|
||||
#
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnActivity
|
||||
kind: OnConversationStart
|
||||
id: workflow_test
|
||||
actions:
|
||||
|
||||
|
||||
+3
-9
@@ -1,13 +1,7 @@
|
||||
#
|
||||
# This workflow demonstrates a conversation and message manipulation.
|
||||
#
|
||||
# Any Foundry Agent may be used to provide the response.
|
||||
# See: ./setup/QuestionAgent.yaml
|
||||
#
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnActivity
|
||||
kind: OnConversationStart
|
||||
id: workflow_test
|
||||
actions:
|
||||
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnActivity
|
||||
kind: OnConversationStart
|
||||
id: workflow_test
|
||||
actions:
|
||||
|
||||
|
||||
+3
-8
@@ -1,12 +1,7 @@
|
||||
#
|
||||
# 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: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnActivity
|
||||
kind: OnConversationStart
|
||||
id: workflow_test
|
||||
actions:
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
type: Message
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
actions:
|
||||
|
||||
- kind: EndConversation
|
||||
id: end_all
|
||||
|
||||
+5
-4
@@ -1,9 +1,10 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: ClearAllVariables
|
||||
id: clear_all
|
||||
variables: [ConversationScopedVariables]
|
||||
|
||||
+4
-5
@@ -1,9 +1,8 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
|
||||
+4
-5
@@ -1,9 +1,8 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
|
||||
+6
-4
@@ -1,13 +1,15 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
id: set_var
|
||||
variable: Topic.MyTable
|
||||
value: =[{id: 3}]
|
||||
|
||||
- kind: EditTable
|
||||
id: edit_var
|
||||
itemsVariable: Topic.MyTable
|
||||
|
||||
+6
-4
@@ -1,13 +1,15 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
id: set_var
|
||||
variable: Topic.MyTable
|
||||
value: =[{id: 3}]
|
||||
|
||||
- kind: EditTableV2
|
||||
id: edit_var
|
||||
itemsVariable: Topic.MyTable
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: EndConversation
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: GotoAction
|
||||
|
||||
+5
-4
@@ -1,9 +1,10 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
id: setVariable_count
|
||||
variable: Topic.Count
|
||||
|
||||
+5
-4
@@ -1,8 +1,9 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
|
||||
actions:
|
||||
- kind: SetVariable
|
||||
id: setVariable_count
|
||||
|
||||
+5
-4
@@ -1,8 +1,9 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
|
||||
actions:
|
||||
- kind: SetVariable
|
||||
id: setVariable_count
|
||||
|
||||
+5
-4
@@ -1,8 +1,9 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
|
||||
actions:
|
||||
- kind: ParseValue
|
||||
id: parse_var
|
||||
|
||||
+5
-4
@@ -1,9 +1,10 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
id: set_var
|
||||
variable: Topic.MyVar
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
|
||||
+5
-4
@@ -1,9 +1,10 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetTextVariable
|
||||
id: set_text
|
||||
variable: Topic.TestVar
|
||||
|
||||
+5
-4
@@ -1,9 +1,10 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
id: set_var
|
||||
variable: Topic.TestVar
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
kind: AdaptiveDialog
|
||||
beginDialog:
|
||||
kind: OnActivity
|
||||
kind: Workflow
|
||||
trigger:
|
||||
|
||||
kind: OnConversationStart
|
||||
id: my_workflow
|
||||
type: Message
|
||||
actions:
|
||||
|
||||
- kind: EndConversation
|
||||
id: end_all
|
||||
|
||||
Reference in New Issue
Block a user