get_vector_from_hash
Retrieve and convert a vector stored as a binary blob in a Redis hash into a list of floats. Specify the hash key and optional field name to extract the vector data accurately.
Instructions
Retrieve a vector from a Redis hash and convert it back from binary blob.
Args: name: The Redis hash key. vector_field: The field name inside the hash. Unless specifically required, use the default field name
Returns: The vector as a list of floats, or an error message if retrieval fails.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
vector_field | No | vector |
Input Schema (JSON Schema)
{ "properties": { "name": { "title": "Name", "type": "string" }, "vector_field": { "default": "vector", "title": "Vector Field", "type": "string" } }, "required": [ "name" ], "title": "get_vector_from_hashArguments", "type": "object" }