I'm trying to create an index using the following metadata file and cli command. (All names are fake). It creates an index with a BATCH update. I need to upsert datapoints and that requires an index with STREAM UPDATE properties. Can someone please guide me?
gcloud ai indexes create --metadata-file=gabriel-index.json --display-name=gabriel --region=us-central1 --project=gabriel-test-6d96e
{
"config": {
"dimensions": 768,
"approximateNeighborsCount": 100,
"distanceMeasureType": "COSINE_DISTANCE",
"algorithmConfig": {
"treeAhConfig": {
"leafNodeEmbeddingCount": 5000,
"fractionLeafNodesToSearch": 0.03
}
}
}
}