Torch Object Storage
Field name | Type | Required | Example value | Description |
vectorBucketName | String | Yes | test-vector-bucket | Name of the vector bucket. |
indexName | String | Yes | test-index | Name of the vector index. |
keys | string[] | Yes | ["key0", "key1"] | The list of vector names whose attributes you want to return. Array items: minimum 1 item, maximum 100 items. String length: minimum 1 character, maximum 1024 characters. |
returnData | boolean | No | true | Indicates whether vector data is included in the response. Default: false. |
returnMetadata | boolean | No | true | Indicates whether to include metadata in the response. Default: false. |
Field name | Type | Example value | Description |
vectors | GetOutputVector[] | See the table below | array of vector attributes. |
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 vector index dimension being queried. |
key | String | key0 | The unique identifier of the vector. |
metadata | JSON value | { "key_a": "va", "key_b": "vb", "key_c": "vc" } | Metadata associated with the vector. |
Field name | Type | Description |
float32 | float32[] | Vector data. The vector dimension must match the vector index dimension defined in CreateIndex. |