-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
VertexAIEmbeddings error when passing a list with of length greater than 5. #5316
Closed
2 of 14 tasks
Comments
This is a limit imposed by the Vertex API. I can implement pagination in the embed_documents call in order to avoid this error. |
I am also facing same issue |
hwchase17
added a commit
that referenced
this issue
May 29, 2023
Fixes #5316 --------- Co-authored-by: Justin Flick <[email protected]> Co-authored-by: Harrison Chase <[email protected]>
vowelparrot
pushed a commit
that referenced
this issue
May 31, 2023
Fixes #5316 --------- Co-authored-by: Justin Flick <[email protected]> Co-authored-by: Harrison Chase <[email protected]>
jaclar
added a commit
to jaclar/langchainjs
that referenced
this issue
Jun 8, 2023
As mentioned here: langchain-ai/langchain#5316 Vertex AI accepts 5 instances max when requesting text embeddings.
Undertone0809
pushed a commit
to Undertone0809/langchain
that referenced
this issue
Jun 19, 2023
Fixes langchain-ai#5316 --------- Co-authored-by: Justin Flick <[email protected]> Co-authored-by: Harrison Chase <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
google-cloud-aiplatform==1.25.0
langchain==0.0.181
python 3.10
Who can help?
No response
Information
Related Components
Reproduction
Any list with len > 5 will cause an error.
Expected behavior
Excepted to successfully be able to vectorize a larger list of items. Maybe implement a step to
The text was updated successfully, but these errors were encountered: