Aracılığıyla paylaş


Model - List Closed Lists

Uygulamanın bir sürümündeki tüm liste varlığı modelleri hakkında bilgi alır.

GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/closedlists
GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/closedlists?skip={skip}&take={take}

URI Parametreleri

Name İçinde Gerekli Tür Description
appId
path True

string

uuid

Uygulama kimliği.

Endpoint
path True

string

Desteklenen Bilişsel Hizmetler uç noktaları (protokol ve ana bilgisayar adı, örneğin: https://westus.api.cognitive.microsoft.com).

versionId
path True

string

Sürüm kimliği.

skip
query

integer

Atlana girişlerin sayısı. Varsayılan değer 0'dır.

take
query

integer

Döndürülecek girdi sayısı. En büyük sayfa boyutu 500'dür. Varsayılan değer 100'dür.

İstek Başlığı

Name Gerekli Tür Description
Ocp-Apim-Subscription-Key True

string

Yanıtlar

Name Tür Description
200 OK

ClosedListEntityExtractor[]

Liste varlık modeli bilgilerinin listesi.

Other Status Codes

ErrorResponse

Hata Yanıtı.

Güvenlik

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Örnekler

Successful Get Application Version Closed List Infos request

Sample Request

GET {Endpoint}/luis/api/v2.0/apps/c555c6ef-974f-4d73-b573-69feeb4a85f8/versions/0.1/closedlists?skip=0&take=100

Sample Response

[
  {
    "id": "8713b104-78ec-4c4f-9f96-f2e53562cc16",
    "name": "States",
    "typeId": 5,
    "readableType": "Closed List Entity Extractor",
    "subLists": [
      {
        "id": 1,
        "canonicalForm": "new york",
        "list": [
          "ny",
          "new york"
        ]
      },
      {
        "id": 2,
        "canonicalForm": "washington",
        "list": [
          "washington",
          "wa"
        ]
      },
      {
        "id": 3,
        "canonicalForm": "california",
        "list": [
          "california",
          "ca",
          "calif.",
          "cal."
        ]
      }
    ],
    "roles": [
      {
        "id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
        "name": "role 1"
      },
      {
        "id": "3d73462d-98f0-4dcd-8d30-fab9e65f2e73",
        "name": "role 2"
      }
    ]
  }
]

Tanımlar

Name Description
ClosedListEntityExtractor

Liste Varlık Ayıklayıcısı.

EntityRole

Varlık ayıklayıcı rolü

ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

ReadableType

Varlık türünün tam adı.

SubClosedListResponse

Liste varlığı için öğelerin alt listesi.

ClosedListEntityExtractor

Liste Varlık Ayıklayıcısı.

Name Tür Description
id

string

Varlık Modelinin Kimliği.

name

string

Varlık Modelinin adı.

readableType

ReadableType

Varlık türünün tam adı.

roles

EntityRole[]

Pattern.Any Varlık Ayıklayıcılarının Listesi.

subLists

SubClosedListResponse[]

Alt listelerin listesi.

typeId

integer

Varlık Modelinin tür kimliği.

EntityRole

Varlık ayıklayıcı rolü

Name Tür Description
id

string

Varlık rolü kimliği.

name

string

Varlık rolü adı.

ErrorResponse

API'de bir işlem çağrılırken hata yanıtı.

Name Tür Description
errorType

string

ReadableType

Varlık türünün tam adı.

Name Tür Description
Closed List Entity Extractor

string

Composite Entity Extractor

string

Entity Extractor

string

Hierarchical Child Entity Extractor

string

Hierarchical Entity Extractor

string

Intent Classifier

string

List Entity Extractor

string

Pattern.Any Entity Extractor

string

Prebuilt Entity Extractor

string

Regex Entity Extractor

string

SubClosedListResponse

Liste varlığı için öğelerin alt listesi.

Name Tür Description
canonicalForm

string

Listenin temsil olduğu standart form.

id

integer

Alt liste kimliği

list

string[]

Eş anlamlı sözcüklerin listesi.