Pinecone TypeScript SDK - v8.2.0
    Preparing search index...

    Interface PreviewCreateIndexSchema

    The schema to use when creating a Pinecone index. Defines the typed fields that documents in the index can contain, including vector fields, semantic text fields, and metadata fields. At least one primary field (dense_vector, sparse_vector, semantic_text, or a string field with full_text_search) must be present.

    CreateIndexSchema

    interface PreviewCreateIndexSchema {
        fields: { [key: string]: PreviewCreateIndexSchemaField };
    }
    Index
    fields: { [key: string]: PreviewCreateIndexSchemaField }

    A map of field names to their configurations. Field names must be unique, non-empty strings and must not use the reserved names _id, _values, or _sparse_values.

    CreateIndexSchema