v11

latestSwagger 2.0raw.githubusercontent.com2022-10-03168148314.0 KB

Returns example utterances to be reviewed from a version of the application.

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

Path parameters

appIdstring uuid required

The application ID.

versionIdstring required

The version ID.

Query parameters

skipinteger

The number of entries to skip. Default value is 0.

takeinteger

The number of entries to return. Maximum page size is 500. Default is 100.

enableNestedChildrenboolean

Toggles nested/flat format

Response

A list of predictions and label pairs for every example utterance in the application.

idinteger

ID of Labeled Utterance.

textstring

The utterance. For example, "What's the weather like in seattle?"

tokenizedTextstring[]

The utterance tokenized.

intentLabelstring

The intent matching the example.

Example response

[
  {
    "entityLabels": [
      {
        "children": [
          {
            "entityName": "child",
            "startTokenIndex": 0,
            "endTokenIndex": 0,
            "children": []
          }
        ]
      }
    ],
    "entityPredictions": [
      {
        "children": [
          {
            "entityName": "child",
            "startTokenIndex": 0,
            "endTokenIndex": 0,
            "phrase": "string"
          }
        ]
      }
    ]
  }
]