Documentation

Documentation

  • Conversation
  • Reader
  • Speech
  • Console
  • AI Agents
  • Languages iconJanpanese
    • Tiếng Việt
    • English

›言語処理

ドキュメント

  • 序説
  • I. Chatbotの紹介

    • Chatbot とは
    • Chatbotの目的
    • Chatbotの一般的な種類
    • Chatbot FPT.AIのメリット
    • FPT.AIを始めましょう

    II.FPT.AIプラットフォームでCHATBOTの作成

    • 作業機構
    • Bot作成過程
    • Bot作成
    • NLPー自然言語処理
    • 回答の作成シナリオ
    • 新シナリオ
    • 応答カード
    • ステップ接続ボタン
    • フォームカードを使う顧客の情報を取得する
    • 変数の設定と管理
    • 変数条件のチェック
    • メモリカード
    • JSON APIカードを介して情報を送受する
    • リマインダー機能
    • 高度な機能
    • 固定なメニュー

    III. 履歴

    • Botの知識の更新

    IV. チャットチャネルでの統合

    • Facebookと統合する
    • Facebook at Workと統合する
    • Viberと統合する
    • Zaloと統合する
    • ウェブサイトと統合する
    • Webhook

    V. ブロードキャスト

    • 通知の送信

    VI. 自動コメント

    • FACEBOOKでの自動コメント

    VII. 自動テスト機能

    • テストケースによってテストを行う
    • Botの実際のシナリオに基づいて自動テストケース作成を実行する

    VIII. 統計

    • 統計の機能の紹介
    • ユーザーリクエスト数の統計
    • インテントランキング
    • Botとチャット
    • 新ユーザ数
    • シナリオランキング
    • シナリオの通りに回答したメッセージの数
    • 1時間ごとのユーザのリクエストの数
    • 1時間ごとのユーザ-の数
    • リアルタイムによって統計する
    • ブロードキャストの統計

    XI. 評価と調査

    • 評価
    • 調査

    XI. Botの設定と管理

    • Botの設定と管理
    • Botの情報
    • メッセージ管理
    • データ管理
    • Botの信頼度
    • Botのデータを削除する
    • Bot削除
    • Botの所有権を譲渡する
    • バージョン

    XII. BOTロール

    • BOTロール

    XIII. Chatbot SDK

    • Chat Bot SDK
  • Appendices

Live Support

  • 前書き
  • 顧客リストのインタフェース
  • 顧客サポート流れ
  • ノート機能
  • 内部チャット機能
  • KPI報告機能
  • サポートセッションレポート構成
  • 会話セッションレポート
  • メールを介して顧客とコンサルタントの会話を保存する
  • 取得する情報の管理機能
  • 自動的に割り当てをする

チュートリアル (ビデオ)

  • Chatbot FPT.AI Conversationのプラットフォームの概要
  • QnA機能を使用してChatbotを作成する
  • 複雑なシナリオでChatbotを作成する
  • シナリオセクションにある「Precondition」という機能
  • Chatbot作成中にランダム返信機能
  • NLP機能を使用して顧客を理解するようにChatbotに教える
  • NLPでの完全一致と予測一致
  • 認証履歴の追跡
  • ブロードキャスト機能
  • ライブサポート機能
  • 固定メニューの設定
  • FACEBOOKでの自動コメント
  • Botロール
  • 設定でのBotの構成
  • ChatbotをFacebookに接続する
  • ChatbotをFacebook at Workに接続する

API

  • 序説
  • 概要
  • 言語処理

    • インテント
    • エンティティ
    • サンプル
    • トレーニング
    • 推定
    • キーワード
    • 辞書

    会話管理

    • APIによるBotの応答の取得
    • JSONカード
    • メッセージのタイプ

API Reference

Sample

List

Gets the list of all available samples.

Example request

curl -X GET \
  https://v3-api.fpt.ai/api/v3/sample \

Example response:

[
    {
        "code": "0lvh6j25vvzw5bfq9ew45g0u3x8ndumc",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "content": "Cho hỏi đổi cũ lấy samsung-galaxy-s9-22246 như thế nào?",
        "created_time": "2018-10-03T04:16:11Z",
        "intent_label": "ask_general_information",
        "intent_type": 0,
        "entities": [
            "thu_cu_doi_moi"
        ]
    },
    {
        "code": "2890odc6jatr4wxlvqv8txzk3rtkv5ip",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "content": "Có phụ kiện máy samsung-galaxy-s9-22246 không?",
        "created_time": "2018-10-03T04:16:11Z",
        "intent_label": "ask_product",
        "intent_type": 0,
        "entities": [
            "phu_kien"
        ]
    },
    {
        "code": "3ov9x6gowo1uvwewou9xg7qhljz3ht5e",
        "app_code": "dfd6908df08cf9d825f9ca9d38bf4677",
        "content": "cho hỏi về dòng máy có intel-hd-graphics",
        "created_time": "2018-10-03T04:16:11Z",
        "intent_label": "",
        "intent_type": 0,
        "entities": []
    }
]

