Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Step 3 – Answer questions with AI

Add an AI node that answers every other message and returns to the Answer node, so the customer can keep asking.

Every message that is not a goodbye goes to the AI node. The AI node answers and the conversation returns to ANS_MAIN to wait for the next question.

Add the AI node

  1. Open ANS_MAIN and go to the Fallback tab.

  2. Click the Next field at the bottom of the tab and choose AI (the blue hexagon) under Create a new node.

    The fallback is used when no intent matches. With the default settings, an unmatched message goes straight to its Next – here, to the AI.

  3. Studio opens the new AI node right away. Name it ASSISTANT – it becomes AI_ASSISTANT.

The Fallback tab of ANS_MAIN with its Next field open and the AI icon highlighted under Create a new node
The fallback leads to a new AI node

Tell the AI what to do

In the Essential tab, replace the text in Behaviour › Instructions (by default Be brief in your answers.) with instructions for the model, for example:

The Essential tab of AI_ASSISTANT with the four-line instructions in Behaviour, Instructions
Instructions for the model in Behaviour

Keep the preselected provider and model in the Configuration tab. They are the defaults chosen for your environment.

Return to the Answer node

At the bottom of the AI node, set Next to ANS_MAIN. After answering, the conversation goes back to the Answer node and waits for the customer's next message.

Close the node and click Save in the bottom bar. Your flow is complete:

Learn more: AI node, Essential tab.

Next: Step 4 – Add your own knowledge (optional), or skip to Step 5 – Train and test.

Last updated

Was this helpful?