試験Agentforce-Specialist-JPN トピック4 問題133 スレッド
Salesforce Agentforce-Specialist-JPNのリアル試験問題集
問題 #: 133
トピック #: 4
問題 #: 133
トピック #: 4
オプションを 1 つ選択します。
Universal Containers (UC) は外部サービスを登録し、テンプレートトリガーのプロンプトフローを作成しました。このフローは、外部サービスを呼び出して REST API からデータを取得します。UC は次に、外部サービスからの応答データを、プロンプトテンプレートの実行時に差し込み項目として使用できるようにする必要があります。
UC はこの要件をどのように満たすべきでしょうか?
Universal Containers (UC) は外部サービスを登録し、テンプレートトリガーのプロンプトフローを作成しました。このフローは、外部サービスを呼び出して REST API からデータを取得します。UC は次に、外部サービスからの応答データを、プロンプトテンプレートの実行時に差し込み項目として使用できるようにする必要があります。
UC はこの要件をどのように満たすべきでしょうか?
おすすめの解答:A 解答を投票する
As outlined in the AgentForce External Services and Prompt Flow Integration Guide, when data is retrieved from a registered external service via REST API, the response payload is stored as External Service Records. These records can then be referenced dynamically within prompt templates through External Service Record merge fields.
This approach allows the large language model (LLM) to use the fetched data as contextual grounding during prompt execution, ensuring that generated responses are accurate and consistent with the latest API results.
Option B is incorrect because AgentForce does not use XML merge fields for API responses; JSON data is automatically mapped to object structures. Option C is also incorrect - the "Add Prompt Instructions" element modifies prompt context or tone but does not pass external data for merge use.
Therefore, the correct method is Option A - Use External Service Record merge fields, ensuring the external service data is directly available for prompt templates.
Reference: AgentForce Developer Guide - "Integrating External Services and Using Merge Fields in Prompt Flows."
This approach allows the large language model (LLM) to use the fetched data as contextual grounding during prompt execution, ensuring that generated responses are accurate and consistent with the latest API results.
Option B is incorrect because AgentForce does not use XML merge fields for API responses; JSON data is automatically mapped to object structures. Option C is also incorrect - the "Add Prompt Instructions" element modifies prompt context or tone but does not pass external data for merge use.
Therefore, the correct method is Option A - Use External Service Record merge fields, ensuring the external service data is directly available for prompt templates.
Reference: AgentForce Developer Guide - "Integrating External Services and Using Merge Fields in Prompt Flows."
Kyouya 2026-02-17 09:53:25
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。