langchainjs icon indicating copy to clipboard operation
langchainjs copied to clipboard

feat: Implement HyDE style document retriever

Open ezynda3 opened this issue 1 year ago • 1 comments

This adds the ability to retrieve documents from a vector store using the HyDE method as described here

"The HyDE method is a way to find information in a large set of documents using artificial intelligence. It starts by having a Large Language Model (LLM), like ChatGPT, create a document based on a specific question or topic. This document may contain some false information, but it also has relevant patterns that can be used to find similar documents in a trusted knowledge base.

Next, another AI model is used to turn the created document into an embedding vector, which is then used to find other documents similar to the one the AI model created."

ezynda3 avatar Apr 29 '23 15:04 ezynda3

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview May 1, 2023 9:59am

vercel[bot] avatar Apr 29 '23 15:04 vercel[bot]