there is something bad going on with vectorize indexes, I tried three times to create a text embeddi

there is something bad going on with vectorize indexes, I tried three times to create a text embeddings index, I defined them with metric cosine and 1536 dimensions. It appears that after inserting a certain amout of vectors my index breaks and my queries starting returning absolutely nonsense "scores" - for example right now my queries to this cosine index are returning scores like 28.955 or something like that (and that is breaking search results)
9 Replies
Saatvik
Saatvik5w ago
I don't see my vectorize v2 index in cloudflare dashboard. I only see v1 vector index. listing it with wrangler cli works
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Joey
Joey4w ago
I'm getting a similar error to this when trying to create meta-indexes
npx wrangler vectorize create-metadata-index <MYINDEX> --property-name='userId' --type='string'
npx wrangler vectorize create-metadata-index <MYINDEX> --property-name='userId' --type='string'
this is the command I ran ERROR] A request to the Cloudflare API Failed Expected request with Content-Type: application/json [code: 40026] If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose This is the output I'm getting additionally the docs have this command with the name property and type property being wrapped in quotes on one page and not being wrapped in quotes on another Both commands return the same error (I'm guessing its expecting a post request and using a get request) Happens on both wrangler version: 3.72.0 and 3.72.2(latest)
garvitg
garvitg4w ago
Hey @Joey. Thank you for reporting this! We are aware of this issue (https://github.com/cloudflare/workers-sdk/issues/6516) and we have pushed a fix. It should be available with the next release of Wrangler (expected early next week). If you'd like to unblock yourself today, you can use a Wrangler pre-released version associated with this fix: https://github.com/cloudflare/workers-sdk/pull/6548#issuecomment-2302185968.
GitHub
🐛 BUG: Error when wrangler vectorize create-metadata-index on Vecto...
Which Cloudflare product(s) does this pertain to? Wrangler What version(s) of the tool(s) are you using? Wrangler 3.72.0 What version of Node are you using? 22.3.0 What operating system and version...
GitHub
fix: Fix Vectorize JSON payloads by garvit-gupta · Pull Request #65...
What this PR solves / how to test Add content-type header to Vectorize POST operations Fix Vectorize getVcetors, deleteVectors payload in Wrangler Client Fixes #6516/VS-269 and VS-271. Author has a...
Joey
Joey4w ago
thank you very much, I must have missed the issue as I was looking through open issues before asking here I'll use the pre-release version and fix it today thanks for the help
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
7437locked
7437locked3w ago
hi cloudflare team, is vectorize still free for users with a workers paid plan? the pricing page (https://developers.cloudflare.com/vectorize/platform/pricing/) says "Vectorize is currently in public beta and is free to use on Workers Paid plans." but also it says "We intend to enable billing for Vectorize usage in January 2024." thanks 🙂
Cloudflare Docs
Pricing | Vectorize
Vectorize bills based on:
kcbrewron
kcbrewron3w ago
As I move from a proof of concept to a real application product,is there a way to migrate the data or rename an existing vector index? It would be very handy to be able to do this in the wrangler cli
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server