Getting Started with Vector Search Using Redis in NodeJS

Code base for tutorial

Project setup

Add .env file at project root with REDIS_URI connection string

REDIS_URI="redis://localhost:6379"

Install packages

npm install

Start app

npm start

Testing vector search

src/index.ts file has testVectorQueryByKNNandRangeForText() method where vector search can be tested with different search term.