Skip to content

Conversation

@tylerhutcherson
Copy link
Collaborator

This PR adds support for:

  • Exponential backoff for the openAI vectorizer
  • Optional as_buffer flag that can be passed to the various vectorizer embedding creation methods. Defaults to False always and assumes the user wants it back as a list of floats. But now this option is enabled.

@tylerhutcherson tylerhutcherson requested a review from Spartee August 4, 2023 02:42
@codecov-commenter
Copy link

codecov-commenter commented Aug 4, 2023

Codecov Report

Merging #35 (fcd9c95) into main (622e82c) will increase coverage by 0.03%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   87.60%   87.64%   +0.03%     
==========================================
  Files          11       11              
  Lines         589      599      +10     
==========================================
+ Hits          516      525       +9     
- Misses         73       74       +1     
Files Changed Coverage Δ
redisvl/vectorize/base.py 79.31% <80.00%> (+0.14%) ⬆️
redisvl/vectorize/text/huggingface.py 86.36% <83.33%> (ø)
redisvl/vectorize/text/openai.py 87.80% <89.47%> (+1.69%) ⬆️

Spartee
Spartee previously approved these changes Aug 4, 2023
Copy link
Contributor

@Spartee Spartee left a comment

Choose a reason for hiding this comment

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

Approved once merge conflicts fixed.

@tylerhutcherson tylerhutcherson merged commit 4877f8b into main Aug 5, 2023
@tylerhutcherson tylerhutcherson deleted the update-vectorizers branch August 5, 2023 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants