llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

Implement Support for HyDE

Open VivaLaPanda opened this issue 2 years ago • 0 comments

Using the vector store DBs with the default OpenAI embeddings as pretty meh results, because the OpenAi embeddings aren't really optimized for search. We could use HyDE to improve this, and langchain already has this implemented: https://langchain.readthedocs.io/en/latest/modules/utils/combine_docs_examples/hyde.html

I've spent some time hacking around, but I'm not sure where the most natural place to inject this into the gpt_index flow is.

VivaLaPanda avatar Feb 05 '23 19:02 VivaLaPanda