-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
embeddings: clean up code using new inferaces/type #379
Comments
This is the first use of the refactoring made in tmc#374 -- removing the embeddings/openai directory entirely, since it can be now implemented with NewEmbedder without duplicating code. The test was moved one dir down and works with the new setup. This is a model that can be used to similarly refactor the other embeddings/* subdirs. This is a large PR because it also updates example go.mods For tmc#379
This is the first use of the refactoring made in #374 -- removing the embeddings/openai directory entirely, since it can be now implemented with NewEmbedder without duplicating code. The test was moved one dir down and works with the new setup. This is a model that can be used to similarly refactor the other embeddings/* subdirs. This is a large PR because it also updates example go.mods For #379
For #379 Updates examples go.mod because it's used in an example
For #379 Updates examples go.mod because it's used in an example
This is the first use of the refactoring made in #374 -- removing the embeddings/openai directory entirely, since it can be now implemented with NewEmbedder without duplicating code. The test was moved one dir down and works with the new setup. This is a model that can be used to similarly refactor the other embeddings/* subdirs. This is a large PR because it also updates example go.mods For #379
For #379 Updates examples go.mod because it's used in an example
#396 is retrofitting TEI into this pattern |
@eliben was TEI the last instance? are we good to close? |
Nope there's still |
There are a few more details here: #388 (comment) |
Ah thanks, I had missed that comment. Closing that issue as we have a tagged release but will leave this issue open. |
@tmc and @zivkovicn any chance one of you wants to take a look at the huggingface embeddings implementation to make it work with this refactoring so we can close the issue? I have almost no experience working with Hugging Face |
#374 introduced
NewEmbedder
which can be used to clean up much of the code in theembeddings
package, following #372This is a tracking issue for that work.
The text was updated successfully, but these errors were encountered: