Model - List Intents
Získá informace o modelech záměru ve verzi aplikace.
GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/intents
GET {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/intents?skip={skip}&take={take}
Parametry identifikátoru URI
Name | V | Vyžadováno | Typ | Description |
---|---|---|---|---|
app
|
path | True |
string (uuid) |
ID aplikace. |
Endpoint
|
path | True |
string |
Podporované koncové body služeb Cognitive Services (protokol a název hostitele, například: https://westus.api.cognitive.microsoft.com). |
version
|
path | True |
string |
ID verze. |
skip
|
query |
integer minimum: 0 |
Počet položek, které se mají přeskočit. Výchozí hodnota je 0. |
|
take
|
query |
integer minimum: 0maximum: 500 |
Počet položek, které se mají vrátit. Maximální velikost stránky je 500. Výchozí hodnota je 100. |
Hlavička požadavku
Name | Vyžadováno | Typ | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Odpovědi
Name | Typ | Description |
---|---|---|
200 OK |
Seznam informací o modelu záměru |
|
Other Status Codes |
Chybová odpověď. |
Zabezpečení
Ocp-Apim-Subscription-Key
Typ:
apiKey
V:
header
Příklady
Successful Get Application Version Intent Infos request
Ukázkový požadavek
GET {Endpoint}/luis/authoring/v3.0-preview/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/intents?skip=0&take=100
Ukázková odpověď
[
{
"id": "227a71ed-7d4b-4dce-8f3a-16c4e5cc06e8",
"name": "BookFlight",
"typeId": 0,
"readableType": "Intent Classifier"
},
{
"id": "8285a9ee-6bc0-4409-87f4-82d539f70529",
"name": "None",
"typeId": 0,
"readableType": "Intent Classifier"
},
{
"id": "9500536f-ffec-4fab-93ad-6268abb0f73c",
"name": "$Camera.CapturePhoto",
"typeId": 0,
"readableType": "Intent Classifier",
"customPrebuiltDomainName": "Camera",
"customPrebuiltModelName": "CapturePhoto"
}
]
Definice
Name | Description |
---|---|
Error |
Chybová odpověď při vyvolání operace v rozhraní API |
Intent |
Klasifikátor záměru |
Readable |
Úplný název typu entity. |
ErrorResponse
Chybová odpověď při vyvolání operace v rozhraní API
Name | Typ | Description |
---|---|---|
errorType |
string |
IntentClassifier
Klasifikátor záměru
Name | Typ | Description |
---|---|---|
customPrebuiltDomainName |
string |
Název domény. |
customPrebuiltModelName |
string |
Název záměru nebo název entity. |
id |
string (uuid) |
ID modelu entity. |
name |
string |
Název modelu entity. |
readableType |
Úplný název typu entity. |
|
typeId |
integer |
ID typu Entity Model. |
ReadableType
Úplný název typu entity.
Hodnota | Description |
---|---|
Child Entity Extractor | |
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 |