Repository navigation
RedisVL 0.33.0 brings OpenTelemetry to managed LangCache, fixes index operations on Redis Cluster, and makes whole-document JSON queries return the Redis key as id. Two changes may need action when upgrading: check how your application reads JSON document IDs, and clear affected cached Cohere embeddings if you use integer vectors.
Highlights
OpenTelemetry for managed LangCache
You can now track hit rate and latency for LangCacheSemanticCache through RedisVL’s existing OpenTelemetry instrumentation. Both sync and async lookups record a hit or miss, and stores and deletions report their duration. Because LangCache runs the search inside the managed service, traces show the client operation as a whole. Separate retrieval spans and vector distances are available only with the local SemanticCache backend. (#814, @paoValle)
Behaviour change for JSON document IDs
On a JSON index, a FilterQuery without return_fields now returns the full Redis key in result["id"], matching hash indexes. Previously, a document’s own id field could overwrite that key. If your application needs the ID stored inside the document, add "$.id" to return_fields and read result["$.id"], or retrieve the document with index.fetch(). (#793, @vishal-bala)
More reliable index operations on Redis Cluster
SearchIndex and AsyncSearchIndex now read index metadata correctly with RESP3, the default protocol in redis-py 8. You can also pass a freshly constructed AsyncRedisCluster client directly to AsyncSearchIndex and call create() or listall() immediately. The CLI’s rvl index listall command now works on Redis Cluster too. (#795, @vishal-bala, #848, @agustin18)
Correct integer embeddings from Cohere
CohereTextVectorizer now requests the correct embedding type when you pass a dtype such as "INT8" or a VectorDataType enum member. Previously, it could request float embeddings and turn them into all-zero vectors with as_buffer=True. If you used an affected dtype with EmbeddingsCache, clear the entries for that model after upgrading so RedisVL can regenerate them. (#856, @hyeonsang010716)
Indexes and schemas
SearchIndex.from_existing()now preserves a customtraining_thresholdon SVS-VAMANA vector fields. If you settraining_thresholdwithoutcompression, RedisVL raisesValueErrorwhen you build the schema, before you send it to Redis. (#850, @pcbeingused333)SemanticRouterandMessageHistorynow preservevalidate_on_loadwhen creating their async index. They also retainlib_namewhen converting a caller-supplied Redis client and support Sentinel URLs supplied throughREDIS_URL. (#832, @vishal-bala)
MCP and migrations
- The MCP server now applies
runtime.startup_timeout_secondsonce across the Redis connection and the initialINFOcall. A slow server could previously consume the full timeout twice. (#812, @vishal-bala) - If a worker fails during async vector quantisation, RedisVL cancels the remaining workers and closes their Redis connections before returning the original error. Previously, those workers could keep writing after the caller saw the failure. (#812, @vishal-bala)
Testing and dependencies
- Redis Cluster tests now run nightly. The multi-page
aclear()test sets up its records in one batch. (#796, #800, @vishal-bala) - CI now reports test coverage to Codecov and uses Python 3.12 for jobs that run a single Python version. (#826, #815, @vishal-bala)
- The
uvlockfile updatesdnspython,mistuneandtornado. (#863, @dependabot)
Contributors
Thanks to @paoValle, @agustin18, @hyeonsang010716, @pcbeingused333 and @vishal-bala for their contributions to this release.