milvus-io / milvus-model

The embedding/reranking model zoo help user to convert their unstructured data into embeddings
Apache License 2.0
22 stars 17 forks source link

fix(dependencies): fix breaking change in FlagEmbedding 1.3 dependency #44

Closed rguilmont closed 3 weeks ago

rguilmont commented 3 weeks ago

Description

Resolve #43

FlagEmbedding v1.3.X has breaking change with pymilvus/milvus-model :

Error occurred: M3Embedder.encode() missing 1 required positional argument: 'queries'

This is a hotfix to force a version 1.2.X.

I think it's quite urgent since it can break multiple production system with lazy dependency loader.