-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Passing large datasets to Embedding
causes an error
#519
Comments
Hi
…On Tue, 4 Jul 2023, 22:33 Isaiah Becker-Mayer ***@***.***> wrote:
Describe the bug
See the bug report originally filed in chroma-core/chroma#709
<chroma-core/chroma#709>
To Reproduce
See the bug report originally filed in chroma-core/chroma#709
<chroma-core/chroma#709>
Code snippets
*No response*
OS
macOS
Python version
Python v3.11.4
Library version
openai==0.27.8
—
Reply to this email directly, view it on GitHub
<#519>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6AGSLA6CVZ6HCWTYBGWK4TXOROZHANCNFSM6AAAAAAZ6BIQYA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I also encountered this error when trying to embed too-large of a "chunk":
|
@ibeckermayer : Thanks for reporting this. I ran into the Some trial and error (binary search on valid array/list size) and guesswork led me to discover that the maximum array size for
|
no element in the list should be BLANK/EMPTY/NULL content in the input parameter (list of paragraph) |
Very nice findings. Could someone from OpenAI team document 2048 and 1,000,000 in the docs? Unfortunately the feedback form there is not really usable (it is even single-line) ... |
Thanks for debugging & sharing your findings @emcd. I've put in a request to update the documentation accordingly. I'm going to close this issue since it's not a bug in the Python library. |
I was facing the same. Found the solution! I am using the I was sending the large array and send it as input:
As I using PHP so converted the
And it works for me. Additionally, I refer to the doc:
But there is no mention of that. SOLUTION: Convert the Array to JSON format. |
Describe the bug
See the bug report originally filed in chroma-core/chroma#709
To Reproduce
See the bug report originally filed in chroma-core/chroma#709
Code snippets
No response
OS
macOS
Python version
Python v3.11.4
Library version
openai==0.27.8
The text was updated successfully, but these errors were encountered: