do we need to fill this form to test V2 or need to subscribe a paid plan?
do we need to fill this form to test V2 or need to subscribe a paid plan?
8 Replies
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
Hi @BlockTxn. Could you please confirm that the API Token you are using includes the Vectorize:Edit permission for the account in which this index is present? That permission would be needed to create or delete Vectorize indexes.
Question about metadata indexing behavior: does it apply to existing vectors or only to those created after the metadata index is created? otherwise, does it backfill the index async?
FYI, submitted API site feedback, https://developers.cloudflare.com/api/operations/vectorize-list-metadata-indexes should be GET not POST; also fails in ⛅️ wrangler 3.71.0 when running
$ wrangler vectorize list-metadata-index <index-name>
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)
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•3mo ago
Message Not Public
Sign In & Join Server To View
I'm getting a similar error to this when trying to create meta-indexes
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)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...