llama_index icon indicating copy to clipboard operation
llama_index copied to clipboard

[wip] Example of implementing HyDE

Open VivaLaPanda opened this issue 2 years ago • 1 comments

https://github.com/jerryjliu/gpt_index/issues/385

Not sure exactly the best way to design this so that it fits the gpt_index abstractions, but this is the first step towards having a working HyDe configuration, and it functions quite well relative to the baseline embedding search

VivaLaPanda avatar Feb 05 '23 19:02 VivaLaPanda

thanks for writing this! just a heads up i will be doing broader refactors to create some sort of "query processor" on index queries that can generically do operations such as hyde.

in the meantime i'm down to help land this as a beta feature if you'd like! (meaning params may change in the future). If you'r down, we could put in BaseGPTVectorStoreQuery or even just BaseGPTQuery (seems applicable to most indices)

jerryjliu avatar Feb 06 '23 08:02 jerryjliu

Closed now that we have #437

jerryjliu avatar Feb 18 '23 05:02 jerryjliu