An AI application uses Azure Cache for Redis to cache embedding vectors to avoid redundant inference calls. Which Redis command stores a vector as a binary string?
- A SET key vector_bytes (correct answer)
- B HSET key field vector_bytes
- C RPUSH key vector_bytes
- D ZADD key score vector_bytes
Shortcut: , float32 bytes) and stored as binary strings via SET/GET. For structured caching with expiry, SET with EX (expiry) is most common.
Embedding vectors are typically serialized (e.g., float32 bytes) and stored as binary strings via SET/GET. For structured caching with expiry, SET with EX (expiry) is most common.