Answer AI
Uses an LLM-based AI model to generate an answer for the question asked.
Last updated
Was this helpful?
Uses an LLM-based AI model to generate an answer for the question asked.
Last updated
Was this helpful?
The Answer AI action block is designed to generate answers to user questions based on trained data.
When a user asks an open-ended question, the Answer AI block processes the query using AI Studio and generates a relevant response based on the data it has been trained on.
The user submits a question.
The AI processes the query and generates an answer from the knowledge base.
Craft a message that prompts the user to ask their question. For example:
👋 "Hey! I'm an AI assistant, how can I help you?"
Select the knowledge base from which the AI will generate an answer. This is the source of information the AI will reference when providing a response.
LLM models require clear guidance to generate relevant and accurate responses. Here are some tools you can use to help the AI:
A prompt is a guiding instruction that tells the AI what to focus on and how to respond. The clearer and more concise your prompt, the more accurate the answers will be.
Objective: Specify the purpose of the response.
Output Format: Indicate the desired format (e.g., HTML, Markdown).
Writing Style: Specify how the answer should be written (tone, structure).
Don'ts: List any instructions of what to avoid.
These steps will help configure the AI to deliver precise and relevant answers.
To make AI agent creation more streamlined, you can create and edit functions directly with in the bot builder. This allows for quicker setup and easier management of bot's capabilities.
To use a function within your bot flow, go to the Answer AI or Set AI Action block, then click on Execute Function. From there, you can either select a pre-defined function or click on Create Function to define a new one directly within the bot builder.