DocumentAttribute#

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

Bases: BaseModel

Document 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 Key: str [Required]#

The key of the attribute.

param Value: DocumentAttributeValue [Required]#

The value of the attribute.