predictions PredictResponse[]Predictions for each utterances given in the request. The order is guaranteed to be the same as in the request. matches IntentMatch[]Raw list of matches ordered by descending score (no hierarchical considerations) id stringThe intent id that was matched. | name stringThe name of the intent when the model was trained. | hierarchy_ids string[]Intent IDs of the lineage of the matched intent. The first ID is the root parent intent, the last is the matched intent. | hierarchy_names string[]Intent names of the lineage of the matched intent. The first name is the root parent intent, the last is the matched intent. | score floatThe probability of this being the right matched, as determined by the underlying model. |
| hier_matches HierIntentMatch[]List of matches rescored with hierarchical considerations. id stringThe intent id that was matched. | name stringThe name of the intent when the model was trained. | score floatThe recursive sum of the scores of all the sub-intents. | own_score floatThe probability of this intent, if its children were disregarded. | children_entropy floatThe entropy of the intent's direct children. | children HierIntentMatch (circular)[]The match probabilities for this intent's direct children |
| entity_matches EntityMatch[]Entity matches, if available entity EntityReferenceSync from zia.ai.playbook.EntityReference entity_id stringUnique identifier of the entity for database storage. | key stringKey by which we can refer to this entity in the utterance. Ex (rasa): I'd like to visit [New York City](city) where city is the key | text stringText used to reference the entity in the utterance Ex (rasa): I'd like to visit [New York City](city) where New York City is the text. | value stringIf the reference text isn't the main entity value, this value points to the right key value to use. For example, for a city entity, if a synonym was used, this value would contain the key value it refers to in the entity. (rasa long): I went to NYC{"entity": "city", "value": "New York City"} where 'New York City' is the value (rasa short): I went to NYC(city:New York City) | value_id stringUnique identifier of the entity value for database storage. | role stringIf entity has repeated usage in the utterance, assigns role for each usage Ex (rasa): I want to fly from Berlin{"entity": "city", "role": "departure"} to San Francisco{"entity": "city", "role": "destination"}. |
| score floatThe confidence score for this match | span Spanstart uint32The start of this entity, as the utf8 byte index | end uint32The end of this entity, as the utf8 byte index |
| extractor string(Rasa specific) Name of the pipeline component that found this entity |
| parts InputPart[]If there are entity matches, matches in part format for convenience text Text | entity EntityMatchentity EntityReferenceSync from zia.ai.playbook.EntityReference entity_id stringUnique identifier of the entity for database storage. | key stringKey by which we can refer to this entity in the utterance. Ex (rasa): I'd like to visit [New York City](city) where city is the key | text stringText used to reference the entity in the utterance Ex (rasa): I'd like to visit [New York City](city) where New York City is the text. | value stringIf the reference text isn't the main entity value, this value points to the right key value to use. For example, for a city entity, if a synonym was used, this value would contain the key value it refers to in the entity. (rasa long): I went to NYC{"entity": "city", "value": "New York City"} where 'New York City' is the value (rasa short): I went to NYC(city:New York City) | value_id stringUnique identifier of the entity value for database storage. | role stringIf entity has repeated usage in the utterance, assigns role for each usage Ex (rasa): I want to fly from Berlin{"entity": "city", "role": "departure"} to San Francisco{"entity": "city", "role": "destination"}. |
| score floatThe confidence score for this match | span Spanstart uint32The start of this entity, as the utf8 byte index | end uint32The end of this entity, as the utf8 byte index |
| extractor string(Rasa specific) Name of the pipeline component that found this entity |
|
| model_id stringThe model that was used to make this prediction. | revision_id stringThe revision of the model that was used to make this prediction. |
|