HydeRetrieverOptions<V>: {
    callbacks?: undefined | Callbacks;
    filter: undefined | V["FilterType"];
    k: undefined | number;
    llm: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>;
    metadata?: undefined | Record<string, unknown>;
    promptTemplate?: undefined | BasePromptTemplate<any, BasePromptValueInterface, any> | PromptKey;
    searchType: undefined | "similarity" | "mmr";
    tags?: undefined | string[];
    vectorStore: V;
    verbose?: undefined | boolean;
}

Options for the HydeRetriever class, which includes a BaseLanguageModel instance, a VectorStore instance, and an optional promptTemplate which can either be a BasePromptTemplate instance or a PromptKey.

Type Parameters

  • V extends VectorStore