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

fix: workaround for massive arrays #3311

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

t2tx
Copy link
Contributor

@t2tx t2tx commented Feb 21, 2025

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #3234

What is in this change?

Split massive arrays to avoid string length error of JSON.stringify()

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@t2tx t2tx marked this pull request as ready for review February 22, 2025 12:09
@timothycarambat
Copy link
Member

This current PR will break upserts of cached data post-update. If you were to embed a file, unembed it, then try to re-embed you would be recalculating the vectors for the content and then storing a new cache as opposed to reading the folder and using that.

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

Successfully merging this pull request may close these issues.

[BUG]: storeResultVector in massive arrays
3 participants