set_vector_in_hash
Store a vector (list of numbers) in a Redis hash by specifying the hash key and field name. Use this tool to efficiently manage vector data within Redis for structured storage and retrieval.
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 |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"vector": {
"items": {},
"title": "Vector",
"type": "array"
},
"vector_field": {
"default": "vector",
"title": "Vector Field",
"type": "string"
}
},
"required": [
"name",
"vector"
],
"title": "set_vector_in_hashArguments",
"type": "object"
}