FlagOpen / FlagEmbedding

Retrieval and Retrieval-augmented LLMs
MIT License
6.16k stars 442 forks source link

有没有bgem3三路召回结合向量库的例子,例如milvus #480

Open okzhili opened 5 months ago

staoxiao commented 5 months ago

您好,结合向量库的例子在我们的计划中,预计下个月会发布。

Mrfranken commented 4 months ago

您好,结合向量库的例子在我们的计划中,预计下个月会发布。

hi, sorry to bother. We do need the example for vector db usage with M3, expecially for FAISS(cus Milvus is not free for common users). If you could, could you give a simple example? Many thx.

staoxiao commented 4 months ago

The examples of hybrid retrieval are not likely to be prepared quickly. Currently, you can refer to Vespa or our evaluation script(use Faiss and Pyserini).

staoxiao commented 4 months ago

Now, you can use the hybrid retrieval of bge-m3 following https://github.com/milvus-io/pymilvus/blob/master/examples/hello_hybrid_sparse_dense.py