Request

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

Parameters

ParameterRequiredDescription
n/an/an/a

Response

Returns a list of available samples.

Create

Creates new sample.

Example request

curl -X POST \
  https://v3-api.fpt.ai/api/v3/sample \
  -d '{
        "content": "Do you have fresh checken eggs?"
      }'

Example response

{
    "code": "inde8872kkv40g6jga8eyszfm0dz47vz",
    "app_code": "ryca8xy0bza17j0f2xiv00ljg8j8gscs",
    "content": "Do you have fresh checken eggs?",
    "created_time": "2018-01-11T16:00:44.025515Z"
}

HTTP Request

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

Parameters

ParameterRequiredDescription
contentyescontent of the sample

Response

Returns a JSON object represents the created sample.

Get

Gets an sample with the given sample code.

Example request

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

Example response

{
    "code": "2fcli497oqfbrvte2nevm5ft962y5svp",
    "app_code": "0xtqlndqkmuht0z1xcgzg0eyplz1jztk",
    "content": "Sample text 1",
    "created_time": "2017-10-24T13:47:17Z",
    "intent": {
        "intent_sample_code": "il6pc9dvz1t8px2weebep60ygczav4b2",
        "intent_code": "7sdsWZJDQp",
        "sample_code": "2fcli497oqfbrvte2nevm5ft962y5svp",
        "intent_label": "intent_label"
    },
    "entities": [
        {
            "entity_sample_code": "7apu89e0co3hmcjai036yh695xqhsktv",
            "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
            "sample_code": "2fcli497oqfbrvte2nevm5ft962y5svp",
            "parent_code": "",
            "value": "SomeValue",
            "start": 2,
            "end": 5,
            "created_time": "",
            "label": "sample_label_1",
            "Type": 1
        },
        {
            "entity_sample_code": "gudgybpeqxjokerfmrd96jxbjx5ngeae",
            "entity_code": "vfxpyqk5v9rn49zfcxf74hdra9h6zqx8",
            "sample_code": "2fcli497oqfbrvte2nevm5ft962y5svp",
            "parent_code": "",
            "value": "SomeValue",
            "start": 2,
            "end": 5,
            "created_time": "",
            "label": "sample_label_1",
            "Type": 1
        }
    ]
}

Request

GET https://v3-api.fpt.ai/api/v3/sample/:sample_code

Parameters

ParameterRequiredDescription
sample_codeyescode of the sample

Response

Returns a JSON object that represents the sample.

Delete

Deletes an sample specified by its code.

Example request

curl -X DELETE \
  https://v3-api.fpt.ai/api/v3/sample/2fcli497oqfbrvte2nevm5ft962y5svp \
  -H 'Authorization: Bearer your_application_token'

Example response

{
  "message": "Deleted"
}

Request

DEL https://v3-api.fpt.ai/api/v3/sample/:sample_code

Parameters

ParameterRequiredDescription
sample_codeyescode of the sample

Response

Returns HTTP Status 200 if the request succeed.

Update

Updates an sample with the given parameters.

Example request

curl -X PUT \
  https://v3-api.fpt.ai/api/v3/sample/2fcli497oqfbrvte2nevm5ft962y5svp \
  -H 'Authorization: Bearer your_application_token' \
  -d '{
    "content": "Sample text content updated"
}'

Example response

{
    "code": "2fcli497oqfbrvte2nevm5ft962y5svp",
    "app_code": "0xtqlndqkmuht0z1xcgzg0eyplz1jztk",
    "content": "Sample text content updated",
    "created_time": "2017-10-24T13:38:59Z"
}

Request

PUT https://v3-api.fpt.ai/api/v3/sample/:sample_code

Query Parameters

ParameterRequiredDescription
sample_codeyescode of the sample
contentyescontent of the sample

Response

Returns a JSON object that represents the updated sample.

Intent-Sample mapping - Create

Maps an intent with a sample.

Example request

