DocumentAttributeValue#
- class langchain_aws.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][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- param DateValue: str | None = None#
The date expressed as an ISO 8601 string.
- param LongValue: int | None = None#
The long value.
- param StringListValue: List[str] | None = None#
The string list value.
- param StringValue: str | None = None#
The string value.
- property value: str | int | List[str] | None#
The only defined document attribute value or None. According to Amazon Kendra, you can only provide one value for a document attribute.