---
schema_version: "1"
id: 457a76af4937454f9148c0d1cf487a1745f84924b8ff86315ec1914389971956
title: Customize the Standard Answer Questions with Knowledge Prompt Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_standard_answer_questions_knowledge.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_standard_answer_questions_knowledge.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 148821e39935619595a28a077aa2df78c90e17a64576217fe8cd08e727e0693a
description: Customize the Answer Questions with Knowledge standard prompt template.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Customize the Standard Answer Questions with Knowledge Prompt Template

Customize the Answer Questions with Knowledge standard prompt template.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Einstein generative AI is available in Lightning Experience. Setup for Einstein generative AI is available in Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d200306e67">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d200306e67 ">To create and manage prompt templates in prompt builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d200306e67 ">Prompt Template Manager permission set</td>

          </tr>
        </tbody>
      </table>

To customize the Answer Questions with Knowledge template, we recommend that you copy and edit the standard prompt template. In the standard prompt template, we’ve added the key pieces of a successful prompt, including instructions for the LLM, data resources, and relevant inputs like the user query. You can still add and test your own instructions if you copy the standard Answer Questions with Knowledge prompt template.

1. From Setup, in the Quick Find box, enter Prompt Builder, and then select **Prompt Builder**.
    
    If you have Agentforce Data Library set up and active, under Prompt Templates is the Answer Questions with Knowledge prompt template with the Knowledge Answers template type.
2. To edit the standard prompt template, click the Answer Questions with Knowledge prompt template and you're redirected to the Prompt Template Workspace. Click **Save As** and a new version opens in the workspace.
    
    The standard prompt template user instructions include the task for the LLM, link to a data source, the user query, and any response limits. See [Review, Revise, and Repeat: Ensure That a Prompt Template Is Effective.](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_review_revise.htm&type=5&language=en_US)
    
    To test the Answer Questions with Knowledge prompt template, you need the Query and Retriever ID. The Query is the question asked by the user. For testing purposes you can enter any query related to your data source. The retriever is already created and activated in AI Models (formerly Einstein Studio). To get the Retriever ID or name, go to the retriever setup in AI Models. See [Manage Retrievers.](https://help.salesforce.com/s/articleView?id=data.c360_a_ai_retriever.htm&type=5&language=en_US)
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)
    
    Note When you add your own instructions to the prompt template or include a different retriever, your results will differ from using the standard Answer Questions with Knowledge prompt template. This applies to AI agents and generative AI features that use an Agentforce Data Library.
3. When you’re happy with your template and Einstein’s responses, click **Save & Activate**.
    
    Once it's active, your customized prompt template is used when a user asks an agent a question.

At runtime, the latest active Answer Questions with Knowledge prompt template is used for AI agents and generative AI feartures. If there are multiple active Answer Questions with Knowledge prompt templates, the latest active custom template is used instead of a modified standard template. To make sure you're using the right prompt template with your agents, check you have only one active at a time.

#### See Also

- [Agent Action: Answer Questions with Knowledge](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_answer_questions_with_knowledge.htm&release=264.0.0&type=5 "Answers a question from a user based on information from relevant knowledge articles and uploaded files.")
- [Agentforce Data Library](https://help.salesforce.com/s/articleView?id=ai.data_library_parent.htm&release=264.0.0&type=5 "Improve accuracy, add personalization, and build trust in gen AI responses when you assign data libraries to your Agentforce features. Agentforce Data Library uses grounding to index your knowledge articles and fields, your file uploads, or web sources, so that AI agents know which information to base responses on. With this index, AI agents can ensure the accuracy of LLM responses against your organization’s information so that you get the best results.")