netease-youdao / BCEmbedding

Netease Youdao's open-source embedding and reranker models for RAG products.
Apache License 2.0
1.37k stars 90 forks source link

Adaptation for llama-index > 0.10 #87

Open Innary opened 1 week ago

Innary commented 1 week ago

Dear netease-youdao team,

The llama-index part of the code has been deprecated since v0.10.x again, so I'm submitting that code.

This modification allows the BCERerank NodePostprocessor to work properly with llama_index versions higher than v0.10.x

The modification has been certified feasible in my project after tested in LlamaIndex v0.11.6(latest).