redis-vector-search

Configure Redis vector indexes with HNSW or FLAT for RAG workflows.

94|22|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/redis/agent-skills --skill redis-vector-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: redis-vector-search
Source: https://github.com/redis/agent-skills/tree/main/skills/redis-vector-search
Command: npx skills add https://github.com/redis/agent-skills --skill redis-vector-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Redis vector search often requires careful index configuration, algorithm choice, and hybrid filtering to deliver relevant results from embeddings.

Core Features & Use Cases

  • Index configuration: Choose DIM, DISTANCE_METRIC, and TYPE to align embeddings with Redis indexes.
  • Algorithm selection: Decide between HNSW and FLAT, tuning M, EF_CONSTRUCTION, and EF_RUNTIME.
  • RAG integration: Build end-to-end retrieval-augmented generation pipelines using RedisVL.
  • Use Case: Build a retrieval system that answers user questions by retrieving relevant documents and feeding them to an LLM.
  • Note: This skill complements redis-query-engine and redis-vector-search.

Quick Start

Define a vector index with matching dimensions and metrics, then configure a RAG workflow using RedisVL.

Frequently Asked Questions about redis-vector-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Redis vector indexes for RAG workflows?

Configure Redis vector indexes for RAG by defining embedding dimensions, distance metrics, and vector datatypes, then integrate them with embedding models and LLM pipelines using RedisVL to retrieve relevant documents.

Can I apply hybrid filtering with Redis vector search?

Yes, you can apply hybrid filtering scenarios across Redis Query Engine and RedisVL to support RAG workflows, combining vector similarity search with metadata filtering for more relevant retrieval results.

What is the best way to build a retrieval system that feeds documents to an LLM?

Build an end-to-end retrieval-augmented generation pipeline using RedisVL to retrieve relevant documents via embedding-based search and feed them directly to your LLM to answer user questions accurately.

Do I need matching dimensions and metrics to align embeddings with Redis indexes?

Yes, you must satisfy requirements for embedding dimensions, distance metrics, and vector datatypes to align embeddings with Redis indexes, ensuring accurate similarity calculations during vector search operations.