TextWithHighLights#
- class langchain_aws.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.