Interface for the fields required to initialize a TimeWeightedVectorStoreRetriever instance.

interface TimeWeightedVectorStoreRetrieverFields {
    vectorStore: VectorStoreInterface;
    decayRate?: number;
    defaultSalience?: number;
    k?: number;
    memoryStream?: DocumentInterface[];
    otherScoreKeys?: string[];
    searchKwargs?: number;
}

Hierarchy (view full)

  • Toolkit
    • TimeWeightedVectorStoreRetrieverFields

Properties

vectorStore: VectorStoreInterface
decayRate?: number
defaultSalience?: number
k?: number
memoryStream?: DocumentInterface[]
otherScoreKeys?: string[]
searchKwargs?: number
""