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

    Interface CreateSparseEmbedConfig

    Learned-sparse embedding configuration for a string field. Pinecone embeds the field's text when documents are upserted or updated, and the query text when a search scores the field with a sparse_embed scoring method.

    Every key is optional; {} selects the default model. Fixed at creation.

    CreateSparseEmbedConfig

    interface CreateSparseEmbedConfig {
        model?: string;
        readParameters?: object;
        writeParameters?: object;
    }
    Index
    model?: string

    The name of a hosted sparse embedding model. Defaults to pinecone-sparse-english-v0.

    Refer to the model guide for available models.

    CreateSparseEmbedConfig

    readParameters?: object

    Model-specific parameters applied when embedding search query text, such as truncate. Omitted parameters take the model's defaults.

    CreateSparseEmbedConfig

    writeParameters?: object

    Model-specific parameters applied when embedding document text, such as truncate. Omitted parameters take the model's defaults.

    CreateSparseEmbedConfig