how to open a support ticket here? i can send a video, i can reproduce the problem quite easily
how to open a support ticket here? i can send a video, i can reproduce the problem quite easily



const body = {
'returnMetadata': true,
'topK': 10,
'returnValues': false,
'vector': vector.slice(0, 10),
};Vectorize will be available to developers on the Workers Free plan in the future.
const vectorizeStartTime: any = new Date()
const queryVec = await c.env.VECTORIZE_TESTE_1536.query(embQuery, {
topK: 3,
returnValues: false,
returnMetadata: true,
namespace: data.customerId.toString()+"_"+data.repoId.toString()
});
const vectorizeEndtime: any= new Date()
console.log("Vectorize time", vectorizeEndtime - vectorizeStartTime) const body = {
'returnMetadata': true,
'topK': 10,
'returnValues': false,
'vector': vector.slice(0, 10),
};bunx wrangler vectorize create --dimensions=1536 ers-v1 --metric=cosine🚧 Creating index: 'ers-v1'
✘ [ERROR] A request to the Cloudflare API (/accounts/53e0c2270158721ff328e572f56950ea/vectorize/indexes) failed.
vectorize.not_entitled [code: 1005]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose const store = new CloudflareVectorizeStore(embeddings, {
index: env.VECTORIZE_INDEX,
});
await store.addDocuments(
[
{
pageContent: "hello",
metadata: {},
},
{
pageContent: "world",
metadata: {},
},
{
pageContent: "hi",
metadata: {},
},
],
{ ids: ["id1", "id2", "id3"] }
);