maestro
latest
false
Maestro 用户指南
- 简介
- 入门指南
- 使用 Maestro BPMN 进行构建
- 使用 Maestro Case 构建
- 使用 Maestro Flow 进行构建
- Maestro Automate
- 集成
- 运营
- 监控
- 正在优化
- 参考信息
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
Node that retrieves the latest conversation context, including recent chat history and user profile information.
操作
Retrieves the latest conversation context — the recent chat history and user profile information.
重要提示:
Wait for Message already returns the conversation context as its output after the user sends a chat message. The Get Conversation Context node is generally not needed for building chat loops, and should only be used for rarer cases where a downstream node needs the current conversation state but shouldn't pause for the next user message.
输入
| 字段 | 描述 |
|---|---|
| 对话 ID | The ID of the conversation to read. Bind to the conversation trigger's output, for example $vars.conversationTrigger1.output.conversationId. |
| Exchange limit | Maximum number of past exchanges to include in the returned conversation history. Determines how many past messages in the conversation history are returned. |
输出
| 字段 | 描述 |
|---|---|
conversationContext | The latest conversation context, including the message history. |
The conversationContext contains the following fields:
| 字段 | 描述 |
|---|---|
latestExchangeId | Identifier of the most recent exchange (back-and-forth turn). Use as the Exchange ID input to Send Message when replying to the conversation. |
messages | The recent conversation history, including both the user's and Flow's messages. Exchange limit determines how many past exchanges to include. |
userSettings | User-level profile fields, configurable by the end-user on the channels. |
用法示例
Reference the full context in a downstream Conversational Agent node:
$vars.getConversationContext1.output.conversationContext
$vars.getConversationContext1.output.conversationContext
Reference the latestExchangeId in a downstream Send Message node:
$vars.getConversationContext1.output.conversationContext.latestExchangeId
$vars.getConversationContext1.output.conversationContext.latestExchangeId
相关页面
- Wait for Message — the default way to read conversation context.
- Chat — full palette of chat conversational nodes.
- Build a chat agent workflow — end-to-end walkthrough.
- Chat deployment — publish and expose the Flow through various channels.