Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
get/apps/{appId}/versions/{versionId}/entities/{entityId}/suggest
Path parameters
appIdstring uuid required
The application ID.
versionIdstring required
The version ID.
entityIdstring uuid required
The target entity extractor model to enhance.
Query parameters
takeinteger
The number of entries to return. Maximum page size is 500. Default is 100.
enableNestedChildrenboolean
Toggles nested/flat format
Response
If there's no trained entity model, nothing is returned in the response. If there's a trained model and active learning finds any relevant queries, they are returned with the entity model predictions. If there's a trained model but active learning didn't find any relevant queries, an empty list is returned in the response.
Example response
[
{
"entityPredictions": [
{
"children": [
{
"entityName": "child",
"startTokenIndex": 0,
"endTokenIndex": 0,
"phrase": "string"
}
]
}
]
}
]