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

Gradient.ai - updating the SDK #110

Merged
merged 14 commits into from
Dec 18, 2023
Merged

Gradient.ai - updating the SDK #110

merged 14 commits into from
Dec 18, 2023

Conversation

michaelfeil
Copy link
Contributor

Our SDK gradientai >= 1.4.0 supports now async API and threaded batching in our API - the embedding model now exposes .embed => This PR aims to improve speed of embeddings over large numbers of documents.

Dependencies:

  • bumped gradientai from 1.3.0 to 1.4.0. The SDK always had a minium python version of 3.8, except for some initial experiments (e.g. 1.0.0.dev1). Therefore, I raised the miniumum version to 1.4.0
  • added tqdm as optional. It should be pre-installed, and we are using no advanced options other than from tqdm import tqdm, no version pin required. I think this will improve developer experience, especially since the embeddings are now faster on the server side.

@mhaligowski Can you give this a check before I mark as ready?

@CLAassistant
Copy link

CLAassistant commented Dec 15, 2023

CLA assistant check
All committers have signed the CLA.

@mhaligowski
Copy link
Contributor

LGTM, let's make sure that the tests are ran and we're gtg!

@michaelfeil michaelfeil marked this pull request as ready for review December 15, 2023 20:56
@michaelfeil michaelfeil requested a review from a team as a code owner December 15, 2023 20:56
@michaelfeil michaelfeil requested review from silvanocerza and removed request for a team December 15, 2023 20:56
@michaelfeil
Copy link
Contributor Author

All tests passing on my end.

@masci
Copy link
Contributor

masci commented Dec 15, 2023

Thanks folks! FYI, in #103 we removed all the __about__.py files, to resolve the conflict just delete the one in your branch and it should be good.

@michaelfeil
Copy link
Contributor Author

@masci Alright.

@masci masci assigned masci and unassigned masci Dec 18, 2023
Copy link
Contributor

@silvanocerza silvanocerza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, merging!

@silvanocerza silvanocerza merged commit 2fe2600 into deepset-ai:main Dec 18, 2023
7 checks passed
@michaelfeil michaelfeil deleted the mfeil-update-embedding-sdk14 branch December 18, 2023 16:50
@michaelfeil
Copy link
Contributor Author

Awesome, thanks guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants