Adds a batch of labeled example utterances to a version of the application.

post/apps/{appId}/versions/{versionId}/examples

Request

  • Base URL
    {Endpoint}/luis/authoring/v3.0-preview
  • URL
    {Endpoint}/luis/authoring/v3.0-preview/apps/{appId}/versions/{versionId}/examples
  • Auth
    API key in header Ocp-Apim-Subscription-Key

Path parameters

appIdstring uuid required

The application ID.

versionIdstring required

The version ID.

Query parameters

enableNestedChildrenboolean

Toggles nested/flat format

Request body

textstring

The example utterance.

intentNamestring

The identified intent representing the example utterance.

Example request

[
  {
    "entityLabels": [
      {
        "children": [
          {
            "entityName": "child",
            "startCharIndex": 0,
            "endCharIndex": 0,
            "children": []
          }
        ]
      }
    ]
  }
]

Response

A string array determining which labeled example utterances were added successfully.

hasErrorboolean

Changes