Documentation

Documentation

  • Conversation
  • Reader
  • Speech
  • Console
  • AI Agents
  • Languages iconEnglish
    • Tiếng Việt
    • Janpanese

›II. Building Chatbot on FPT.AI Platform

Documentation

  • Overview
  • I. Chatbot Introduction

    • What is Chatbot
    • Chatbot's purposes
    • Popular types of Chatbot
    • Benefits of using FPT.AI Chatbot
    • Starting with FPT.AI

    II. Building Chatbot on FPT.AI Platform

    • Working Mechanism
    • Bot building process
    • Creating your Chatbot
    • Natural Language Processing - NLP
    • Answer scenarios
    • New Bot scenarios - Bot Builder
    • Answer cards
    • Step connecting buttons
    • Getting customer's information using Form cards
    • Variable settings and management
    • Variable condition review
    • Memories
    • Send/get information via JSON API card
    • Reminder
    • Advanced functions
    • Persistent menu

    III. History

    • History - Updating Bot knowledge

    IV. Multi-channel Integration

    • Integrate with Facebook
    • Integrate with Facebook at Work
    • Integrate with Viber
    • Integrate with Zalo
    • Integrate with website
    • Webhook

    V. Broadcast

    • Broadcast

    VI. Auto Comment

    • Auto comment on Facebook

    VII. Automation Test

    • Check base on testcases
    • Auto create testcases

    VIII. Analytics

    • Introduction
    • Number of user's requests
    • Top matched intents
    • Chat with Bot
    • Number of new users
    • Top scenarios
    • Number of messages bot answered
    • Number of user's requests per hour
    • Number of active users per hour
    • Real-time analytics
    • Broadcast report

    X. Rating and Survey

    • Rating
    • Survey

    XI. Bot Setting - Management

    • Introduction
    • Bot information
    • Messages management
    • Data management
    • Bot intent confidence
    • Delete Bot data
    • Delete bot
    • Transfer bot ownership
    • Version

    XII. Bot Roles

    • Bot roles

    XIII. Chatbot SDK

    • Chat Bot SDK
  • Appendices

Live Support

  • Introduction
  • Customer list interface
  • Customer support flow
  • Note feature
  • Suppoter chat
  • KPI report feature
  • Ticket config
  • Ticket report
  • Archive conversation
  • Ticket management
  • Auto assign to supporters

Tutorials (Videos)

  • 1. Brief overview of FPT.AI
  • 2. Using QnA feature to create a Chatbot
  • 3. Creating Chatbot with complicated scenarios
  • 4. Precondition fucntion in Scenarios
  • 5. Random answer function in Scenarios
  • 6. NLP feature
  • 7. Exact match and Predictive Match in NLP
  • 8. History of Recognition
  • 9. Broadcast feature
  • 10. Live Support feature
  • 11. Persistent Menu
  • 12. Auto-comment feature on Facebook
  • 13. Bot roles
  • 14. Bot configuration in Settings section
  • 15. Integration Chatbot with Facebook
  • 16. Integration Chatbot with Facebook at Work

API Reference

  • Introduction
  • General
  • Natural Language Processing

    • Intent
    • Entity
    • Sample
    • Train
    • Predict
    • Keyword
    • Dictionary

    Dialogue Management

    • Get Answer
    • JSON Card
    • Types of the message

Building Chatbot on FPT.AI platform

Variable condition review

For Object Entities with the same Intent, but different Entity types, Bot will need to give 2 different responses to the 2 entity types. In this scenario, you will need to use “variable condition”

First, you will need to Create variable and Create 1 step beforehand.

Please notice that in scenarios that require variable condition review to get different answers, you should set Entity type to exact match.

Step 1: After creating the variable and step, choose the intent that needs editing. Attach intent “what_price” to the Bot answering condition menu.

Step 2: Create an answer using Text Card. In each card, select Add condition.

1

Step 3: Click on Select variable to choose type of variable to be attached to Entity.

2

Step 4: Choose the “=” comparison.

Step 5: Enter value to compare the entity types that Bot can recognize.

If Exact match is used, the Bot will recognize the real value as a keyword. Then, you will need to use this exact keyword for comparison.

3

Example: Bot builder had trained Bot to understand that “ip x” and “I phone x” all mean the same as “iphone X”. The bot can now recognize “ip x” as real value “iphone X” in the scenario. Therefore, it can answer correctly.

4

Notice:

  • You can explain the real variable values displayed in texts as: {{variable name}}

  • Comparisons:

=Compares if variable is equal to a particular value
!=Compares if variable is different to a particular value
>Compares if variable is larger than a particular value. In number comparisons, real values of variables have to be in numbers.
Starts withCompares if variable starts with a particular value.
<Compares if variable is smaller than a particular value. In number comparisons, real values of variables have to be in numbers.
ListedCompare variable to values in the variable list. In Value, you can enter different values, separated by a semicolon “;” Example: iphone;Samsung;xiaomi
Not listedCompare variable to values not in the variable list. In Value, you can enter different values, separated by a semicolon “;” Example: iphone;Samsung;xiaomi
IncludesCompares if variable includes a particular value sequence
  • Variables with values will be stored on the system for 24 hours. If you want to replace with different values (maybe new entities provided by customers), or delete variables, you will need to use Memories.
← Variable settings and managementMemories →
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation