langchain_community.retrievers.kendra
.DocumentAttributeValue¶
- class langchain_community.retrievers.kendra.DocumentAttributeValue[source]¶
Bases:
BaseModel
Value of a 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 DateValue: Optional[str] = None¶
The date expressed as an ISO 8601 string.
- param LongValue: Optional[int] = None¶
The long value.
- param StringListValue: Optional[List[str]] = None¶
The string list value.
- param StringValue: Optional[str] = None¶
The string value.
- property value: Optional[Union[str, int, List[str]]]¶
The only defined document attribute value or None. According to Amazon Kendra, you can only provide one value for a document attribute.