Pinecone TypeScript SDK - v9.1.0
    Preparing search index...

    Interface DocumentRecord

    A document with a unique identifier and field values. Fields named in the index schema are validated against it; any other field is stored as filterable metadata. Every document must carry at least one schema field and every schema field the index marks required; a document with only _id and metadata is rejected. Limits: 2 MB per document and per request, 100 KB per string schema field value (whether or not its text is stored), and 10,000 tokens per full-text-search field value.

    A string field that declares embed or sparse_embed takes its text as a string, and Pinecone derives its vectors; a caller-supplied vector on such a field is rejected. A field with embed is required on every upsert.

    DocumentRecord

    interface DocumentRecord {
        _id: string;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any
    Index
    _id: string

    The unique identifier for the document.

    DocumentRecord