By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Redis 8 Targets AI Applications with New Data Type for Vector Similarity
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Redis 8 Targets AI Applications with New Data Type for Vector Similarity
News

Redis 8 Targets AI Applications with New Data Type for Vector Similarity

News Room
Last updated: 2025/04/20 at 6:46 AM
News Room Published 20 April 2025
Share
SHARE

Redis has recently announced the addition of Vector Set, a data type designed for vector similarity and a new option for AI applications. This new data type marks the first major contribution from Salvatore Sanfilippo (aka ‘antirez’), the creator of Redis, since rejoining the company.

Vector Sets are a new data type similar to Sorted Sets but having string elements associated with a vector instead of a score, making it possible to add items and retrieve a subset of the added items that are most similar to a specified vector. Filtered search capabilities are also supported, allowing vector similarity and scalar filters at the same time. Sanfilippo explains in his blog:

The goal of the new data structure is, in short, to create a new “Set alike” data type, similar to Sorted Sets, where instead of having a scalar as a score, you have a vector, and you can add and remove elements the Redis way, without caring about anything except the properties of the abstract data structure Redis implements, ask for elements similar to a given query vector (or a vector associated to some element already in the set), and so forth.

Vector Sets are based on the hnsw.c implementation of the HNSW data structure, with extensions for speed and functionality. Rowan Trollope, CEO of Redis, praises Sanfilippo’s contribution:

His expertise has led to the creation of an API that is both simple and intuitive, reflecting Redis’s philosophy of delivering high-performance solutions with minimal complexity.

Vector databases are critical for applications backed by GenAI to retrieve semantically relevant information to enrich the context of LLMs (RAG). Other use cases include semantic caching for chatbots, recommender systems, and face recognition. Mirko Ortensi, product manager at Redis, explains in a separate article how to use Vector Sets for face recognition. Ortensi writes:

Face recognition is all about vectors. It’s about modeling known faces using a specialized embedding model, storing them in Redis, and performing face recognition by running a vector search of a test identity against the vectors stored in the database.

Source: Mirco Ortensi

Sanfilippo adds:

I decided that a fundamental requirement for implementing vector similarity was to also reimplement from scratch HNSWs (you can see my implementation in hnsw.c), because that was going to be my core data structure, and I didn’t want to grab some random code from GitHub and be happy with it.

With a focus on high-speed performance, Sanfilippo introduced not only modifications to HNSW but also multithreading for all vector similarity requests, along with support for both 8-bit and binary quantization. He highlights the main difference in his implementation:

The most interesting part of Vector Sets is the data model and the API supporting it. Many databases propose vector similarity as a kind of index, but that’s Redis, and things in Redis are data structures: no exception this time.

Vector Sets are not the only new Redis feature: LangCache, a semantic caching service for AI apps and agents, is designed to reduce costly, latency-prone calls to LLMs by caching their responses.

Vector Sets are available in preview with Redis 8 RC1 under RSALv2 or SSPLv1 license.

 

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article FreeType Fixes Inefficient Code Causing 10x Startup Time Hit When Loading Arial TTF Font
Next Article The Best Early Deals From the Amazon Book Sale
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Today's NYT Mini Crossword Answers for May 14 – CNET
News
Audio Technica ATH-CC500BT2
Gadget
Food grown with fewer chemicals? A Brazilian scientist wins $500,000 for showing the way
News
Zopa raises £80m in first LSE bond listing  – UKTN
News

You Might also Like

News

Today's NYT Mini Crossword Answers for May 14 – CNET

2 Min Read

Food grown with fewer chemicals? A Brazilian scientist wins $500,000 for showing the way

4 Min Read
News

Zopa raises £80m in first LSE bond listing  – UKTN

2 Min Read
News

How to troubleshoot Wi-Fi problems on iPhone & iPad

13 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?