set_vector_in_hash
Persist a numerical vector as a field in a Redis hash. Provide the hash key, field name (default 'vector'), and the vector to store.
Instructions
Store a vector as a field in a Redis hash.
Args: name: The Redis hash key. vector_field: The field name inside the hash. Unless specifically required, use the default field name vector: The vector (list of numbers) to store in the hash.
Returns: True if the vector was successfully stored, False otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vector | Yes | ||
| vector_field | No | vector |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |