How do I set my AI to speak a specific word or sentence in Convai Narrative Design?

How do I set my AI to speak a specific word or sentence in Convai Narrative Design?

I’m trying to set up my AI character so that it always says specific, fixed responses based on user input.

Here’s the interaction I want to create:

  1. When the user asks the AI “What themes do you have?”, the AI should always respond:
    2.“I have these themes: Theme 1 and Theme 2. Which one would you like to activate?”
  2. If the user says “Theme 1”, the AI should respond exactly:
    4.“Activating theme 1”
  3. If the user says Theme 2", the AI should respond exactly:
    6.“Activating theme 2”

I want these responses to be always the same, without any variations.

  • Can this be done fully with Narrative Design, using the <speak> tag?
  • How should I set up the Sections, Objectives, and Decisions to handle this interaction?
  • Is there a better approach for forcing specific responses like this?

Any help or examples would be greatly appreciated!

Thanks!

Hello @Ajinad,

Yes, you should use speak tags in the objective.

<speak> I'll say this exact line! </speak>