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>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
#
|
|
# 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: OnActivity
|
|
id: workflow_test
|
|
actions:
|
|
|
|
- kind: CreateConversation
|
|
id: conversation_create1
|
|
conversationId: Topic.FirstConversationId
|
|
|
|
- kind: CreateConversation
|
|
id: conversation_create2
|
|
conversationId: Topic.SecondConversationId
|
|
|
|
- kind: SendActivity
|
|
id: sendActivity_conversation
|
|
activity: |-
|
|
Conversation 1: {Topic.FirstConversationId}
|
|
Conversation 2: {Topic.SecondConversationId}
|
|
|
|
- kind: AddConversationMessage
|
|
id: add_message
|
|
message: Topic.MyMessage1
|
|
role: User
|
|
conversationId: =Topic.FirstConversationId
|
|
content:
|
|
- type: Text
|
|
value: {System.LastMessage.Text}
|
|
|
|
- kind: SendActivity
|
|
id: sendActivity_message
|
|
activity: |-
|
|
Messsage 1: {Topic.MyMessage1}
|
|
|
|
- kind: CopyConversationMessages
|
|
id: copy_messages
|
|
conversationId: =Topic.SecondConversationId
|
|
messages: =[Topic.MyMessage1]
|
|
|
|
- kind: SendActivity
|
|
id: sendActivity_copy
|
|
activity: Done!
|