Documentation

Documentation

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

›Xử lý ngôn ngữ

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

Intent

List

Gets the list of all available intents for the application.

Example request

curl -X GET \
  https://v3-api.fpt.ai/api/v3/intent \
  -H 'Authorization: Bearer your_application_token'

Example response

[
    {
        "code": "4lg0a7rcwikqwc38l32k3x5po79sfg8n",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "label": "ask_inventory",
        "description": "Import",
        "created_time": "2018-10-03T04:16:04Z",
        "intent_type": 0
    },
    {
        "code": "73z4bzfjh7jzv2th9f0w3f0pm1nhaccp",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "label": "ask_filter",
        "description": "Chức năng filter",
        "created_time": "2018-10-03T04:16:04Z",
        "intent_type": 0
    }
]

Request

GET https://v3-api.fpt.ai/api/v3/intent

Parameters

ParameterRequiredDescription
n/an/an/a

Response

Returns a list of available intents for the application.

Create

Creates a new intent with the given parameters.

Example request

curl -X POST \
  https://v3-api.fpt.ai/api/v3/intent \
  -H 'Authorization: Bearer your_application_token' \
  -d '{
        "label":"product_info",
        "description":"Product information"
      }'

Example response

{
    "code": "ppmrtdpcuoxcxd0mg65lg4312pdg3u2e",
    "app_code": "ryca8xy0bza17j0f2xiv00ljg8j8gscs",
    "label": "product_info",
    "description": "Product information",
    "created_time": "2018-01-11T16:05:49.2237404+07:00"
}

Request

POST https://v3-api.fpt.ai/api/v3/intent

Parameters

ParameterRequiredDescription
labelyesname of the intent, must use a-z0-9_
descriptionyesdescription of the intent

Response

Returns a JSON object represents the created intent.

Get

Gets an intent with the given name.

Example request

curl -X GET \
  https://v3-api.fpt.ai/api/v3/intent/product_info \
  -H 'Authorization: Bearer your_application_token'

Example response

{
    "code": "ppmrtdpcuoxcxd0mg65lg4312pdg3u2e",
    "app_code": "ryca8xy0bza17j0f2xiv00ljg8j8gscs",
    "label": "product_info",
    "description": "Product information",
    "created_time": "2018-01-11T09:05:49Z"
}

Request

GET https://v3-api.fpt.ai/api/v3/intent/:intent_label

Parameters

ParameterRequiredDescription
intent_labelyesname of the intent

Response

Returns a JSON object that represents the intent.

Delete

Deletes an intent specified by name.

Example request

curl -X DELETE \
  https://v3-api.fpt.ai/api/v3/intent/product_info \
  -H 'Authorization: Bearer your_application_token'

Example response

HTTP 200 OK

Request

DEL https://v3-api.fpt.ai/api/v3/intent/:intent_label

Parameters

ParameterRequiredDescription
intent_labelyesname of the intent

Response

Returns HTTP Status 200 if the request succeed.

Update

Updates an intent specified by its name with the given parameters. You can update the description only.

Example request

curl -X PUT \
  https://v3-api.fpt.ai/api/v3/intent/product_info \
  -H 'Authorization: Bearer your_application_token' \
  -d '{
    "description":"New Description"
  }'

Example response:

{
    "code": "ppmrtdpcuoxcxd0mg65lg4312pdg3u2e",
    "app_code": "ryca8xy0bza17j0f2xiv00ljg8j8gscs",
    "label": "product_info",
    "description": "New Description",
    "created_time": "2018-01-11T09:05:49Z"
}

Request

PUT https://v3-api.fpt.ai/api/v3/intent/:intent_label

Parameters

ParameterRequiredDescription
descriptionyesnew description of the intent

Response

Returns a JSON object that represents the updated intent.

List samples of intent

List samples of intent.

Example request

curl -X GET \
  https://v3-api.fpt.ai/api/v3/intent/{label}/samples \
  -H 'Authorization: Bearer your_application_token'

Example response

[
    {
        "code": "m1iid0dbif63meubpw5v2xn72k8g7hh4",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "content": "Hi, em có người yêu chưa",
        "created_time": "2018-10-03T04:16:11Z",
        "intent_label": "chao_hoi",
        "intent_type": 0,
        "entities": []
    },
    {
        "code": "b7fxxr2sq6ycdrimaxlvcitr6x35tieo",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "content": "Shop ơi cho em hỏi chút thông tin với",
        "created_time": "2018-10-03T04:16:10Z",
        "intent_label": "chao_hoi",
        "intent_type": 0,
        "entities": []
    }
]

Request

GET https://v3-api.fpt.ai/api/v3/intent/{label}/samples

Parameters

ParameterRequiredDescription
labelyesThe label of intent

Response

Returns a list of samples of intent for the application.

Delete all samples of intent

Delete all samples of intent.

Example request

curl -X DELETE \
  https://v3-api.fpt.ai/api/v3/intent/{label}/samples \
  -H 'Authorization: Bearer your_application_token'

Example response

{
    "message": "Deleted"
}

Request

DELETE https://v3-api.fpt.ai/api/v3/intent/{label}/samples

Parameters

ParameterRequiredDescription
labelyesThe label of intent

Response

Returns a message of status of delete request.

← Tổng quanThực thể →
  • List
    • Request
    • Response
  • Create
    • Request
    • Response
  • Get
    • Request
    • Response
  • Delete
    • Request
    • Response
  • Update
    • Request
    • Response
  • List samples of intent
    • Request
    • Response
  • Delete all samples of intent
    • Request
    • Response
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation