-
Notifications
You must be signed in to change notification settings - Fork 35
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
Can this work offline? #3
Comments
Check these two repos out: https://github.com/xenova/transformers.js I've tried to use transformersjs in a chrome extension service worker for just embedding to no avail 😞. Let me know if you figure it out |
Oh wow I didn't know about xenova. I've heard of onnx though and that uses onnx. From the description it doesn't look like it does embeddings, but apparently it can do summarization and that is something I definitely want to test out. |
From the SemanticFinder repo, it looks like you can do embeddings. They just renamed the pipeline to "feature-extraction" But maybe I'm wrong... That would explain why I haven't gotten it to work |
I found a completely offline solution using transformersJS:
|
Do you have some suggestion about replace openai api with some local npm package?
The text was updated successfully, but these errors were encountered: