Florian
CCConvex Community
•Created by Florian on 5/27/2025 in #support-community
Vector Search with relational filter
With Prisma, I would do something like this:
Not sure what SQL query this translates to. But the
userId
is only stored in the note and not in the embeddings.10 replies
CCConvex Community
•Created by Florian on 5/27/2025 in #support-community
Vector Search with relational filter
That kind of duplication feels a bit ugly compared to relational databases
10 replies
CCConvex Community
•Created by Florian on 5/27/2025 in #support-community
Vector Search with relational filter
So the userId has to be in both the note and the note embedding?
i.e.
10 replies
CCConvex Community
•Created by Florian on 5/27/2025 in #support-community
Vector Search with relational filter
How would I change my schema to do that? Considering that I split notes into text chunks before embedding them, so there is a 1-to-many relationship.
10 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
For anyone running into the same problem, I had to add the "Authorization" header to the options endpoint like this:
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
Maybe it works different because the AI SDK streams the response
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
The options request gets through, but the post request doesn't
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
Can you see anything in here?
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
@erquhart Ok, the auth error is solved. But I'm still getting CORS error after adding the corsRouter.
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
AuthProviderDiscoveryFailed
but there are 0 Google results28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
doesn't look like it
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
I'll give it a try, but my Convex auth randomly stopped working
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
It does look useful
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
And my package.json entry looks like this:
"convex-helpers": "npm:@erquhart/convex-helpers@^0.1.87",
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
I can't figure out the import statement
28 replies
CCConvex Community
•Created by Florian on 5/21/2025 in #support-community
http request blocked by cors
Thank you. Is that npm install command broken?
28 replies