Torch Object Storage
Field name | Type | Required | Example value | Description |
vectorBucketName | String | Yes | test-vector-bucket | vector bucket name. |
indexName | String | Yes | test-index | vector index name. |
vectors | PutInputVector[] | Yes | See the table below | Array of vectors to add to the vector index. The number of vectors in a single request cannot exceed the resource capacity (minimum 1, maximum 500); otherwise, the request will be rejected with a ServiceUnavailableException error. |
Field name | Type | Example value | Description |
data | VectorData | "float32": [0.1, 0.1, 0.1, 0.1, 0.1] | vector data. ensure the query vector dimension matches the dimension of the vector index being queried. |
key | String | key0 | Unique identifier of the vector. |
metadata | JSON value | { "key_a": "va", "key_b": "vb", "key_c": "vc" } | Metadata associated with the vector, a map composed of user-defined KV pairs. |
Field name | Type | Description |
float32 | float32[] | Vector data. The vector dimension must match the vector index dimension defined in CreateIndex. |