Arguments for the MultiVectorRetriever class.

interface MultiVectorRetrieverInput {
    byteStore?: BaseStore<string, Uint8Array>;
    callbacks?: Callbacks;
    childK?: number;
    docstore?: BaseStoreInterface<string, Document<Record<string, any>>>;
    idKey?: string;
    metadata?: Record<string, unknown>;
    parentK?: number;
    tags?: string[];
    vectorstore: VectorStoreInterface;
    verbose?: boolean;
}

Hierarchy

  • BaseRetrieverInput
    • MultiVectorRetrieverInput

Properties

byteStore?: BaseStore<string, Uint8Array>
callbacks?: Callbacks
childK?: number
docstore?: BaseStoreInterface<string, Document<Record<string, any>>>

Prefer byteStore.

idKey?: string
metadata?: Record<string, unknown>
parentK?: number
tags?: string[]
vectorstore: VectorStoreInterface
verbose?: boolean