WooChat Docs
Login
  • 👋Welcome to WooChat Docs
  • GET STARTED
    • Signup
  • Connect WhatsApp Channel
    • Pre-requisites
    • Connect your WhatsApp
    • Meta Business Verification
    • Apply for WhatsApp Green Tick
    • Messaging Limits & Quality Ratings
    • WooChat Account Setup FAQs
  • CONVERSATIONS
    • WooChat Conversations Glossary
    • Inboxes
    • Team Inbox
    • Initiate a New Chat
    • Compose Box
    • Manage Inbox
    • Quick Replies
    • WooChat Conversations FAQs
  • Audience
    • WooChat Contact Glossary
    • Add Contact
    • Tags
    • Contact Segments
    • Field Collection
    • Contact Updation
    • Contact Deletion
    • Marketing Opt-In
      • Marketing opt-in on contact creation
      • Marketing opt-in Handling Methods
      • Marketing opt-out Management
  • BOTS
    • WooChat Bot Glossary
    • Bot Essentials
    • Bot in WooChat
    • Flow in the Bot
    • Send Card
      • Send Text
      • Send Media
      • Send Collection
      • Send Voice
      • Send Products
      • Send Template
      • Send Form
      • Send Payments
      • Send Location
    • Ask Questions
      • Ask Text
      • Ask Date
      • Ask Email
      • Ask Number
      • Ask Phone
      • Ask URL
      • Ask File
      • Ask Location
      • Ask Button Option
      • Ask Address
      • Ask Keyword Option
      • Ask List Option
      • Ask Collection List
      • Ask Form
      • Ask Payments
    • Bot Utilities
      • Send Button Option
      • Send List Option
      • Delay
      • Condition
      • Set Variable
      • Jump to
      • Switch
      • AI node - GPT Dialog
      • AI node - GPT Knowledge Base
      • Working hours
      • Hint
    • Bot Actions
      • Assign Conversation
      • Unassign Conversations
      • Resolve Conversations
      • Update Conversation Fields
      • Update Contact Fields
      • Update Company Fields
      • Push to Sequence
      • Add Note & Mention
    • Set up Default Bot
    • Bot Management
    • WooChat Bot FAQs
  • Whatsapp Campaigns
    • WooChat Campaigns
    • Select Audience
    • Select Template
    • Review and Send Campaigns
    • Campaigns Analytics and Report
    • WooChat Campaigns FAQs
  • ACCOUNT MANAGEMENT
    • Account Essentials
    • User, Teams, and Roles
    • Account Details
  • Pricing & Billing Modules
    • Conversation Pricing
    • Message Credits
    • Billing & Subscriptions
    • FAQs
  • Whatsapp Templates
    • WhatsApp Templates
      • Template Creation and Editing
      • Custom Marketing and Utility Templates
      • Product Marketing Templates
      • Order Details Template
      • Carousal Template
      • WhatsApp template URL tracking
      • FAQs - WhatsApp Template Messages
  • DEVELOPER RESOURCES
    • API Key
    • API Docs
  • Privacy and Security
    • Data Security and Infra
    • Security FAQ
    • Subprocessors
  • EXTRAS
    • WhatsApp Business API - Unsupported Messages
    • Understanding Message Delivery Issues on WhatsApp
    • WhatsApp’s New Per-user Messaging Limits
Powered by GitBook
On this page

Was this helpful?

  1. BOTS
  2. Bot Utilities

AI node - GPT Dialog

PreviousSwitchNextAI node - GPT Knowledge Base

Last updated 9 months ago

Was this helpful?

Who can use this Card?

  • WooChat Users having permission to either build and deploy bots or manage bots.

  • Available on Pro Plan.

Overview

The GPT Dialog Node in WooChat 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:

  1. 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.

  2. 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.

  3. Max Tokens: Max Tokens determine the maximum number of that the GPT-model can use in its response.

  4. 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.

  5. 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).

Example

Let's say you are using the AI node to collect the lead information.

Prompt:

Assume you are a sales associate at ABC company. You collect information about leads to qualify them. You will ask them the following data.

- Business name
- Industry
- Company size
- email ID 

User Message:

Max Tokens:

Temperature:

Function:

Information of the customer collected

Store Parameters in Variable:

Lead_info
  • Parameter 1

name of the customer business
  • Parameter 2

  • Parameter 3

number of employee's in the company
  • Parameter 4

email address of the customer

Using the Collected Data

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}}."

tokens