最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

indexing - Create a Vertex AI Index with STREAM_UPDATE - Stack Overflow

programmeradmin1浏览0评论

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
        }
      }
    }
}
发布评论

评论列表(0)

  1. 暂无评论