Skip to content

MetadataConfiguration

Source code in docs_src/capo_s3vectors/types/metadata_configuration.py
class MetadataConfiguration(TypedDict, closed=True):
    non_filterable_metadata_keys: (
        "capo_s3vectors.types.non_filterable_metadata_keys.NonFilterableMetadataKeys"
    )
    """<p>Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. You can't use these keys in metadata filters. You can still make a non-filterable key full-text searchable by configuring it separately in <code>textSearchConfigurations</code>. You can retrieve non-filterable metadata keys after finding the vectors. For more information about non-filterable metadata keys, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-vectors.html">Vectors</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-vectors-limitations.html">Limitations and restrictions</a> in the <i>Amazon S3 User Guide</i>. </p>"""
    text_search_configurations: (
        "capo_s3vectors.types.text_search_configurations.TextSearchConfigurations"
    )
    """<p>Full-text search configurations for searchable metadata keys.</p>"""

non_filterable_metadata_keys instance-attribute

non_filterable_metadata_keys: NonFilterableMetadataKeys

Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. You can't use these keys in metadata filters. You can still make a non-filterable key full-text searchable by configuring it separately in textSearchConfigurations. You can retrieve non-filterable metadata keys after finding the vectors. For more information about non-filterable metadata keys, see Vectors and Limitations and restrictions in the Amazon S3 User Guide.

text_search_configurations instance-attribute

text_search_configurations: TextSearchConfigurations

Full-text search configurations for searchable metadata keys.