Surya
Surya

Reputation: 75

How to store OpenAI embeddings in Redis Vector Database?

I've gone through Azure and Redis websites and understood that Redis can be used to store Cache. I want to store OpenAI embeddings in Redis Vector Database.

I signed up for free trail account of Redis cloud version. I'm able to connect to the DB using some python code given in home page of my Redis cloud version. Now I'm stuck. I don't know how to proceed further.

I've gone through following websites:
https://redis.io/docs/about/
https://redis.com/solutions/use-cases/vector-database/

They talk about redis cache and redis vector database. But I was not able to find what I'm searching for.

I've gone through some Azure links as well: https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-import-export-data

Even this link talks only about cache for redis.

I found some terms like Redis, Redis Vector Database, Azure Cache for Redis, Azure Redis enterprise. Are these terms same?

How to store embeddings (specifically OpenAI) in Redis Vector Database? Also, how to host this Redis Vector Database on Azure?

Upvotes: 1

Views: 2110

Answers (1)

TheeUnderdog
TheeUnderdog

Reputation: 11

Redis, Redis Vector Database, Azure Cache for Redis, Azure Redis enterprise. Are these terms same?

  • Redis is an opensource caching technology
  • Azure Cache for Redis is the Azure SaaS implementation of Redis
  • Azure Redis Enterprise is an enterprise grade Azure SaaS implementation of Redis with additional functionality such as RediSearch and with an SLA

You will need an implementation of Redis Cache WITH RediSearch. You will save your embeddings into Redis and perform a "vector similarity search"

Read this link: https://mlops.community/vector-similarity-search-from-basics-to-production/

Upvotes: 1

Related Questions