|
\[Array\]
|
Array of objects in which each object represents an NLU model intent prediction result for the search query.
Data type: Array
```
[
{
"intentName": "String",
"result": {Object},
"solutionName": "String"
}
]
```
|
|
\[Array\].intentName
|
Name of the NLU model intent detected in the search query.
Data type: String
|
|
\[Array\].result
|
Object representing the NLU model intent prediction result for the search query.
Data type: Object
```
"result": {
"application": {Object},
"result": {Object},
"solutionLabel": "String",
"solutionName": "String",
"solutionType": "String",
"type": "String",
"version": Number
}
```
|
|
\[Array\].result.application
|
Object containing metadata for the search application that produced the prediction result.
Data type: Object
```
"application": {
"language": "String",
"type": "String"
}
```
|
|
\[Array\].result.application.language
|
Language context for the ServiceNow AI Platform application that produced the prediction result.
Data type: String
|
|
\[Array\].result.application.type
|
Type of the ServiceNow AI Platform application that produced the prediction result.
Data type: String
|
|
\[Array\].result.result
|
Object including details for the NLU model intent prediction result.
Data type: Object
```
"result": {
"entities": [Array],
"intentName": "String",
"intents": [Array],
"nluModelName": "String",
"score": Number
}
```
|
|
\[Array\].result.result.entities
|
Array of objects in which each object represents an NLU model intent entity detected in the search query.
Data type: Array
```
"entities": [
{
"matchingSegments": [Array],
"name": "String",
"parts": [Array],
"score": Number,
"startingPosition": Number,
"value": "String"
}
]
```
|
|
\[Array\].result.result.entities.matchingSegments
|
Array of objects in which each object represents a matching segment of the detected NLU entity.
Data type: Array
```
"matchingSegments": [
{
"directMatch": Boolean
"meta": {Object},
"value": "String"
}
]
```
|
|
\[Array\].result.result.entities.matchingSegments.directMatch
|
Flag that indicates whether the NLU entity matching segment represents an exact match for the entity value.
|
|
\[Array\].result.result.entities.matchingSegments.meta
|
Object containing key-value pair fields representing metadata for the NLU entity matching segment.
Data type: Object
```
"meta": {
"augmentedBy": "String",
"colMeta:first_name": "String",
"colMeta:last_name": "String",
"compositionStrategy": "String",
"fieldName": "String",
"searchPreProcessors": "String",
"SUB_PHRASE.penalty": "String",
"tableName": "String"
}
```
|
|
\[Array\].result.result.entities.matchingSegments.value
|
String value of the NLU entity matching segment.
Data type: String
|
|
\[Array\].result.result.entities.name
|
Name for the detected NLU entity, in `entity:[NLU_model].[intent].[entity_type]` format.
Data type: String
|
|
\[Array\].result.result.entities.parts
|
Array of objects in which each object represents an NLU entity part found in the prediction result.
Data type: Array
```
"parts": [
{
"meta": {Object},
"value": "String"
}
]
```
|
|
\[Array\].result.result.entities.parts.meta
|
Object containing key-value pair fields representing metadata for the NLU entity part.
Data type: Object
```
"meta": {
"augmentedBy": "String",
"colMeta:name": "String",
"compositionStrategy": "String",
"fieldName": "String",
"searchPreProcessors": "String",
"SUB_PHRASE.penalty": "String",
"tableName": "String"
}
```
|
|
\[Array\].result.result.entities.parts.value
|
String value of the NLU entity part.
Data type: String
|
|
\[Array\].result.result.entities.score
|
Numeric score from 0 through 1 indicating confidence for the detected NLU entity.
Data type: Number
|
|
\[Array\].result.result.entities.startingPosition
|
Numeric index for the character position in the search query at which the detected NLU entity begins.
Data type: Number
|
|
\[Array\].result.result.entities.value
|
String value of the NLU detected in the search query.
Data type: String
|
|
\[Array\].result.result.intentName
|
Name of the NLU model intent detected in the search query.
Data type: String
|
|
\[Array\].result.result.intents
|
Array of objects in which each object represents a nested NLU model intent detected in the search query.
Nested intent objects include the same parameter names and data types as the parent NLU model intent object.
Data type: Array
```
"intents": [
{
"entities": [Array],
"intentName": "String",
"intents": [Array],
"nluModelName": "String",
"score": Number
}
]
```
|
|
\[Array\].result.result.nluModelName
|
Name of the NLU model that produced the prediction result.
Data type: String
|
|
\[Array\].result.result.score
|
Numeric score from 0 through 1 indicating confidence for the NLU model prediction result.
Data type: Number
|
|
\[Array\].result.solutionLabel
|
Label for the NLU model that produced the prediction result.
Data type: String
|
|
\[Array\].result.solutionName
|
Name for the NLU model that produced the prediction result.
Data type: String
|
|
\[Array\].result.solutionType
|
Type for the NLU model that produced the prediction result.
Data type: String
|
|
\[Array\].result.type
|
Type of the prediction result.
Data type: String
|
|
\[Array\].result.version
|
Version of the NLU model that produced the prediction result.
Data type: Number
|
|
\[Array\].solutionName
|
Name of the NLU model that produced the prediction result.
Data type: String
|