Model - Get Regex Entity Entity Info
アプリケーションのバージョンの正規表現エンティティに関する情報を取得します。
GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/regexentities/{regexEntityId}
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
app
|
path | True |
string (uuid) |
アプリケーション ID。 |
Endpoint
|
path | True |
string |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。 |
regex
|
path | True |
string (uuid) |
正規表現エンティティ モデル ID。 |
version
|
path | True |
string |
バージョン ID。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
正規表現エンティティ モデル情報。 |
|
Other Status Codes |
エラー応答。 |
セキュリティ
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"
}
]
}
定義
名前 | 説明 |
---|---|
Entity |
エンティティ抽出ロール |
Error |
API で操作を呼び出すときのエラー応答。 |
Readable |
エンティティ型の完全な名前。 |
Regex |
正規表現エンティティ抽出器。 |
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 |
エンティティ型の完全な名前。 |
|
regexPattern |
string |
正規表現エンティティ パターン。 |
roles |
Pattern.Any エンティティ抽出器の一覧。 |
|
typeId |
integer |
エンティティ モデルの型 ID。 |