Comment on page
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.
AI model - Action panel overview
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.
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.
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
When a question is asked to the AI model, you can choose to define how long do you want the responses to be.
This number is defined based on the unit of token.
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 fix responses. By default, we keep the number as 0.5.
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 only the trained data of that AI model.
By default, this configuration is turned OFF.
After answering a question, the chatbot would ask for feedback i.e. thumbs up or down.
The results of this feedback would be visible on the AI studio page.
AI model card showing the feedback gathered from visitors