EntitiesSuggestionExample Class

Predicted/suggested entity.

Inheritance
EntitiesSuggestionExample

Constructor

EntitiesSuggestionExample(*, text: Optional[str] = None, tokenized_text=None, intent_predictions=None, entity_predictions=None, **kwargs)

Parameters

text
str
Required

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

tokenized_text
list[str]
Required

The utterance tokenized.

intent_predictions
list[IntentPrediction]
Required

Predicted/suggested intents.

entity_predictions
list[EntityPrediction]
Required

Predicted/suggested entities.