getByIds and deleteByIds operations; insert and upsert take the id you provide as well


//I defined a new object type for the metadata - MetadataSchema
let newMetaData:MetadataSchema ={
d1Key: keyValue,
prjRef: projectRef,
accRef: accountRef,
parentRef:parentRef
}
//Stuff the object in there
const metaRecord:Record<string,VectorizeVectorMetadata>= {
"data": JSON.stringify(newMetaData)
};
//Add to the vector
let tempVec:VectorizeVector ={
id:id,
values: data[0], //the embeddings
namespace:<The Namespace>,
metadata:metaRecord
}