mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
f81b4a5abe
* Updated * Passing * Ready * Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Workflows/ConversationMessages.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Comment * Code analysis * Unit-tests/provider signature * Comment * Consistent --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
35 lines
976 B
YAML
35 lines
976 B
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: workflow_test
|
|
actions:
|
|
|
|
- kind: InvokeAzureAgent
|
|
id: invoke_inner1
|
|
agent:
|
|
name: =Env.FOUNDRY_AGENT_TEST
|
|
input:
|
|
messages: =UserMessage("Can an LLM think of funny jokes?")
|
|
output:
|
|
autoSend: false
|
|
|
|
- kind: InvokeAzureAgent
|
|
id: invoke_inner2
|
|
agent:
|
|
name: =Env.FOUNDRY_AGENT_TEST
|
|
input:
|
|
messages: =UserMessage("Do you know the joke about the chicken crossing the road? Tell me an improved version of that joke.")
|
|
|
|
- kind: InvokeAzureAgent
|
|
id: invoke_external
|
|
conversationId: =System.ConversationId
|
|
agent:
|
|
name: =Env.FOUNDRY_AGENT_TEST
|
|
input:
|
|
additionalInstructions: |-
|
|
Rate the originality of this well known joke that is being re-told on a scale of 1 to 10.
|
|
Take note on where improvements or changes were made.
|
|
output:
|
|
messages: Local.RatingResponse
|