const retriever = new MultiQueryRetriever.fromLLM({
llm: new ChatAnthropic({}),
retriever: new MemoryVectorStore().asRetriever(),
verbose: true,
});
const retrievedDocs = await retriever.getRelevantDocuments(
"What are mitochondria made of?",
);

Hierarchy (view full)

Constructors

Properties

documentCompressor: undefined | BaseDocumentCompressor
documentCompressorFilteringFn?: ((docs: MultiDocs) => MultiDocs)

Methods

""