Is there a way to dynamically add Vectorize bindings programatically?

Is there a way to dynamically add Vectorize bindings programatically?
15 Replies
Yota
YotaOP2mo ago
ah i found it https://developers.cloudflare.com/vectorize/best-practices/create-indexes/ Hmmm, but these don't seem to be enough number for my use-case Indexes per account 50,000 (Workers Paid)
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
EndiM
EndiM2mo ago
This issue is happening from : 2024-10-25T14:36:55.873Z whatever improvement was made on this date, caused this to break. Triggering it from binding or api, even tho the call return succees true, it actually does nothing on the index. No delete, no insert, no upset
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
EndiM
EndiM2mo ago
Thanks for getting back! Okay thank you.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
ac
ac2mo ago
I am noticing a large number of AiError: 3001: Unknown internal error s when doing some Vectorize queries. Is there any way to get more insight into what these are? I have no clue if it's not finding a vector by ID, if I'm getting rate limited, or if it's something I can't control
thousandmiles
thousandmiles2mo ago
I've been browsing through messages in the past and documentations on vectorize, looks like now it's a great time to jump in, considering the beta release of workflow as well. though my concern is full RAG pipeline still needs a long way to go, so I'd prefer develop locally using llamaindex+chromadb(or equivalent)+litellm(embedding, inference, rerank, whisper, etc) first, before switching to cloudflare edge side completely, which I do need at a certain point because the product I am building requires global coverage. may I ask guy who already had previous experiences here, that, is this a viable plan, or anything I should keep in mind for choosing tech stack or develop or doing gitops? thanks a million!
Rubi
Rubi2mo ago
Hi, is Cloudflare Vectorize now support $in metadata filter ?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
CedricHadjian
CedricHadjian2mo ago
How can I see what vectors I have in my index? I checked the commands I could run, and none mentioned showing the vectors I got in my index. I want to be able to delete and test stuff before I run the actual thing. Any guidance would be appreciated.
Unknown User
Unknown User5w ago
Message Not Public
Sign In & Join Server To View
momegas
momegas4w ago
Hello, Quick question, I get really slow response times in Vectorise. Like seconds of response time. My code is very simple, so nothing else should be slowing it down. I am in Greece btw, so not sure if that plays a role. I get the same speeds when deploying the worker.
}),
async (c) => {
const text = "XXX";
const e = await embedText(c, text);
const r = await c.env.VECTORIZE.query(e, {
topK: 5,
returnValues: false,
returnMetadata: "none",
});

return c.json({ matches: r.matches });
}
);
}),
async (c) => {
const text = "XXX";
const e = await embedText(c, text);
const r = await c.env.VECTORIZE.query(e, {
topK: 5,
returnValues: false,
returnMetadata: "none",
});

return c.json({ matches: r.matches });
}
);
Isaac McFadyen
@Kingsley Michael I removed your message as this is the channel for #vectorize, please use #off-topic for anything unrelated to Cloudflare products
odysseus
odysseus4w ago
The limits page says that there's a maximum of 5,000,000 vectors per index, but I'm getting a 4002 error when attempting to upsert past 240,000. any idea why or things I should change? EDIT: RESOLVED, I was using V1 instead of V2
Want results from more Discord servers?
Add your server