AI node - GPT Dialog
Utilize GPT Dialog Node to develop conversational bots. Gather user information through realistic conversations. Control AI interactions using natural language prompts.
Last updated
Utilize GPT Dialog Node to develop conversational bots. Gather user information through realistic conversations. Control AI interactions using natural language prompts.
Last updated
The GPT Dialog Node in Gallabox allows you to create conversational bots that can understand and respond to natural language input. With this card, you can build bots that collect information from users using human-like conversations.
It contains the below sections:
Prompt: The prompt is where you provide instructions to your AI. This is like telling your AI what to do in the conversation. You can use simple, natural language instructions to guide the AI in its interactions.
User Message: This is the message provided by the user that will trigger the GPT Dialog card. If this card is the first card in your conversation flow, you can use {{intent.text}}
to capture the user's initial message. However, in later parts of the bot-flow, you can store the previous card's response in a variable and use it here. This helps the AI understand the context of the conversation.
Max Tokens: Max Tokens determine the maximum number of tokens that the GPT-model can use in its response.
Temperature: The temperature setting controls the randomness of the AI responses. A higher value, like 0.8, makes the responses more unpredictable and creative. A lower value, such as 0.2, makes the responses more focused and closely related to the prompt.
Function: The GPT model will return its output in a structured format via function calls. A function includes the name and parameters.
Name: The function name describes the function's purpose. It tells the AI what this function is meant to achieve.
Description: The description provides a brief explanation to the AI about what the function does.
Store the parameters in the Variable (optional): You can choose to store the data collected (parameters) from users in a variable. This allows you to use the customer responses effectively in the conversation flow, helping your bot remember and utilize the information.
Parameters
Parameters are the specific data points you want to collect from the users using AI.
Name: The name of the parameter is like a title for the data you want to collect. For instance, if you need to gather the customer's business name, you can name it "business_name"
Description (optional): The description gives the AI node more context about what this parameter represents. It's an optional explanation of the data you're collecting.
Type: The data type specifies what kind of information you want to collect. It can be a string (text), number, or Boolean (true/false).
Let's say you are using the AI node to collect the lead information.
Prompt:
User Message:
Max Tokens:
Temperature:
Function:
Parameter 1
Parameter 2
Parameter 3
Parameter 4
Once the user provides the necessary details to qualify as a lead, the information is stored in the "Lead_info" variable for further processing.
If you want to use, for example, the industry information collected from the customer elsewhere in the conversation flow, you can do so using a format like
"{{variables.Lead_info.industry}}
."