maestro
latest
false
Maestro Orchestrate 用户指南
- 简介
- 入门指南
- 可在任何画布上构建
- 使用案例构建
- 使用流构建
- 使用 BPMN 构建
- 运营
- 监控
- 正在优化
- 参考信息
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
发送消息
“发送消息”可将任意响应消息写入聊天对话。
操作
使用可用于固定回复、路由通知以及向聊天发送节点输出的任何消息响应用户。
备注:
Send Message can only reply within an exchange that a user has initiated, which means the user must send a message first before the workflow can respond to the chat. Workflow-initiated exchanges, sending a message without a prior user turn, are not yet supported.
输入
| 字段 | 描述 |
|---|---|
| 对话 ID | 要写入的对话的 ID。绑定到对话触发器的输出,例如$vars.conversationTrigger1.output.conversationId 。 |
| 交换 ID | 要附加此消息的会话(来回轮次)。绑定到等待消息节点的最新交换,例如$vars.waitForMessage1.output.conversationContext.latestExchangeId 。 |
| 内容 | 消息内容。支持表达式以注入变量数据。 |
| MIME 类型 | 内容的格式。它已被设置为text/markdown ,且无法更改。 |
用法示例
固定消息
在长时间运行的节点之前发送静态确认:
Hold on a moment while we process your request...
Hold on a moment while we process your request...
在启动专家智能体循环的等待消息之前,宣布路由到专家对话智能体:
You have been routed to the specialist agent. How can we help you today?
You have been routed to the specialist agent. How can we help you today?
带有变量的表达式
“使用变量”通过表达式发出上游节点的输出:
`The result is ${$vars.previousNode.output.result}.`
`The result is ${$vars.previousNode.output.result}.`
后续步骤
- 等待消息:提供此节点使用的
latestExchangeId。 - 对话智能体:由大型语言模型 (LLM) 驱动的替代方案;生成包含工具调用的流式响应。
- 聊天: 所有聊天对话节点。
- 构建聊天智能体工作流:端到端演练,使用“发送消息”进行交接确认和确定性回复。
- 聊天部署:部署工作流并使其在聊天频道中可用。