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

    Interface StringField

    A string field. Declare at least one of:

    • full_text_search: Index the text for full-text search.
    • embed: Embed the text with a hosted dense embedding model.
    • sparse_embed: Embed the text with a hosted sparse embedding model.

    Combine them to search the same text in more than one way. Each value is at most 100 KB.

    StringField

    interface StringField {
        description?: string;
        embed?: CreateEmbedConfig;
        fullTextSearch?: StringFieldFullTextSearch;
        sparseEmbed?: CreateSparseEmbedConfig;
        storeText?: boolean;
        type: "string";
    }
    Index
    description?: string

    Optional description for this field, at most 256 bytes.

    StringField

    StringField

    fullTextSearch?: StringFieldFullTextSearch

    StringField

    StringField

    storeText?: boolean

    Whether to store the field's text. A stored field is always indexed for full-text search, with default settings if full_text_search is omitted.

    Set to false to embed the text without storing it. The field must then declare embed or sparse_embed, can't declare full_text_search, can't be named in include_fields, and can't be searched by text. Fixed at creation.

    StringField

    type: "string"

    Identifies this as a string field. Must be string.

    StringField