次の方法で共有


Model - Get Regex Entity Entity Info

アプリケーションのバージョンの正規表現エンティティに関する情報を取得します。

GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/regexentities/{regexEntityId}

URI パラメーター

名前 / 必須 説明
appId
path True

string (uuid)

アプリケーション ID。

Endpoint
path True

string

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。

regexEntityId
path True

string (uuid)

正規表現エンティティ モデル ID。

versionId
path True

string

バージョン ID。

要求ヘッダー

名前 必須 説明
Ocp-Apim-Subscription-Key True

string

応答

名前 説明
200 OK

RegexEntityExtractor

正規表現エンティティ モデル情報。

Other Status Codes

ErrorResponse

エラー応答。

セキュリティ

Ocp-Apim-Subscription-Key

型: apiKey
/: header

Successful Get Regex Entity request

要求のサンプル

GET {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/regexentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73

応答のサンプル

{
  "id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
  "name": "AirportCodeRegex",
  "regexPattern": "[a-z]{3}",
  "typeId": 8,
  "readableType": "Regex Entity Extractor",
  "roles": [
    {
      "id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
      "name": "role 1"
    },
    {
      "id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
      "name": "role 2"
    }
  ]
}

定義

名前 説明
EntityRole

エンティティ抽出ロール

ErrorResponse

API で操作を呼び出すときのエラー応答。

ReadableType

エンティティ型の完全な名前。

RegexEntityExtractor

正規表現エンティティ抽出器。

EntityRole

エンティティ抽出ロール

名前 説明
id

string (uuid)

エンティティ ロール ID。

name

string

エンティティ ロール名。

ErrorResponse

API で操作を呼び出すときのエラー応答。

名前 説明
errorType

string

ReadableType

エンティティ型の完全な名前。

説明
Closed List Entity Extractor
Composite Entity Extractor
Entity Extractor
Hierarchical Child Entity Extractor
Hierarchical Entity Extractor
Intent Classifier
List Entity Extractor
Pattern.Any Entity Extractor
Prebuilt Entity Extractor
Regex Entity Extractor

RegexEntityExtractor

正規表現エンティティ抽出器。

名前 説明
id

string (uuid)

エンティティ モデルの ID。

name

string

エンティティ モデルの名前。

readableType

ReadableType

エンティティ型の完全な名前。

regexPattern

string

正規表現エンティティ パターン。

roles

EntityRole[]

Pattern.Any エンティティ抽出器の一覧。

typeId

integer

エンティティ モデルの型 ID。