HydeRetrieverOptions<V>: VectorStoreRetrieverInput<V> & {
    llm: BaseLanguageModelInterface;
    promptTemplate?: BasePromptTemplate | PromptKey;
}

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

Type declaration

  • llm: BaseLanguageModelInterface
  • Optional promptTemplate?: BasePromptTemplate | PromptKey

Generated using TypeDoc