You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, maybe a feature request but lots of opensource embedding models require additionnal instructions for best performance (ex. nomic-embed-text-v1.5, multilingual-e5-large-instruct).
Is there a way to provide theses instructions ?
Regards.
The text was updated successfully, but these errors were encountered:
Hey, so graphiti has a generic abstract EmbedderClient that is used for our actual calls. It implements embedderClient.create and embedderClient.create_batch methods. If you want to use an embedder that isn't currently supported you can define a new class that inherits from EmbedderClient and implements those methods.
For example, you could make a NomicEmbed(EmbedderClient) class and either have it instantiate the embedding instructions or use some defaults on the nomicEmbed.create call. I can help advise on this and review if you need help implementing this.
Also if you create a new working embedder client for one of these models we would also be happy to merge in your PR so others in the community can use it as well!
Hi, maybe a feature request but lots of opensource embedding models require additionnal instructions for best performance (ex. nomic-embed-text-v1.5, multilingual-e5-large-instruct).
Is there a way to provide theses instructions ?
Regards.
The text was updated successfully, but these errors were encountered: