Documentation

Documentation

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

›Natural Language Processing

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

API Reference

Keyword

List

Gets the list of all available keywords for the entity.

Example request

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

Example response

[
    {
        "code": "m7hu5iywe8sz7n9puleell0kn1dpv4rl",
        "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
        "value": "keyword 1",
        "synonym": "[]",
        "type": 2
    },
    {
        "code": "s90q14jnvh8hb7fe5xfhdskmmr1emuro",
        "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
        "value": "keyword 2",
        "synonym": "[\"syn1\", \"syn2\"]",
        "type": 1
    }
]

Request

GET https://v3-api.fpt.ai/api/v3/keyword/:entity_label

Parameters

ParameterRequiredDescription
entity_labelyeslabel of the entity

Response

Returns a list of available keywords for the entity.

Create

Creates a new keyword of the entity with the given parameters.

Example request

curl -X POST \
  https://v3-api.fpt.ai/api/v3/keyword/entity_label \
  -H 'Authorization: Bearer your_application_token' \
  -d '{
    "value": "keyword",
    "synonym": "[\"synonym\"]"
}'

Example response

{
    "code": "lpnakotptlo06bhnz9ttzfgaielxxi7j",
    "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
    "value": "keyword",
    "synonym": "[\"synonym\"]",
    "type": 2
}

Request

POST https://v3-api.fpt.ai/api/v3/keyword/:entity_label

Parameters

ParameterRequiredDescription
entity_labelyeslabel of the entity
valueyeskeyword
synonymnolist of synonyms for the keyword

Response

Returns a JSON object represents the created keyword for the entity.

Get

Gets an keyword of entity with the given keyword code.

Example request

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

Example response

{
    "code": "lpnakotptlo06bhnz9ttzfgaielxxi7j",
    "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
    "value": "keyword",
    "synonym": "[\"synonym\"]",
    "type": 2
}

Request

GET https://v3-api.fpt.ai/api/v3/keyword/:entity_label/:keyword_code

Parameters

ParameterRequiredDescription
entity_labelyeslabel of the entity
keyword_codeyescode of the keyword

Response

Returns a JSON object that represents the keyword.

Delete

Deletes an intent specified by name.

Example request

curl -X DELETE \
  https://v3-api.fpt.ai/api/v3/keyword/entity_label/lpnakotptlo06bhnz9ttzfgaielxxi7j \
  -H 'Authorization: Bearer your_application_token'

Example response

{
    "message": "Deleted"
}

Request

DEL https://v3-api.fpt.ai/api/v3/keyword/:entity_label/:keyword_code

Parameters

ParameterRequiredDescription
entity_labelyeslabel of the entity
keyword_codeyescode of the keyword

Response

Returns a JSON object that represents deleting result.

Force delete

Force an intent specified by name.

Example request

curl -X DELETE \
  https://v3-api.fpt.ai/api/v3/keyword/entity_label/lpnakotptlo06bhnz9ttzfgaielxxi7j/force-delete \
  -H 'Authorization: Bearer your_application_token'

Example response

{
    "message": "Deleted"
}

Request

DEL https://v3-api.fpt.ai/api/v3/keyword/:entity_label/:keyword_code/force-delete

Parameters

ParameterRequiredDescription
entity_labelyeslabel of the entity
keyword_codeyescode of the keyword

Response

Returns a JSON object that represents deleting result.

Update

Updates an keyword specified by its code with the given parameters.

Example request

curl -X PUT \
  https://v3-api.fpt.ai/api/v3/keyword/entity_label/lpnakotptlo06bhnz9ttzfgaielxxi7j \
  -H 'Authorization: Bearer your_application_token' \
  -d '{
    "value": "keyword",
    "synonym": "[\"synonym\"]"
}'

Example response:

{
    "code": "lpnakotptlo06bhnz9ttzfgaielxxi7j",
    "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
    "value": "keyword",
    "synonym": "[\"synonym\"]",
    "type": 2
}

Request

PUT https://v3-api.fpt.ai/api/v3/keyword/:entity_label/:keyword_code

Parameters

ParameterRequiredDescription
entity_labelyeslabel of the entity
keyword_codeyescode of the keyword
valueyesvalue of the keyword
synonymyeslist of synonyms for the keyword

Response

Returns a JSON object that represents the updated keyword.

← PredictDictionary →
  • List
    • Request
    • Response
  • Create
    • Request
    • Response
  • Get
    • Request
    • Response
  • Delete
    • Request
    • Response
  • Force delete
    • Request
    • Response
  • Update
    • Request
    • Response
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation