TextWithHighLights#

class langchain_community.retrievers.kendra.TextWithHighLights[source]#

Bases: BaseModel

Text with highlights.

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 Highlights: Any | None = None#

The highlights.

param Text: str [Required]#

The text.