Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,6 @@ tests/data
.junie
.undodir
.claude/settings.local.json

# Local working directory (personal scripts, docs, tools)
local/
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ install: ## Install the project and all dependencies
@echo "🚀 Installing project dependencies with uv"
uv sync --all-extras

redis-start: ## Start Redis Stack in Docker
@echo "🐳 Starting Redis Stack"
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest

redis-stop: ## Stop Redis Stack Docker container
@echo "🛑 Stopping Redis Stack"
docker stop redis-stack || true
docker rm redis-stack || true
redis-start: ## Start Redis in Docker
@echo "🐳 Starting Redis"
docker run -d --name redis -p 6379:6379 redis:latest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since redis:latest will only ever start the version of Redis that was latest when you downloaded the image (and not necessarily the latest Redis), it might be worth having the Makefile command print out the current version of Redis that was started.

Suggested change
docker run -d --name redis -p 6379:6379 redis:latest
docker run -d --name redis -p 6379:6379 redis:latest
@docker exec -it redis redis-cli INFO server | grep redis_version


redis-stop: ## Stop Redis Docker container
@echo "🛑 Stopping Redis"
docker stop redis || true
docker rm redis || true

format: ## Format code with isort and black
@echo "🎨 Formatting code"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ Choose from multiple Redis deployment options:
</details>

<details>
<summary><b>Redis Stack</b> - Docker image for development</summary>
<summary><b>Docker</b> - Local development</summary>

Run Redis Stack locally using Docker:
Run Redis locally using Docker:

```bash
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
docker run -d --name redis -p 6379:6379 redis:latest
```

This includes Redis with vector search capabilities and Redis Insight GUI.
This runs Redis 8+ with built-in vector search capabilities.

</details>

Expand Down
187 changes: 187 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,190 @@
.logo__image {
transform: scale(.7);
}

/* Show the primary sidebar on the landing page (override hide-on-wide) */
.bd-sidebar-primary.hide-on-wide {
display: flex !important;
}

/* Sidebar navigation hover styles - gray background only (light mode) */
html[data-theme="light"] .bd-sidebar-primary .toctree-l1 > a:hover,
html[data-theme="light"] .bd-sidebar-primary .toctree-l2 > a:hover,
html[data-theme="light"] .bd-sidebar-primary .toctree-l3 > a:hover,
html[data-theme="light"] .bd-sidebar-primary nav.bd-links a:hover {
background-color: rgba(0, 0, 0, 0.04) !important;
border-radius: 8px !important;
color: inherit !important;
text-decoration: none !important;
}

/* Sidebar navigation hover styles (dark mode) */
html[data-theme="dark"] .bd-sidebar-primary .toctree-l1 > a:hover,
html[data-theme="dark"] .bd-sidebar-primary .toctree-l2 > a:hover,
html[data-theme="dark"] .bd-sidebar-primary .toctree-l3 > a:hover,
html[data-theme="dark"] .bd-sidebar-primary nav.bd-links a:hover {
background-color: rgba(255, 255, 255, 0.08) !important;
border-radius: 8px !important;
color: inherit !important;
text-decoration: none !important;
}

/* Active/current page styling (light mode) */
html[data-theme="light"] .bd-sidebar-primary .toctree-l1.current.active > a,
html[data-theme="light"] .bd-sidebar-primary .toctree-l2.current > a,
html[data-theme="light"] .bd-sidebar-primary li.current.active > a.reference.internal {
background-color: rgba(0, 0, 0, 0.06) !important;
border-radius: 8px !important;
border-left: none !important;
color: inherit !important;
}

/* Active/current page styling (dark mode) */
html[data-theme="dark"] .bd-sidebar-primary .toctree-l1.current.active > a,
html[data-theme="dark"] .bd-sidebar-primary .toctree-l2.current > a,
html[data-theme="dark"] .bd-sidebar-primary li.current.active > a.reference.internal {
background-color: rgba(255, 255, 255, 0.1) !important;
border-radius: 8px !important;
border-left: none !important;
color: inherit !important;
}

/* Override default link colors in sidebar */
.bd-sidebar-primary nav.bd-links a,
.bd-sidebar-primary nav.bd-links a:visited,
.bd-sidebar-primary nav.bd-links a:active,
.bd-sidebar-primary nav.bd-links a:focus {
color: var(--pst-color-text-base) !important;
text-decoration: none !important;
border-left: none !important;
}

.bd-sidebar-primary nav.bd-links a:hover {
color: var(--pst-color-text-base) !important;
text-decoration: none !important;
}

/* Remove blue left border (box-shadow) from expanded/active sections */
nav.bd-links .current > a,
nav.bd-links .current > a:focus-visible {
box-shadow: none !important;
border-left: none !important;
color: inherit !important;
font-weight: inherit !important;
}

