[feat add]FastEmbed embedding for local embeddings#3552
[feat add]FastEmbed embedding for local embeddings#3552parshvadaftari merged 8 commits intomem0ai:mainfrom
Conversation
|
Hey @lucifertrj Thank you for implementing this but can you please see for the failing tests? |
mem0/embeddings/fastembed.py
Outdated
| self.config.model = self.config.model or "thenlper/gte-large" | ||
| self.config.embedding_dims = self.config.embedding_dims or 1024 | ||
|
|
||
| self.dense_model = TextEmbedding(model_name = self.config.model,max_lenth = self.config.embedding_dims) |
There was a problem hiding this comment.
Can you remove max_lenth from here? Fastembed doesn't support this param.
There was a problem hiding this comment.
can you check now
|
Hey @lucifertrj the tests are failing. Can you please check? |
|
Can you resolve merge conflicts? |
I have resolved it. I am getting this Vercel Authorization required to deploy although I have already approved. |
|
Vercel deployment is for the maintainers of the project, so that is fine and not an issue on your end. |
Alright got it. |
|
@lucifertrj there's no support for the |
In that case, they will have to use a specific vector store, mainly Qdrant. FastEmbed goes well in hand with Qdrant vector store. I can help out with documentation. |
|
Okay cool it looks good to me! |
parshvadaftari
left a comment
There was a problem hiding this comment.
Looks good to me!
|
Thanks a lot for your contribution @lucifertrj 🚀 |
let's go. Let me add the documentation too... |
|
Let me know once you raise the PR!🔥 |

Add: FastEmbed Embedding for the local embedding inference use cases
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
As of now, I have tested FastEmbed Embeddings with mem0 Memory Config directly.
Please delete options that are not relevant.
Checklist:
Maintainer Checklist