langchain.retrievers.kendra.AdditionalResultAttributeValue¶

class langchain.retrievers.kendra.AdditionalResultAttributeValue(*, TextWithHighlightsValue: TextWithHighLights, **extra_data: Any)[source]¶

Bases: BaseModel

The value of an additional result attribute.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param TextWithHighlightsValue: langchain.retrievers.kendra.TextWithHighLights [Required]¶

The text with highlights value.