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

    Interface LegacyIndexEmbed

    Integrated embedding settings derived from a semantic text field.

    interface LegacyIndexEmbed {
        dimension?: number;
        fieldMap: { text: string };
        metric?: string;
        model: string;
        readParameters?: object | null;
        vectorType?: "dense" | "sparse";
        writeParameters?: object | null;
    }
    Index
    dimension?: number

    Reported vector dimension; null denotes a sparse model.

    fieldMap: { text: string }

    Maps the text input to its schema field.

    Type Declaration

    • text: string

      Schema field supplying text to the model.

    metric?: string

    Reported similarity metric.

    model: string

    Integrated embedding model identifier.

    readParameters?: object | null

    Model parameters applied at query time.

    vectorType?: "dense" | "sparse"

    The vector type, when reported by the model.

    writeParameters?: object | null

    Model parameters applied at write time.