Skip to content
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

Add OpenAI embedding feature #957

Open
pepeto opened this issue Mar 21, 2023 · 5 comments
Open

Add OpenAI embedding feature #957

pepeto opened this issue Mar 21, 2023 · 5 comments
Labels
feast This may require a few weeks of work help wanted

Comments

@pepeto
Copy link

pepeto commented Mar 21, 2023

image

It would be great to have this alternative in the combo.

Thank you! I Love Orage!!!

@PrimozGodec
Copy link
Collaborator

PrimozGodec commented Mar 24, 2023

Hi, thank you for the suggestion. If I understand correctly, are these embeddings only available through their API? Is there no option to run models locally/on private infrastructure?

@pepeto
Copy link
Author

pepeto commented Mar 24, 2023

It is correct, OpenAI Ada model is run via API (vector of 1536 elements). Nevertheless, there are other free options (also via API) in Hugging Face. In these case, the Model is downloaded just once when it's called for the first time. There are more info in this link and I think it could be very interesting to have these solutions at hand. Thank you!
https://huggingface.co/blog/getting-started-with-embeddings

@PrimozGodec
Copy link
Collaborator

Thank you for the suggestion. SBERT embedding in the paraphrase-multilingual-MiniLM-L12-v2 model that you can find at the huggingface.co. Would some other embedding (from those freely available) suit you better?

And while I was digging into this one, I just realised we didn't document what embedding we are using. We should improve the documentation.

@pepeto
Copy link
Author

pepeto commented Apr 7, 2023

If you are connecting huggingface, there are many other models and you could even choose, select or enter the name of the model you like. All of them have the same interface in order to use them, and you don't know what can be added in the future. Take a look at Langchain and its possibilities of integrations. THANK YOU!!!

@PrimozGodec
Copy link
Collaborator

PrimozGodec commented Aug 1, 2023

Huggingface API looks really promising. We should think about including it in Orange3-text.

@PrimozGodec PrimozGodec added help wanted feast This may require a few weeks of work labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feast This may require a few weeks of work help wanted
Projects
None yet
Development

No branches or pull requests

2 participants