This is a Javascript-based demo of various rank fusion algorithms.
- Implementation of the following rank fusion algorithms in Typescript
- Borda Count Method
- Distributed-Based Score Fusion (DBSF)
- Reciprocal Rank Fusion (RRF)
- Relative Score Fusion (RSF)
- Nvidia NIM-based embeddings
- Redis Software vector similarity search
- Extraction of small test set (10 queries/10 passages each) from MS MARCO TREC-Deep-Learning data set
- Nvidia GPU
- Nvidia AGC API key
- Docker
- Docker Compose
- nodejs
- npm
- tsc
git clone git@github.com:redis-developer/hybrid-js.git && cd hybrid-js && npm install
- Rename .env_sample to .env and replace the placeholder in API_KEY with your key.
docker compose up -d
docker compose down
npm run build
npm start