nukely
nukely
Explore posts from servers
CDCloudflare Developers
Created by nukely on 4/26/2025 in #vectorize
Getting "message": "vectorize.upstream_
using cloudflare ts package
5 replies
CDCloudflare Developers
Created by nukely on 4/26/2025 in #vectorize
Getting "message": "vectorize.upstream_
const response = await this.client?.vectorize.indexes.insert(
this.indexName,
{
account_id: this.accountId,
body: JSON.stringify(test_data),
"unparsable-behavior": "error",
}
);
const response = await this.client?.vectorize.indexes.insert(
this.indexName,
{
account_id: this.accountId,
body: JSON.stringify(test_data),
"unparsable-behavior": "error",
}
);
5 replies
CDCloudflare Developers
Created by nukely on 4/26/2025 in #vectorize
Getting "message": "vectorize.upstream_
const test_data = {
id: "med1",
values: [
0.12, 0.45, 0.67, 0.89, 0.23, 0.56, 0.34, 0.78, 0.12, 0.9, 0.24, 0.67, 0.89,
0.35, 0.48, 0.7, 0.22, 0.58, 0.74, 0.33, 0.88, 0.27, 0.81, 0.54, 0.39, 0.76,
0.41, 0.29, 0.83, 0.55,
],
metadata: {
userId: "rakesh",
data: "Likes going to hikes",
hash: "4478e7d1c435ece797e7a17b82c5d776",
},
};
const test_data = {
id: "med1",
values: [
0.12, 0.45, 0.67, 0.89, 0.23, 0.56, 0.34, 0.78, 0.12, 0.9, 0.24, 0.67, 0.89,
0.35, 0.48, 0.7, 0.22, 0.58, 0.74, 0.33, 0.88, 0.27, 0.81, 0.54, 0.39, 0.76,
0.41, 0.29, 0.83, 0.55,
],
metadata: {
userId: "rakesh",
data: "Likes going to hikes",
hash: "4478e7d1c435ece797e7a17b82c5d776",
},
};
5 replies
TTCTheo's Typesafe Cult
Created by nukely on 12/26/2024 in #questions
client - uploadthing architecture
ok got it, and btw by any chance can user receive a presigned URL for one time and then use it to spam my storage, or else everytime middleware function will run in nextjs? actually i want to give one time use for a presigned url --> i will call a db and handle that, but what if a malicious user takes that URL and directly uploads without using my website but through postman or something
4 replies