BAAI/bge-m3
for embeddings and a reranker of BAAI/bge-reranker-large
from llama_index.postprocessor.flag_embedding_reranker import FlagEmbeddingReranker
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
Settings.embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-m3")
rerank = FlagEmbeddingReranker(top_n=3, model="BAAI/bge-reranker-large")
mistral-embed
model. They are French afterall so I would suspect they would work well.bge-m3
would work too. i've only really ever looked at English since that's what I useSettings.embed_model = MistralAIEmbedding(model_name= "mistral-embed", api_key="<YOUR_API_KEY>")