Interface SelfQueryRetrieverArgs<T>

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

Type Parameters

Hierarchy

  • BaseRetrieverInput
    • SelfQueryRetrieverArgs

Implemented by

Properties

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

Type declaration

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

Generated using TypeDoc