/* Light mode color overrides */
:root,
html:not([data-theme]),
html[data-theme="light"] {
--pst-color-table-row-zebra-high-bg: #fff !important;
--pst-color-table-row-zebra-low-bg: #f5f5f5 !important;
--pst-color-table-heading-bg: #f0f0f0 !important;
--pst-color-table-row-hover-bg: #e8e8e8 !important;
--pst-color-secondary: #666 !important;
--pst-color-secondary-bg: #f0f0f0 !important;
--pst-color-surface: #fcfcfc !important;
--pst-color-text-muted: #6e6e80 !important;
--pst-color-inline-code: #9a4a4a !important;
--pst-color-blockquote-notch: #6e6e80 !important;
}

/* Dark mode color overrides */
html[data-theme="dark"] {
--pst-color-table-row-zebra-high-bg: #1e1e1e !important;
--pst-color-table-row-zebra-low-bg: #2a2a2a !important;
--pst-color-table-heading-bg: #333 !important;
--pst-color-table-row-hover-bg: #3a3a3a !important;
--pst-color-secondary: #aaa !important;
--pst-color-secondary-bg: #333 !important;
--pst-color-surface: #1e1e1e !important;
--pst-color-text-muted: #9ca4af !important;
--pst-color-inline-code: #e8a0a0 !important;
--pst-color-blockquote-notch: #9ca4af !important;
}

/* Class/function names in API docs */
html[data-theme="light"] .sig-name {
color: #005B82 !important;
}

html[data-theme="dark"] .sig-name {
color: #6db3d0 !important;
}

/* Syntax highlighting - literals/numbers use blue-brown for color blindness accessibility */
/* Prevents green/brown confusion for protanopia/deuteranopia */
html[data-theme="light"] .highlight .l,
html[data-theme="light"] .highlight .m,
html[data-theme="light"] .highlight .mb,
html[data-theme="light"] .highlight .mf,
html[data-theme="light"] .highlight .mh,
html[data-theme="light"] .highlight .mi,
html[data-theme="light"] .highlight .mo,
html[data-theme="light"] .highlight .il,
html[data-theme="light"] .highlight .ld,
html[data-theme="light"] .highlight .kt {
color: #6B5B3D !important;
}

/* Code block border radius */
div.literal-block-wrapper,
div.highlight,
div[class*=highlight-] {
border-radius: 8px !important;
}

div.literal-block-wrapper div[class*=highlight-] pre,
pre {
border-radius: 8px !important;
}

/* Direct table styling override (light mode) */
html[data-theme="light"] .table tbody tr:nth-child(odd) {
background-color: #f5f5f5 !important;
}

html[data-theme="light"] .table tbody tr:nth-child(2n) {
background-color: #fff !important;
}

html[data-theme="light"] .table thead tr {
background-color: #f0f0f0 !important;
border-bottom: 2px solid #ccc !important;
}

html[data-theme="light"] .table tbody tr:hover {
background-color: #e8e8e8 !important;
}

/* Direct table styling override (dark mode) */
html[data-theme="dark"] .table tbody tr:nth-child(odd) {
background-color: #2a2a2a !important;
}

html[data-theme="dark"] .table tbody tr:nth-child(2n) {
background-color: #1e1e1e !important;
}

html[data-theme="dark"] .table thead tr {
background-color: #333 !important;
border-bottom: 2px solid #555 !important;
}

html[data-theme="dark"] .table tbody tr:hover {
background-color: #3a3a3a !important;
}

/* Right sidebar TOC active item - Redis red */
.toc-entry a.nav-link.active {
box-shadow: inset 1px 0 0 #DC382D !important;
color: #DC382D !important;
font-weight: normal !important;
}

/* Right sidebar TOC hover - no underline, subtle color change */
.toc-entry a.nav-link:hover,
.toc-entry a.nav-link.active:hover {
text-decoration: none !important;
color: #DC382D !important;
}
23 changes: 0 additions & 23 deletions docs/_static/css/sidebar.css

This file was deleted.

80 changes: 80 additions & 0 deletions docs/_static/redisvl-architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ query
filter
vectorizer
reranker
utils
cache
message_history
router
Expand Down
4 changes: 2 additions & 2 deletions docs/api/query.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ VectorRangeQuery
)

AggregateHybridQuery
================
====================
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these actually render any differently? At least in the GitHub preview, it all turns into a regular horizontal line.



.. currentmodule:: redisvl.query
Expand Down Expand Up @@ -221,7 +221,7 @@ CountQuery


MultiVectorQuery
==========
================

.. currentmodule:: redisvl.query

Expand Down
4 changes: 2 additions & 2 deletions docs/api/vector.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

*****
******
Vector
*****
******

The Vector class in RedisVL is a container that encapsulates a numerical vector, it's datatype, corresponding index field name, and optional importance weight. It is used when constructing multi-vector queries using the MultiVectorQuery class.

Expand Down
Loading
Loading