Repository navigation
DOC-7161: Add a RedisVL queries interactive demo - #4226
Merged
Merged
Conversation
Three tabs, one query type each, on the food delivery sample data's
restaurants (JSON under restaurant:{id}, plus a description to search):
- Vector query: pick a phrase and how many results to return, with
optional Tag and Num filters.
- Filter query: the same filters with no vector, sorted by rating.
- Range query: every restaurant within a distance threshold.
Each query shows its RedisVL code, the FT.SEARCH command RedisVL sends,
and the schema with the fields it uses highlighted. Selecting a result,
or a key in the Data tab, shows the document stored in Redis.
The distances are what Redis returned for all-mpnet-base-v2 embeddings,
and the code and commands are what RedisVL 0.27.1 builds (0.27.2 builds
the same). The page sits at the top of the RedisVL section, which the
docs sync leaves alone and doesn't copy into version snapshots.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
|
Contributor
Contributor
Contributor
Each input event re-rendered the whole tab, replacing the slider under the pointer, so a drag moved one step and stopped. The slider now stays in place, and only its label, the results, and the code are redrawn. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b8d581e. Configure here.
A Seattle restaurant filtered by city read "filtered out: city austin", as if it were in Austin. It now reads "not in Austin", which describes the failing condition like the numeric filters do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
paoloredis
requested review from
andy-stark-redis,
mich-elle-luna and
tylerhutcherson
October 8, 2026 12:02
andy-stark-redis
approved these changes
Oct 8, 2026
andy-stark-redis
left a comment
Contributor
There was a problem hiding this comment.
Looks really good! Approved.
EliShteinman
added a commit
to EliShteinman/docs
that referenced
this pull request
Oct 15, 2026
Add a browser-only RedisVL queries interactive demo with vector, filter, and range tabs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Three tabs, one query type each, on the food delivery sample data's restaurants (JSON under restaurant:{id}, plus a description to search):
Each query shows its RedisVL code, the FT.SEARCH command RedisVL sends, and the schema with the fields it uses highlighted. Selecting a result, or a key in the Data tab, shows the document stored in Redis.
The distances are what Redis returned for all-mpnet-base-v2 embeddings, and the code and commands are what RedisVL 0.27.1 builds (0.27.2 builds the same). The page sits at the top of the RedisVL section, which the docs sync leaves alone and doesn't copy into version snapshots.
Note
Low Risk
Documentation and static front-end assets only; no runtime services, auth, or data pipelines are changed.
Overview
Adds a browser-only RedisVL queries interactive demo to the RedisVL docs via a new
interactive-demo.mdpage and a{{< redisvl-demo >}}Hugo shortcode.The widget reuses Context Retriever demo styling (
context-retriever-demo.css) and addsredisvl-demo.cssplus ~400 lines of vanilla JS. Users step through three tabs—vector (VectorQuery+ optional Tag/Num filters), filter (FilterQuery, rating sort), and range (VectorRangeQuerywith a distance slider)—on shared food-delivery restaurant sample data. For each choice it shows live-updating RedisVL Python, theFT.SEARCHcommand RedisVL 0.27.1 would emit, results with hit/filter/miss explanations, and subtabs for schema (highlighted fields) and stored JSON documents. Distances and ordering are pre-recorded from Redis (all-mpnet-base-v2); nothing calls Redis or an embedder at runtime. The shortcode cache-busts static assets with MD5 query params and guards against double-initialization if included twice.Reviewed by Cursor Bugbot for commit bd617ca. Bugbot is set up for automated code reviews on this repo. Configure here.