-
-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llms/mistral: Implementing embeddings.EmbedderClient for Mistral and an example with PGVector #1086
llms/mistral: Implementing embeddings.EmbedderClient for Mistral and an example with PGVector #1086
Conversation
I did a replace in my mod file for my local dev, and was unsure how to handle that in the PR, which I think is the reason for the CI failures. Happy to take pointers on if I should change something in my repo to fix it. KR |
…ents CreateEmbedding and the embeddings.EmbedderClient interface
Ok, I think good to go for reviewing. Also, as said earlier, any pointers or feedback welcome as this is my first PR in this project. |
@FluffyKebab , happy to hear any further improvement suggestions or feedback. |
This PR implements the embeddings.EmbedderClient interface for mistral, using the "mistral-embed" model. There is an example, heavily inspired by the
openai-embeddings-example
of how it can be used with pgvector.PR Checklist
memory: add interfaces for X, Y
orutil: add whizzbang helpers
).Fixes #123
).golangci-lint
checks.