Documentation

Documentation

  • Conversation
  • Reader
  • Speech
  • Console
  • AI Agents
  • Languages iconTiếng Việt
    • English
    • Janpanese

›Quản lý hội thoại

Tài liệu

  • Giới thiệu
  • I. Giới thiệu Chatbot

    • Chatbot là gì
    • Mục đích của Chatbot
    • Các loại Chatbot phổ biến
    • Lợi ích khi sử dụng Chatbot FPT.AI
    • Bắt đầu với FPT.AI

    II. Xây dựng chatbot trên nền tảng FPT.AI

    • Cơ chế hoạt động
    • Quy trình xây dựng Bot
    • Tạo Chatbot
    • Xử lý ngôn ngữ tự nhiên - NLP
    • Kịch bản tạo câu trả lời
    • Kịch bản Bot - Bot Builder (mới)
    • Các thẻ trả lời
    • Nút liên kết bước
    • Lấy thông tin khách hàng sử dụng thẻ Form
    • Cài đặt và quản lý biến
    • Kiểm tra điều kiện của biến
    • Thẻ bộ nhớ
    • Gửi/ nhận thông tin qua thẻ JSON API
    • Tính năng nhắc nhở
    • Tính năng nâng cao
    • Menu cố định

    III. Lịch sử

    • Cập nhập hiểu biết của Bot

    IV. Tích hợp trên các kênh chat

    • Tích hợp với Facebook
    • Tích hợp với Facebook at Work
    • Tích hợp với Viber
    • Tích hợp với Zalo
    • Tích hợp vào website
    • Webhook

    V. Gửi thông báo

    • Gửi thông báo

    VI. Tự động trả lời bình luận

    • Tự động trả lời bình luận trên Facebook

    VII. Tính năng kiểm tra tự động

    • Kiểm tra dựa trên testcases
    • Tự động tạo testcases theo kịch bản thực của Bot

    VIII. Thống kê

    • Giới thiệu tính năng thống kê
    • Thống kế số lượng yêu cầu của người dùng
    • Xếp hạng ý định
    • Chat với Bot
    • Số lượng người dùng mới
    • Xếp hạng kịch bản
    • Số tin nhắn Bot trả lời theo kịch bản
    • Số yêu cầu theo từng giờ
    • Số người dùng theo từng giờ
    • Thống kê theo thời gian thực
    • Thống kê cho gửi thông báo

    XI. Đánh giá và Khảo sát

    • Tính năng đánh giá
    • Tính năng khảo sát

    XI. Cài đặt - Quản lý Bot

    • Cài đặt - Quản lý Bot
    • Thông tin Bot
    • Quản lý tin nhắn
    • Quản lý dữ liệu
    • Độ tin cậy của Bot
    • Xóa dữ liệu của Bot
    • Xóa Bot
    • Chuyển quyền sở hữu Bot
    • Phiên bản

    XII. Vai trò trên Bot

    • Vai trò trên Bot

    XIII. Chatbot SDK

    • Chat Bot SDK
  • Appendices

Hỗ trợ trực tuyến

  • Giới thiệu hỗ trợ trực tuyến
  • Giao diện danh sách khách hàng
  • Luồng hỗ trợ trực truyến
  • Tính năng ghi chú
  • Trò chuyện nội bộ
  • Tính năng báo cáo KPI
  • Cấu hình báo cáo phiên hỗ trợ
  • Báo cáo Phiên hội thoại
  • Lưu trữ cuộc trò chuyện
  • Quản lý luồng thông tin thu thập
  • Tự động chỉ định

Hướng dẫn (Videos)

  • Tổng quan nền tảng tạo chatbot FPT.AI Conversation
  • Tạo chatbot hỏi đáp với tính năng QnA
  • Tạo Chatbot với kịch bản phức tạp
  • Tính năng Precondition trong mục Kịch bản
  • Chức năng Trả lời ngẫu nhiên trong khi thiết kế Chatbot
  • Dạy chatbot hiểu khách hàng với tính năng NLP
  • Trích xuất chính xác và trích xuất tiên đoán trong NLP
  • Theo dõi Lịch sử nhận diện
  • Tính năng Gửi thông báo
  • Chức năng Hỗ trợ trực tuyến
  • Thiết lập Menu cố định
  • Tính năng Tự động bình luận trên Facebook
  • Thiết lập Vai trò trên Bot
  • Cấu hình Bot trong mục Cài đặt
  • Kết nối Chatbot với Facebook
  • Kết nối Chatbot với Facebook at Work

API

  • Giới thiệu
  • Tổng quan
  • Xử lý ngôn ngữ

    • Ý định
    • Thực thể
    • Câu mẫu
    • Đào tạo
    • Tiên đoán
    • Từ khóa
    • Từ điển

    Quản lý hội thoại

    • API Lấy câu trả lời của bot
    • Thẻ JSON
    • Các loại tin nhắn

API Reference

Types of the message

DME have some types of the message include: Text, Image, Carousel, Form, Quick reply card

Text message

The message send to user.

Formart of message is:

{
  "channel": "api",
  "app_code": "<bot code>",
  "messages": [
    {
      "type": "text",
      "content": {
        "text": "Content of message",
        "buttons": [
          {
            "title": "B1",
            "payload": "<Step name>#base64(payload_data)"
          },
          {
            "title": "B2",
            "url": "https://fpt.ai"
          },
          {
            "title": "B3",
            "phone_number": "+84999999999"
          }
        ]
      }
    }
  ],
  "sender_id": "sender_id_abc"
}

Description

PropertyRequiredDescription
channelyesChannel of message
app_codeyesBot code
sender_idyesID of end user
typeyesType of message in this case is 'text'
content.textyesContent of message
content.buttonsNoButtons array of message. It can is empty
content.buttons.titleyesText label for button
content.buttons.payloadnoStep code will jump to
content.buttons.urlnoURL will open
content.buttons.phone_numbernoPhone number will call

Image message

The message is images send to user.

Formart of message is:

{
  "channel": "api",
  "app_code": "<bot code>",
  "messages": [
    {
      "type": "image",
      "content": {
        "title": "<title>",
        "url": "https://cdn-static-v3.fpt.ai/upload/cca157c89f060dbaa6250da371ca363b/46954f056fcd28e60be401d9354fd68c.png"
      }
    }
  ],
  "sender_id": "sender_id_abc"
}

Description

PropertyRequiredDescription
channelyesChannel of message
app_codeyesBot code
sender_idyesID of end user
typeyesType of message (in this type is 'image')
content.titleyesTitle of image
content.urlyesURL of image

Carousel message

The message is carousel send to user.

Formart of message is:

{
  "channel": "api",
  "app_code": "<bot code>",
  "messages": [
    {
      "type": "carousel",
      "content": {
        "carousel_cards": [
          {
            "image_url": "<image url>",
            "subtitle": "B1 Desc",
            "title": "New Carousel",
            "buttons": [
              {
                "title": "B1",
                "payload": "<Step name>#base64(payload_data)"
              }
            ],
            "item_url": ""
          },
          {
            "image_url": "<image url>",
            "subtitle": "B2 Desc",
            "title": "New carousel",
            "buttons": [
              {
                "title": "B2",
                "payload": "<Step name>#base64(payload_data)"
              }
            ],
            "item_url": ""
          }
        ]
      }
    }
  ],
  "sender_id": "sender_id_abc"
}

Description

PropertyRequiredDescription
channelyesChannel of message
app_codeyesBot code
sender_idyesID of end user
typeyesType of message (in this type is 'carousel')
content.carousel_cardsyesThe array of Carousel cards.
content.carousel_cards.titleyesTitle of card
content.carousel_cards.subtitleyesDescription of card
content.carousel_cards.buttonnoThe array of buttons
content.carousel_cards.item_urlnoThe link will open if click on item of carousel

Form message

The message send to user.

Formart of message is:

{
  "channel": "api",
  "app_code": "<bot code>",
  "messages": [
    {
      "type": "text",
      "content": {
        "text": "<content>"
      }
    }
  ],
  "sender_id": "sender_id_abc"
}

Description

PropertyRequiredDescription
channelyesChannel of message
app_codeyesBot code
sender_idyesID of end user
typeyesType of message in this case is 'text'
content.textyesContent of message

Quick Reply Card message

The message send to user.

Formart of message is:

{
  "channel": "api",
  "app_code": "<bot code>",
  "messages": [
    {
      "type": "quick_reply",
      "content": {
        "text": "Content of message",
        "buttons": [
          {
            "title": "B1",
            "payload": "<Step name>#base64(payload_data)"
          },
          {
            "title": "B2",
            "url": "https://bot.fpt.ai"
          },
          {
            "title": "B3",
            "phone_number": "+84999999999"
          }
        ]
      }
    }
  ],
  "sender_id": "sender_id_abc"
}

Description

PropertyRequiredDescription
channelyesChannel of message
app_codeyesBot code
sender_idyesID of end user
typeyesType of message in this case is 'quick_reply'
content.textyesContent of message
content.buttonsNoButtons array of message. It can is empty
content.buttons.titleyesText label for button
content.buttons.payloadnoStep code will jump to
content.buttons.urlnoURL will open
content.buttons.phone_numbernoPhone number will call

Payload data

{
  "set_attributes": {
    "<variable name 1>": "<value>",
    "<variable name 2>": "<value>"
  }
 }
← Thẻ JSON
  • Text message
  • Image message
  • Carousel message
  • Form message
  • Quick Reply Card message
    • Payload data
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation