Schema for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when schema is present, only fields which are present in the fields object with a filterable: true are indexed. Note that filterable: false is not currently supported.

MetadataSchema

interface MetadataSchema {
    fields: { [key: string]: MetadataSchemaFieldsValue };
}

Properties

Properties

fields: { [key: string]: MetadataSchemaFieldsValue }

A map of metadata field names to their configuration. The field name must be a valid metadata field name. The field name must be unique.

MetadataSchema