Testing and Customizing AI Responses

Chapter 4:

Step 4 - Test Your Chatbot

  1. Run your local development server.

  2. Test your chatbot by submitting messages and ensuring the AI responds appropriately.

  3. Adjust response handling and customize welcome messages in the chatbot’s configuration if necessary.

Step 6 - Customizing AI Prompts

You can also customize the AI’s responses by editing the prompt used for generating replies:

export const PROMPT_PREFIX = `As the SSK-Assistant, answer a potential customer’s question...`

Last updated