curl -X POST \
  https://v3-api.fpt.ai/api/v3/intent-sample \
  -d '{
  "intent_code": "slyv8l0it363mh9kl922j2z8uvy9o4i1",
  "sample_code": "8hal2kmfr9nj0ys323pxzjbcdxmaalra"
}'

Example response

{
    "intent_sample_code": "5g69998jk1ye6o8n6k0bbhc6s9is6g5m",
    "intent_code": "slyv8l0it363mh9kl922j2z8uvy9o4i1",
    "sample_code": "8hal2kmfr9nj0ys323pxzjbcdxmaalra",
    "intent_label": "",
    "intent_type": 0,
    "intent_description": ""
}

HTTP Request

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

Parameters

ParameterRequiredDescription
intent_codeyescode of the intent
sample_codeyescode of the sample

Response

Returns a JSON object represents the created intent-sample mapping.

Intent-Sample mapping - Delete

Unmap an intent from a sample by intent_sample_code.

Example request

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

Example response

{
    "message": "Deleted"
}

Request

DEL https://v3-api.fpt.ai/api/v3/intent-sample/:intent_sample_code

Parameters

ParameterRequiredDescription
intent_sample_codeyescode of the map between intent and sample

Response

Returns a JSON object represents the result of deleting intent-sample mapping.

Intent-Sample mapping - Import

Create multiple intent-sample mappings.

Example request

curl -X POST \
  https://v3-api.fpt.ai/api/v3/intent-sample/import_intent_samples \
  -d '[ 
          {
              "intent": "intent_1",
              "sample": "sample text 1"
          },
          {
              "intent": "intent_2",
              "sample": "sample text 2"
          }
      ]'

Example response

{
    "number_of_duplicate_sample": 0,
    "number_of_empty_intent": 0,
    "number_of_imported_intent": 2,
    "number_of_imported_sample": 2,
    "number_of_invalid_intent": 0
}

HTTP Request

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

Parameters

ParameterRequiredDescription
contentyeslist of intent-sample mappings (JSON format)

Response

Returns a JSON object represents the created intent-sample mapping.

Entity-Sample mapping - Create

Maps an entity with a sample via tagging words and start/end position of that tagging words in the sample.

Example request

curl -X POST \
  https://v3-api.fpt.ai/api/v3/entity-sample \
  -d '{
  "entity_code":"we2y0ceca052thxtf7jq29kk2610vjgl",
  "sample_code":"8hal2kmfr9nj0ys323pxzjbcdxmaalra",
  "value":"SomeValue",
  "start":2,
  "end":5
}'

Example response

{
    "entity_sample_code": "rlrpyxl68d2gufk441na152zyby6l4ww",
    "entity_code": "we2y0ceca052thxtf7jq29kk2610vjgl",
    "sample_code": "8hal2kmfr9nj0ys323pxzjbcdxmaalra",
    "parent_code": "",
    "value": "SomeValue",
    "start": 2,
    "end": 5,
    "created_time": "2018-10-08T03:29:02Z",
    "label": "",
    "Type": 0
}

HTTP Request

POST https://v3-api.fpt.ai/api/v3/entity-sample

Parameters

ParameterRequiredDescription
entity_codeyescode of the entity
sample_codeyescode of the sample
valueyestagging words
startyesstar position of tagging words in the sample
endyesend position of tagging words in the sample

Response

Returns a JSON object represents the created entity-sample mapping.

Entity-Sample mapping - Delete

Unmap an entity from a sample by entity_sample_code.

Example request

curl -X DELETE \
  https://v3-api.fpt.ai/api/v3/entity-sample/7apu89e0co3hmcjai036yh695xqhsktv \
  -H 'Authorization: Bearer your_application_token'

Example response

{
    "message": "Deleted"
}

Request

DEL https://v3-api.fpt.ai/api/v3/entity-sample/:entity_sample_code

Parameters

ParameterRequiredDescription
entity_sample_codeyescode of the map between entity and sample

Response

Returns a JSON object represents the result of deleting entity-sample mapping.

← エンティティトレーニング →
  • List
    • Request
    • Response
  • Create
    • HTTP Request
    • Response
  • Get
    • Request
    • Response
  • Delete
    • Request
    • Response
  • Update
    • Request
    • Query Parameters
    • Response
  • Intent-Sample mapping - Create
    • HTTP Request
    • Response
  • Intent-Sample mapping - Delete
    • Request
    • Response
  • Intent-Sample mapping - Import
    • HTTP Request
    • Response
  • Entity-Sample mapping - Create
    • HTTP Request
    • Response
  • Entity-Sample mapping - Delete
    • Request
    • Response
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation