Simulating a conversation and building a Facebook chatbot

Before moving a Facebook channel to a production environment, you can verify whether the chatbot is working correctly by using the preview console. You simulate a chatbot conversation by testing the system and custom responses, topics, and cases, based on commands or other input that you enter. After you make changes to the channel configuration in the preview console, you add them to the model and rebuild it. This action improves the artificial intelligence of the chatbot and its responses to commands.

You can simulate and build a chatbot conversation in the preview console once you save a channel interface configuration.

Note: To use Pega Intelligent Virtual Assistant for Facebook in your application, you must obtain and install the Facebook channel component from Pega Exchange.
  1. In the preview console, enter a command or a greeting message.
    I need to travel to Paris.
    A response appears, such as a request for user input, or information that the chatbot did not understand the command.
  2. Define a topic. For more information, see Configuring a topic in the Facebook chatbot preview console.
  3. Define a question. For more information, see Configuring a question in the Facebook chatbot preview console.
  4. Define the response and its command. For more information, see Configuring a response in the Facebook chatbot preview console.
  5. Define the case and map extraction. For more information, see Configuring a case and entity extraction in the Facebook chatbot preview console.
  6. Test and configure additional topics, questions, responses, and cases for the chatbot by repeating steps 1 to 5.
  7. Build the model based on the configuration changes that you made during the conversation simulation by clicking Build model.