Perfecting a prompt template is an iterative process. You revise the prompt template,
regenerate a resolved prompt and response, and then make further revisions based on that updated
response. Every time you run a prompt template in Prompt Builder, you create a unique call to the
LLM. That means that resolving the same prompt can produce different responses. Remember to review
every response for accuracy, even if you’ve run the template before.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited
Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or
Service add-on, or Agentforce Foundations |
To revise a prompt template, edit your prompt template text directly in the Prompt Template
Workspace. Then regenerate the response by clicking Save &
Preview.
When you edit a prompt template, we recommend that you:
- Experiment with different selected records to ensure that the LLM produces consistent
responses.
- Save your template early and often. You can also create a copy of your prompt template by
clicking Save As.
- Study the language of the templates in the Example Prompt Template
Library, especially the text related to writing style. You can use similar phrasing in
your own templates.
For more information about creating effective prompt templates, see Best Practices for Building Prompt Templates.