langchain.retrievers.kendra.DocumentAttribute¶
- class langchain.retrievers.kendra.DocumentAttribute(*, Key: str, Value: DocumentAttributeValue, **extra_data: Any)[source]¶
Bases:
BaseModelA 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: langchain.retrievers.kendra.DocumentAttributeValue [Required]¶
The value of the attribute.