Hello, Quick question, I get really slow response times in Vectorise. Like seconds of response time.

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 });
}
);
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?