---
schema_version: "1"
id: 673c3d6caade0d5d3209b64b72a56947d21543d4803cb02ede604943a3810831
title: Answer Questions with Generative Knowledge Answers
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/bots_service_action_knowledge.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.bots_service_action_knowledge.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5dcb37648702e8233adcda52e69a4c77dd925caa24eba0c466de314773408c0b
description: Integrate generative AI into your enhanced bot with the Generative Knowledge Answers. When a customer asks your bot a question, Generative Knowledge Answers uses the Answer Questions with Knowledge agent action to search for relevant information in your knowledge base. It then generates a conversational response.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# Answer Questions with Generative Knowledge Answers

Integrate generative AI into your enhanced bot with the Generative Knowledge Answers. When a customer asks your bot a question, Generative Knowledge Answers uses the Answer Questions with Knowledge agent action to search for relevant information in your knowledge base. It then generates a conversational response.

### 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 with an Einstein for Sales, Einstein for Platform, or Einstein for Service add-on.</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="d68649e67">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d68649e67 ">To build and manage Einstein Bots:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d68649e67 ">
              <p>Customize Application</p>
              <p>OR</p>
              <p>Modify Metadata</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Manage Bots</p>
            </td>

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

To use Generative Knowledge Answers with Einstein Bots, enable Lightning Knowledge, Data 360, and Agentforce Data Library. For the best results, add at least 10 knowledge articles to your knowledge base.

Generative Knowledge Answers is available for enhanced bots only and isn't available in Governement Cloud.

In addition to English, Generative Knowledge Answers is available for in French, German, Italian, Japanese, Portuguese, and Spanish in certain locales (beta).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/images/icon_note.png)

Note Enhanced language support for Generative Knowledge Answers is a pilot or beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/) or a written Unified Pilot Agreement if executed by Customer, and the Non-GA Credit Consumption, Non-GA Gen AI, and the Non-GA Open AI LLM Provider terms in the [Product Terms Directory](https://ptd.salesforce.com/?_ga=2.247987783.1372150065.1709219475-629000709.1639001992). Use of this pilot or beta service is at the Customer's sole discretion.

Before editing your bot’s settings, deactivate the bot.

Generative Knowledge Answers uses the Answer Questions with Knowledge agent action to generate bot responses. Generative Knowledge Answers data sources and knowledge articles are indexed in Data 360. When a customer asks your bot a question that doesn’t match to a dialog, the agent action searches for relevant information by using the assigned data library’s search index and retriever. Then Agentforce generates a friendly message and delivers the AI-generated response to the bot. The bot sends the response as a message to the customer.

When you use the Answer Questions with Knowledge action in a dialog, use the generated answer output from the action result when responding to users. Don’t use the raw knowledge search results because they don’t include the AI-generated response and can return only supporting data or instructions.

Generative Knowledge Answers is powered by a large language model (LLM). Since LLMs are nondeterministic, and user input is enhanced with context from the conversation, the bot's responses can vary for the same input.

To get the most out of Generative Knowledge Answers, ask the bot detailed questions with at least two words.

1. From the Einstein Bots Setup page, click the name of your bot to open the Bot Builder. Then, from the Bot Builder, select **Overview**.
2. To enable Knowledge for the bot, go to the Settings section and edit Knowledge. Then select **Use features that intelligently search for knowledge articles with this bot**.
3. For the Knowledge feature, select **Answer Questions with Knowledge**.
4. By default, Generative Knowledge Answers grounds its response on all knowledge records and fields. To limit the information that the response is grounded on, select **Custom Knowledge records and fields**. Then select a data library.
    1. To create a data library, click **Go to Agentforce Data Library Setup**. Then, on the Agentforce Data Library Setup page, create a library, customize it, and assign it to Einstein Bots. Save your changes and then select the data library on your bot’s Overview page.
    2. Optionally, to deliver knowledge article sources with AI-generated bot messages, select **Show sources** and then enter your knowledge domain URL.
5. Save your changes.
    
    On your bot’s Dialog page, you now see the Answer Questions with Knowledge dialog.

If you make updates to the knowledge articles that Generative Knowledge Answers uses, refresh the data library index. On the bot's Overview page, on the Knowledge tile, click **Refresh Index**. Or go to the Agentforce Data Library Setup page, open the data library, and then refresh the index.

#### See Also

- [Known Issue](https://issues.salesforce.com/issue/a028c00000zJffF/)
- [Build Your Knowledge Base in Lightning Experience](https://help.salesforce.com/s/articleView?id=service.knowledge_lightning_parent_admin.htm&type=5&language=en_US)
- [Answer Questions with Knowledge](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_answer_questions_with_knowledge.htm&type=5&language=en_US)
- [Agentforce Data Library](https://help.salesforce.com/s/articleView?id=ai.data_library_parent.htm&type=5&language=en_US)