Redis has released the sql-redis library and a SQLQuery class for the redisvl Python package, enabling developers to query Redis indexes using familiar SQL syntax. The library deterministically translates SQL statements into Redis FT.SEARCH and FT.AGGREGATE commands using sqlglot and a custom parser — no LLMs required. It supports conditional operators, vector similarity search, aggregations, full-text search, geo queries, and async execution, with schema metadata cached to keep translation overhead in the low milliseconds.

5m read timeFrom redis.io
Post cover image
Table of contents
Quick start with RedisVLUnder the hoodMore than simple selectsTo wrap things up

Sort: