Model - Update Regex Entity Model
Aktualisiert die Entität des regulären Ausdrucks in einer Version der Anwendung.
PUT {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/regexentities/{regexEntityId}
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
app
|
path | True |
string (uuid) |
Die Anwendungs-ID. |
Endpoint
|
path | True |
string |
Unterstützte Cognitive Services-Endpunkte (Protokoll und Hostname, z. B. https://westus.api.cognitive.microsoft.com). |
regex
|
path | True |
string (uuid) |
Die Entitätsextraktions-ID des regulären Ausdrucks. |
version
|
path | True |
string |
Die Versions-ID. |
Anforderungsheader
Name | Erforderlich | Typ | Beschreibung |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Anforderungstext
Name | Typ | Beschreibung |
---|---|---|
name |
string |
Der Modellname. |
regexPattern |
string |
Das Entitätsmuster für reguläre Ausdrücke. |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Der Entitätsextraktor für reguläre Ausdrücke wurde erfolgreich aktualisiert. |
|
Other Status Codes |
Fehlerantwort. |
Sicherheit
Ocp-Apim-Subscription-Key
Typ:
apiKey
In:
header
Beispiele
Successful Update Regex Entity request
Beispielanforderung
PUT {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/regexentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73
{
"name": "New Name",
"regexPattern": "[a-z]{3}"
}
Beispiel für eine Antwort
{
"code": "Success",
"message": "Operation Successful"
}
Definitionen
Name | Beschreibung |
---|---|
Error |
Fehlerantwort beim Aufrufen eines Vorgangs in der API. |
Operation |
Antwort eines Vorgangsstatus. |
Operation |
Statuscode. |
Regex |
Model-Objekt zum Aktualisieren eines Entitätsmodells für reguläre Ausdrücke. |
ErrorResponse
Fehlerantwort beim Aufrufen eines Vorgangs in der API.
Name | Typ | Beschreibung |
---|---|---|
errorType |
string |
OperationStatus
Antwort eines Vorgangsstatus.
Name | Typ | Beschreibung |
---|---|---|
code |
Statuscode. |
|
message |
string |
Statusdetails. |
OperationStatusType
Statuscode.
Wert | Beschreibung |
---|---|
FAILED | |
Failed | |
Success |
RegexModelUpdateObject
Model-Objekt zum Aktualisieren eines Entitätsmodells für reguläre Ausdrücke.
Name | Typ | Beschreibung |
---|---|---|
name |
string |
Der Modellname. |
regexPattern |
string |
Das Entitätsmuster für reguläre Ausdrücke. |