tRAGar - v0.1.0
    Preparing search index...

    Interface CustomEmbedderConfig

    interface CustomEmbedderConfig {
        dim: number;
        modelId: string;
        type: "custom";
        embed(batch: string[]): Promise<Float32Array<ArrayBufferLike>[]>;
    }
    Index

    Properties

    Methods

    Properties

    dim: number
    modelId: string
    type: "custom"

    Methods

    • Parameters

      • batch: string[]

      Returns Promise<Float32Array<ArrayBufferLike>[]>