Open Nishanth-Gobi opened 3 months ago
Very strange @Nishanth-Gobi, thanks for reporting. You're the first I've seen that has experienced this with the new Supabase.ai
API. Would you mind submitting an issue on the edge-runtime
repo with this error (and link back to this issue)?
Ahh ok I found the issue @Nishanth-Gobi - you have a bug in your functions/embed/index.ts
file. Mine was that I didn't generate the typescript type into _lib/database.ts
Bug report
Describe the bug
On file uploads, the embedding function fails to create vectors for some of the chunks with the below message,
I am using the new
Supabase.ai.Session()
API and am on Edgev1.53.3
, but it still happens sometimes at random.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
All chunks to have their corresponding vectors.
Screenshots
System information
Additional context
@gregnr this seems to be different from what you mentioned could be the reason for partial NULLs in #30