langchainjs
langchainjs copied to clipboard
feat: Implement HyDE style document retriever
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."
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 |