Customize the default prompt templates for creating knowledge articles to align with your company's needs. You can modify any part of the template, from the fields it populates to the instructions it gives the large language model (LLM).
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, and Unlimited Editions with Agentforce IT Service. |
| User Permissions Needed | |
|---|---|
| To create and manage prompt templates in Prompt Builder: | Prompt Template Manager permission set |
To modify the existing knowledge creation prompt templates (Create Knowledge Articles from Incidents or Create Knowledge Articles from Problems) for IT Services, see Modify Prompt Templates for IT Service AI Actions.
Example
This example demonstrates how to modify a prompt template to include a new field.
| Step Sequence | Action |
|---|---|
| 1 | Create a custom field on the Knowledge object and enter Affected System in the field label. In the field name, enter Affected_System. |
| 2 | Add the new custom field to the new version of the Create Knowledge Articles from Incidents prompt. |
| 3 | In the JSON format section, Add the field name and a brief description in the JSON format section. For example, ”Affected_System__c”:”Affected systems due to the issue”,. |
| 4 |
In the Prompt Instructions section, add instructions for generating data for the Affected Systems field. You can paste this as the instruction:
|
| 5 | In the Grounding Fields section , select the resources for grounding the data. For example, type Incident Category: and select Grounding Record | Category from the Insert Resource menu. |
| 6 | Save and activate the prompt. |