You are here: Configuring your application > Conversational user channels > Configuring the Facebook channel > Configuring Facebook text analyzer definitions

Configuring Facebook chatbot text analyzer definitions

The Facebook chatbot configuration for a Pega Intelligent Virtual Assistant includes a text analyzer definition based on natural language processing (NLP) in which you can define intents. Defining intents in the Facebook configuration allows the chatbot to determine the best response based on user's input.

To configure and test the validity of system and custom responses for a Facebook chatbot, use the preview console.

Note: You must purchase a separate license before using Pega Intelligent Virtual Assistant in your application. You must also obtain and install the Facebook channel component from Pega Exchange.

  1. Click the name of your application and click Channels and Interfaces.

  2. Click a Facebook channel interface.

  3. Click the Behavior tab.

  4. In the Text Analyzer section, click Edit intents.

    1. Click + Add intent.
    2. Fill out the following fields:

      • Intent - Required. The command for the chatbot to use as the response, the expressed intent of a user. The command is based on user input that corresponds to a value in the must match or the approximate match field.
      • Must match - Optional. User input that is an exact match as the intended command. For example, for an initial greeting response, you can specify 'hi'.
      • Approximate match - Optional. User input that is an approximate match as the intended command. For example, for an initial greeting response, you can specify: 'hello' or 'good morning'.
      • Never match - Optional. User input that must never match the intended command. For example, for an initial greeting response, you can specify 'bye'.
    3. Repeat steps a and b to define additional intents.
    4. Click Submit.
  5. Click Save.