UiPath Documentation
maestro
latest
false
Maestro ユーザー ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Get Conversation Context

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.

入力

フィールド説明
会話 IDThe ID of the conversation to read. Bind to the conversation trigger's output, for example $vars.conversationTrigger1.output.conversationId.
Exchange limitMaximum number of past exchanges to include in the returned conversation history. Determines how many past messages in the conversation history are returned.

出力

フィールド説明
conversationContextThe latest conversation context, including the message history.

The conversationContext contains the following fields:

フィールド説明
latestExchangeIdIdentifier of the most recent exchange (back-and-forth turn). Use as the Exchange ID input to Send Message when replying to the conversation.
messagesThe recent conversation history, including both the user's and Flow's messages. Exchange limit determines how many past exchanges to include.
userSettingsUser-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
  • 機能
  • 入力
  • 出力
  • 使用例
  • 関連ページ

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得