Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Hey,

Hey, I’m encountering a persistent issue when querying a Cloudflare vector index using env.VECTORS.query() in a worker. Despite passing a valid 768-dimensional vector, I consistently receive the error. VECTOR_QUERY_ERROR (code = 40006): invalid query vector, expected 768 dimensions, and got 0 dimensions I have validated the entries with: console.log(ā€œVector length:ā€, queryVectorRaw.length); // 768...

Can I have some questions? 1) What's the

Can I have some questions? 1) What's the best way to get all metadata from vectorize? For example i have 1000 topK i want to return 1000 metadata texts, right now limit is just 20 2) Is it good idea to have namespace per user, or i should go with separate vectorize per user? Thanks for help šŸ™‚

Hi Vectorize team,

Hi Vectorize team, I’m really enjoying Vectorize—great work on building it! I’m running into issues though with metadata filtering on a number field. Issue: I have two indexes with ~3M vectors each, with each vector representing a document. I have a metadata index on the field "authored" which contains a UNIX timestamp representing the date of authorship. Doing a query on date ranges like 1970-1979 or 1939-1955 consistently causes a 504 error (code 7009: upstream unavailable) after a long wait. Without the filter, queries work fine. Ranges of 5 years or less usually work, but not always....

**delete vectors from AutoRAG vector

delete vectors from AutoRAG vector store when file is deleted We have a new AutoRAG projects and we regularly add new files and delete old files from the data store. it was observed that when we delete some file from data rource i.e. R2 bucket. the vectors fro these files is still available in the vector store and search results return those vectors. ...

Hey all, I’m experiencing unexpectedly

Hey all, I’m experiencing unexpectedly slow insert performance with Cloudflare Vectorize during a large-scale vector insertion. Over 12 hours, I successfully inserted about 2.5 million documents individually or in very small groups (1-2 vectors at a time). However, after about 36 hours, my process is still at around 1.9 million vectors total. It appears that Vectorize is batching inserts at about 1,000 vectors each, rather than the advertised batches of up to 200,000 vectors for improved throughput. My understanding was that Vectorize would automatically batch inserts at these larger sizes to optimize performance, but this doesn’t seem to be happening. Do I need to explicitly batch my inserts (e.g., in groups of 5,000 vectors) to achieve better efficiency, or is there something else going on here? Could anyone from Cloudflare clarify how batching works internally with Vectorize and suggest the best practices or architecture adjustments for optimizing large-scale vector insert operations?...

Hi, is there a way of accessing each

Hi, is there a way of accessing each vecor to add metadata tags to each vector? Used standard R2 ingest but did not add any meta-data and cannot seem to recover a vector based upon id. ID appears to be random value (hash?) I see that each chunk returns the same basic format:
Chunk 4 Cosine Sim. 0.6107 Relevancy...

@yevgen Is there any way to resync error

@yevgen Is there any way to resync error files in vector db?

AI AutoRag funnel led to error page

AI AutoRag funnel led to error page
No description

Hey, is there any doc / link about using

Hey, is there any doc / link about using Cloudflare Vectorize with llamaindex ?

is there the concept of semantic caching

is there the concept of semantic caching? What about caching for searches based on similarity

hi guys i'm curious about the pricing

hi guys i'm curious about the pricing models. so the pricing model is based on stored and queried vector dimensions. so what if i use metadata filtering so i'm not querying against the whole vdb but rather a smaller set of data? what would the cost structure look like? is the queried vector dimensions is adjusted based on the queried space instead of the total space?
No description

Hi. I just started using Vectorize this

Hi. I just started using Vectorize this week. Really liking it so far. Nice and simple. For inserting/upserting vectors using the REST API (or Typescript SDK), it would be nice if the request body could also accept an array of vector objects. When using the TS package, if I set the body value to be the ndjson string, I was getting a "failed to parse" error. I found I had to wrap the ndjson in a Buffer.from() to get it to work, but had to ignore a TS error since body is typed as a string....

Insert Vectors Error

I am unable to insert vectors into index

Cloudflare LLM Forbidden Error

Hi, I am getting Error: Cloudflare LLM call failed with status code 403 trying to insert into a new Vectorize index on production. Works fine locally, and confirmed the bindings are there. It seems related to other auth issues people have posted about in here. Any idea what I'm missing?

Hello, I've had a site that uses

Hello, I've had a site that uses vectorize for a little over a year now, however just now requests to it have started failing with (error) Error: VECTOR_QUERY_ERROR (code = 4009): Bad Request: the index is disabled. I've also checked and it looks like my index isn't there anymore, does anyone know why this is happening?

https://discord.com/channels/

https://discord.com/channels/595317990191398933/1040420029080018945/1319662221957271605 1. So I make an index. 2. I delete the index. 3. I make an index with same id. 4. verify new index info...

Bump for visibility, also getting this.

Bump for visibility, also getting this. Hopefully it’s being looked into

I'm experiencing same issue with `Error

I'm experiencing same issue with Error: VECTOR_GET_ERROR (code = 10000): Authentication error although it worked before. Already tried to upgrade to latest wrangler. I'm also getting: ``` ✘ [ERROR] Error storing embeddings for undefined ...

Hi, I wanted to know about pricing of

Hi, I wanted to know about pricing of vectorization: There are some confusing things in vectorization: This is for a month: Let's say I am making 10 queries of some documents where vector stored amount is: 10k and there are 100 those documents. and dimension is 376....
Next