Interface for the arguments required to create a SelfQueryRetriever instance. It extends the BaseRetrieverInput interface.

Type Parameters

Hierarchy

Implemented by

Properties

llmChain: LLMChain<string, LLMType>
structuredQueryTranslator: BaseTranslator<T>
vectorStore: T
callbacks?: Callbacks
metadata?: Record<string, unknown>
searchParams?: {
    filter?: T["FilterType"];
    forceDefaultFilter?: boolean;
    k?: number;
    mergeFiltersOperator?: "and" | "or" | "replace";
}

Type declaration

  • Optional filter?: T["FilterType"]
  • Optional forceDefaultFilter?: boolean
  • Optional k?: number
  • Optional mergeFiltersOperator?: "and" | "or" | "replace"
tags?: string[]
useOriginalQuery?: boolean
verbose?: boolean

Generated using TypeDoc