Interface for the fields required to initialize a TimeWeightedVectorStoreRetriever instance.

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

Hierarchy

  • BaseRetrieverInput
    • TimeWeightedVectorStoreRetrieverFields

Properties

vectorStore: VectorStoreInterface
decayRate?: number
defaultSalience?: number
k?: number
memoryStream?: DocumentInterface<Record<string, any>>[]
otherScoreKeys?: string[]
searchKwargs?: number

Generated using TypeDoc