AI Model

Uses an AI Model to answer open-ended questions asked by the visitor.

For smarter replies and to answer open-ended queries from visitors, one would use the AI model action block.

The AI model action block uses OpenAI APIs to answer the question from the trained data.

Configurations on AI model

AI model

Shows the list of AI models trained using the AI studio. Learn more

Based on the AI model you choose, the chatbot would answer the queries. Make sure you have trained the AI model with the right information.

Variable

To get an answer to your question from the AI model, we need to send the question to it.

It is expected, that before the "AI model" action block, you must use a "Collect input" action block to ask the question and store the question asked into a variable.

That variable which contains the question, is what is to be chosen here.

Persona

Define the persona text based on which the AI model would give its response. Basically, this helps you get an answer to a question the way you feel easy to consume.

Common examples of persona are,

  • Answer the questions asked in a simple and easy to understand manner

  • Answer these questions as a 5-year old

  • Give me answers considering me as a technical person

  • For the duration of this conversation, please fully immerse yourself in the persona of Albert Einstein

Restrict answer size

When a question is asked to the AI model, you can choose to define how long you want the responses to be.

This number is defined based on the unit of tokens.

Tokens can be thought of as pieces of words; and 1 token=4 characters. Learn more

Creativity in responses

You can control whether you would like to receive unique responses every time a question is asked or get the same response every time the question is asked.

Define a number between 0 and 1. Nearer to 1 gives you distinct responses, and nearer to 0 gives you fixed responses. By default, we keep the number as 0.5.

Allow external data

When you build an AI model using a domain or a set of files, your ideal goal is to have the chatbot answer the queries from that data only.

This configuration allows you to control whether you want the chatbot to answer questions from the global ChatGPT model or restrict it to only the trained data of that AI model.

By default, this configuration is turned OFF.

Ask for feedback

After answering a question, the chatbot would ask for feedback i.e. thumbs up or down.

The results of this feedback will be visible on the AI studio page.

How do I set it up?

In order to configure the AI Model action block, you can follow the following steps;

  • Add an action block on canvas by clicking on '+'

  • Choose 'AI Model'

  • Double click on 'AI Model' to configure the following;

    • Select AI Model: Select the AI Model from the drop down list of created AI Models that you want to link it with the chatbot

    • Map the Variable: Select the variable that stores the response or question from the list of variables

    • Ask for Feedback: Switch on the switch if you would like to receive feedback from the visitors about the response bot provided to their question

  • Define 'Success' or 'Failure' flow i.e. what happens when the bot has successfully answered the question or failed to answer the question

Last updated