Custom Models - Get Summary
Hämta information om alla anpassade modeller
GET {endpoint}/formrecognizer/v2.1/custom/models?op=summary
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
Cognitive Services-slutpunkter som stöds (protokoll och värdnamn, till exempel: https://westus2.api.cognitive.microsoft.com). |
op
|
query | True |
string |
Ange om du vill returnera en sammanfattning eller en fullständig lista över modeller. |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Klart |
|
Other Status Codes |
Svarsentitet som medföljer icke-lyckade svar som innehåller ytterligare information om felet. |
Säkerhet
Ocp-Apim-Subscription-Key
Typ:
apiKey
I:
header
Exempel
Get models summary
Exempelbegäran
GET {endpoint}/formrecognizer/v2.1/custom/models?op=summary
Exempelsvar
{
"summary": {
"count": 5,
"limit": 5000,
"lastUpdatedDateTime": "2019-05-01T10:53:21Z"
}
}
Definitioner
Name | Description |
---|---|
Attributes |
Valfria modellattribut. |
Error |
|
Error |
|
Model |
Grundläggande anpassad modellinformation. |
Models |
Svar på liståtgärden anpassade modeller. |
Model |
Status för modellen. |
Summary |
Sammanfattning av alla tränade anpassade modeller. |
Attributes
Valfria modellattribut.
Name | Typ | Standardvärde | Description |
---|---|---|---|
isComposed |
boolean |
False |
Är den här modellen sammansatt? (standard: false). |
ErrorInformation
Name | Typ | Description |
---|---|---|
code |
string |
|
message |
string |
ErrorResponse
Name | Typ | Description |
---|---|---|
error |
ModelInfo
Grundläggande anpassad modellinformation.
Name | Typ | Description |
---|---|---|
attributes |
Valfria modellattribut. |
|
createdDateTime |
string |
Datum och tid (UTC) när modellen skapades. |
lastUpdatedDateTime |
string |
Datum och tid (UTC) när statusen senast uppdaterades. |
modelId |
string |
Modellidentifierare. |
modelName |
string |
Valfritt användardefinierat modellnamn (maxlängd: 1024). |
status |
Status för modellen. |
Models
Svar på liståtgärden anpassade modeller.
Name | Typ | Description |
---|---|---|
modelList |
Samling av tränade anpassade modeller. |
|
nextLink |
string |
Länka till nästa sida med anpassade modeller. |
summary |
Sammanfattning av alla tränade anpassade modeller. |
ModelStatus
Status för modellen.
Name | Typ | Description |
---|---|---|
creating |
string |
|
invalid |
string |
|
ready |
string |
Summary
Sammanfattning av alla tränade anpassade modeller.
Name | Typ | Description |
---|---|---|
count |
integer |
Aktuellt antal tränade anpassade modeller. |
lastUpdatedDateTime |
string |
Datum och tid (UTC) när sammanfattningen senast uppdaterades. |
limit |
integer |
Maximalt antal modeller som kan tränas för det här kontot. |