Skip to content

Lex Runtime V2  >  Structures  >  RuntimeHintDetails

RuntimeHintDetails

Structure Class

RuntimeHintDetails dataclass

Provides an array of phrases that should be given preference when resolving values for a slot.

Attributes

runtime_hint_values class-attribute instance-attribute
runtime_hint_values: list[RuntimeHintValue] | None = None

One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.

sub_slot_hints class-attribute instance-attribute
sub_slot_hints: dict[str, RuntimeHintDetails] | None = None

A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.