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

    Interface ListModelsOptions

    The options for listing models.

    import type { ListModelsOptions } from '@pinecone-database/pinecone';
    const options: ListModelsOptions = { type: 'embed', vectorType: 'dense' };
    interface ListModelsOptions {
        type?: string;
        vectorType?: string;
    }
    Index
    type?: string

    Filter to limit the models returned. ('embed' or 'rerank')

    vectorType?: string

    Filter embedding models by vector type ('dense' or 'sparse'). Only relevant when type is 'embed'.