您位於此處:
使用提示範本作為動作
新增提示範本作為另一個提示範本內的動作,以重複使用邏輯並標準化產生回應的方式。從另一個提示範本叫用一個提示範本,以建立更一致的模組化提示工作流程。

使用較常見的搜尋字詞。
選取較少篩選條件以擴大您的搜尋。
新增提示範本作為另一個提示範本內的動作,以重複使用邏輯並標準化產生回應的方式。從另一個提示範本叫用一個提示範本,以建立更一致的模組化提示工作流程。
| 提供版本:Lightning Experience |
| 提供版本:具有 Einstein for Platform、適於銷售的 Einstein 或 Agentforce 或 Service 附加元件,或適用於 Agentforce Foundations 的 Enterprise、Performance 及 Unlimited Edition |
提示範本動作會從另一個提示範本呼叫一個提示範本。
當作為動作使用時,參照的提示範本會在執行期間執行。它會根據其輸入產生回應,且該回應會回到主要提示。提示範本可以鏈結在一起,以建立提示鏈,其中每個範本都會建立在先前的範本上。
使用提示範本作為動作可協助您在多個範本之間重複使用提示邏輯。它會將常見使用個案的輸出標準化,並協助將複雜提示拆分為較小的可管理組件。
參照提示中提示範本動作的輸出。
Summarize the following response: {!Prompt_Template_Action_Output}
當提示執行時,會執行提示範本動作,且其回應會成為最終輸出的部分。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.