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