Skip to content
Merged
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
2 changes: 1 addition & 1 deletion content/develop/ai/context-engine/agent-memory/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ categories:
description: Store agent memory for AI applications in Redis.
linkTitle: Agent Memory
hideListLinks: true
weight: 20
weight: 10
bannerText: Redis Agent Memory is currently available in preview. Features and behavior are subject to change.
bannerChildren: true
aliases:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ description: Step through one agent request across Data Integration, LangCache,
hideListLinks: true
linktitle: Interactive demo
title: Redis Iris interactive demo
weight: 7
weight: 10
bannerText: LangCache, Agent Memory, and Context Retriever are currently available in preview. Features and behavior are subject to change.
aliases:
- /develop/ai/context-engine/interactive-demo/
---

Redis Iris gives an AI agent governed access to live business data, memory, and cached answers. This tour follows one customer request through all four services, one step at a time. It starts where business data enters Iris, with Data Integration, and then follows the request through the other three services, in the order described in [How Redis Iris works](/content/develop/ai/context-engine/concepts/_index.md). The last step takes one service away to show what the agent loses without it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ categories:
description: Expose tools to Agents to query your Redis databases.
linkTitle: Context Retriever
hideListLinks: true
weight: 30
weight: 20
bannerText: Redis Context Retriever is currently available in preview. Features and behavior are subject to change.
bannerChildren: true
---
Expand Down
2 changes: 1 addition & 1 deletion content/develop/ai/context-engine/langcache/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ categories:
description: Store LLM responses for AI apps in a semantic cache.
linkTitle: LangCache
hideListLinks: true
weight: 10
weight: 30
bannerText: LangCache is currently available in preview. Features and behavior are subject to change.
bannerChildren: true
aliases:
Expand Down
6 changes: 5 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
{{ if .Page.Store.Get "hasOtelMetrics" }}
<link rel="stylesheet" href="{{ "css/otel-metrics.css" | relURL }}">
{{ end }}
{{ $isIris := partial "is-iris-page.html" . }}
{{ if $isIris }}
<link rel="stylesheet" href="{{ "css/iris-dark.css" | relURL }}">
{{ end }}

{{ block "head" . }}{{ end }}

Expand All @@ -61,7 +65,7 @@
{{ partial "mathjax.html" }}
{{ end }}
</head>
<body class="antialiased tracking-[-0.01em] bg-white w-full relative">
<body class="antialiased tracking-[-0.01em] bg-white w-full relative{{ if $isIris }} iris-dark{{ end }}">
<span id="page-top" class="absolute top-0"></span>
{{ partial "ai-metadata-body.html" . }}

Expand Down
11 changes: 5 additions & 6 deletions layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,13 @@ <h3 class="text-base font-medium mb-1 group-hover:text-redis-yellow-500">AI deve
<p class="text-sm text-gray-300">Build AI applications with Redis</p>
</a>

<!-- JSON (Bottom Left) -->
<a href="./develop/data-types/json/" class="border border-redis-pen-700 rounded-md p-4 hover:bg-redis-pen-600 transition-colors group" style="background-color: #0C212C;">
<!-- AI agent builder (Bottom Left) -->
<a href="./develop/ai/agent-builder/" class="border border-redis-pen-700 rounded-md p-4 hover:bg-redis-pen-600 transition-colors group" style="background-color: #0C212C;">
<svg class="w-6 h-6 text-white opacity-60 mb-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path d="M8 3H6a2 2 0 00-2 2v2m0 4v4m0 0v2a2 2 0 002 2h2m12-2v-2m0-4v-4m0 0V5a2 2 0 00-2-2h-2M8 3h8M8 21h8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M10 8l-2 2 2 2m4-4l2 2-2 2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<h3 class="text-base font-medium mb-1 group-hover:text-redis-yellow-500">JSON</h3>
<p class="text-sm text-gray-300">Store and query JSON documents</p>
<h3 class="text-base font-medium mb-1 group-hover:text-redis-yellow-500">AI agent builder</h3>
<p class="text-sm text-gray-300">Get started with AI agents</p>
</a>

<!-- Streams (Bottom Right) -->
Expand Down
3 changes: 2 additions & 1 deletion layouts/operate/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ <h1>
</h1>

{{ with .Params.description }}<p class="text-lg -mt-2 mb-2">{{ . | markdownify }}</p>{{ end }}
{{ if .Params.categories }}
{{/* No category badges in the Redis Iris docs space */}}
{{ if and .Params.categories (not (partial "is-iris-page.html" .)) }}
<div class="post-categories" style="display: table;">
<table style="border-collapse: separate; border-spacing: 0; background-color: #ffffff;">
<thead>
Expand Down
3 changes: 2 additions & 1 deletion layouts/operate/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<section class="prose w-full py-12 max-w-none">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<p class="text-lg -mt-2 mb-2">{{ . | markdownify }}</p>{{ end }}
{{ if .Params.categories }}
{{/* No category badges in the Redis Iris docs space */}}
{{ if and .Params.categories (not (partial "is-iris-page.html" .)) }}
<div class="post-categories" style="display: table;">
<table style="border-collapse: separate; border-spacing: 0; background-color: #ffffff;">
<thead>
Expand Down
33 changes: 32 additions & 1 deletion layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,36 @@
{{ $navRoot := cond (eq .Site.Home.Type "docs") .Site.Home .FirstSection -}}
{{ $ulNr := 0 -}}
{{ $ulShow := 1 -}}
{{/* Redis Iris pages live under both Develop and Operate. Anywhere inside either
tree, the sidebar shows only the Iris pages, with a link back to the full docs.
The two halves ship in different offline bundles (develop and operate/iris), so
data-offline-hide can't mark either one. Instead the back link and each group
are list items: prune_sidebar in build/make_doc_bundles.py drops any item whose
links all lead outside the bundle. */}}
{{ $irisDevelop := site.GetPage "/develop/ai/context-engine" -}}
{{ $irisOperate := site.GetPage "/operate/iris" -}}
{{ if partial "is-iris-page.html" . }}
<ul>
<li><a class="px-6 text-redis-pen-700 hover:text-redis-pen-600" href='{{ relURL "develop" }}'>&larr; All documentation</a></li>
</ul>
<div class='min-h-0 border border-opacity-50 border-redis-ink-900 rounded-md flex flex-col'>
<span class='px-6 py-4 font-bold'>Redis Iris context engine</span>
<ul class="md:block overflow-y-auto grow pr-6 pb-4 border-t border-opacity-50 border-redis-ink-900">
<li>
<a class='pl-6 mt-4 flex {{ if eq . $irisDevelop }} active font-bold text-redis-ink-900 {{ else }} text-redis-pen-700 hover:text-redis-pen-600 {{ end }}' href='{{ $irisDevelop.RelPermalink }}'>GET STARTED</a>
<ul>
{{ template "li" (dict "page" . "pages" (union $irisDevelop.Pages $irisDevelop.Sections).ByWeight) }}
</ul>
</li>
<li>
<a class='pl-6 mt-6 flex {{ if eq . $irisOperate }} active font-bold text-redis-ink-900 {{ else }} text-redis-pen-700 hover:text-redis-pen-600 {{ end }}' href='{{ $irisOperate.RelPermalink }}'>DEPLOY &amp; OPERATE</a>
<ul>
{{ template "li" (dict "page" . "pages" (union $irisOperate.Pages $irisOperate.Sections).ByWeight) }}
</ul>
</li>
</ul>
</div>
Comment thread
cursor[bot] marked this conversation as resolved.
{{ else }}
{{/* data-offline-hide marks whatever a downloadable HTML copy should not show
(see build/make_doc_bundles.py). A bundle holds one product, so its copy
keeps only the section the page belongs to: the other products' links lead
Expand Down Expand Up @@ -249,6 +279,7 @@
</ul>
{{ end }}
</div>
{{ end }}
<div class="mt-4 shrink-0 md:mt-auto md:pb-4">
{{ partialCached "download-docs-trigger.html" (dict
"title" "Download documentation"
Expand All @@ -268,7 +299,7 @@
const activeLink = sidebar.querySelector('a.active');
if (activeLink) {
// Find the scrollable UL container that contains the active link
const scrollContainer = activeLink.closest('ul.overflow-y-auto');
const scrollContainer = activeLink.closest('.overflow-y-auto');

if (scrollContainer) {
// Get the position of the active link relative to its scrollable container
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<path class="transform origin-center transition-transform duration-300 group-hover:scale-150" id="star-bottom" d="M11.1718 9.68706C11.2845 9.38235 11.7155 9.38235 11.8282 9.68706L12.3895 11.2037C12.4249 11.2995 12.5005 11.3751 12.5963 11.4105L14.1129 11.9717C14.4176 12.0845 14.4176 12.5155 14.1129 12.6282L12.5963 13.1895C12.5005 13.2249 12.4249 13.3004 12.3895 13.3962L11.8282 14.9129C11.7155 15.2176 11.2845 15.2176 11.1718 14.9129L10.6105 13.3962C10.5751 13.3004 10.4995 13.2249 10.4037 13.1895L8.88708 12.6282C8.58236 12.5155 8.58236 12.0845 8.88708 11.9717L10.4037 11.4105C10.4995 11.3751 10.5751 11.2995 10.6105 11.2037L11.1718 9.68706Z" fill="#FF4438"></path>
<path class="transform origin-center transition-transform duration-300 group-hover:scale-50" id="star-top" d="M5.27175 1.68707C5.38451 1.38235 5.81549 1.38235 5.92825 1.68706L7.05666 4.73654C7.09211 4.83235 7.16764 4.90788 7.26344 4.94333L10.3129 6.07174C10.6176 6.18449 10.6176 6.61548 10.3129 6.72824L7.26344 7.85665C7.16764 7.8921 7.09211 7.96763 7.05666 8.06343L5.92825 11.1129C5.81549 11.4176 5.38451 11.4176 5.27175 11.1129L4.14334 8.06343C4.10789 7.96763 4.03236 7.8921 3.93656 7.85665L0.887077 6.72824C0.582361 6.61548 0.58236 6.18449 0.887077 6.07174L3.93656 4.94333C4.03236 4.90788 4.10789 4.83235 4.14334 4.73654L5.27175 1.68707Z" fill="#FF4438"></path>
</svg>
<a href="{{ relURL "develop/ai/agent-builder/" }}" class="inline-block group-hover:font-bold whitespace-nowrap">AI agent builder</a>
<a href="{{ relURL "develop/ai/context-engine/" }}" class="inline-block group-hover:font-bold whitespace-nowrap">Redis Iris</a>
</div>
</div>
</div>
Expand Down Expand Up @@ -63,7 +63,7 @@
<ul class="space-y-4 bg-redis-ink-900 p-4">
<li class="border-b border-b-white border-opacity-30 py-4 last:border-none">
<div class="flex items-center justify-between">
<a href="{{ relURL "develop/ai/agent-builder/" }}" class="text-lg font-medium flex items-center gap-2 text-white">AI agent builder
<a href="{{ relURL "develop/ai/context-engine/" }}" class="text-lg font-medium flex items-center gap-2 text-white">Redis Iris
<svg class="" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path class="transform origin-center transition-transform duration-300 group-hover:scale-150" id="star-bottom" d="M11.1718 9.68706C11.2845 9.38235 11.7155 9.38235 11.8282 9.68706L12.3895 11.2037C12.4249 11.2995 12.5005 11.3751 12.5963 11.4105L14.1129 11.9717C14.4176 12.0845 14.4176 12.5155 14.1129 12.6282L12.5963 13.1895C12.5005 13.2249 12.4249 13.3004 12.3895 13.3962L11.8282 14.9129C11.7155 15.2176 11.2845 15.2176 11.1718 14.9129L10.6105 13.3962C10.5751 13.3004 10.4995 13.2249 10.4037 13.1895L8.88708 12.6282C8.58236 12.5155 8.58236 12.0845 8.88708 11.9717L10.4037 11.4105C10.4995 11.3751 10.5751 11.2995 10.6105 11.2037L11.1718 9.68706Z" fill="#FF4438"></path>
<path class="transform origin-center transition-transform duration-300 group-hover:scale-50" id="star-top" d="M5.27175 1.68707C5.38451 1.38235 5.81549 1.38235 5.92825 1.68706L7.05666 4.73654C7.09211 4.83235 7.16764 4.90788 7.26344 4.94333L10.3129 6.07174C10.6176 6.18449 10.6176 6.61548 10.3129 6.72824L7.26344 7.85665C7.16764 7.8921 7.09211 7.96763 7.05666 8.06343L5.92825 11.1129C5.81549 11.4176 5.38451 11.4176 5.27175 11.1129L4.14334 8.06343C4.10789 7.96763 4.03236 7.8921 3.93656 7.85665L0.887077 6.72824C0.582361 6.61548 0.58236 6.18449 0.887077 6.07174L3.93656 4.94333C4.03236 4.90788 4.10789 4.83235 4.14334 4.73654L5.27175 1.68707Z" fill="#FF4438"></path>
Expand Down
10 changes: 10 additions & 0 deletions layouts/partials/is-iris-page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{{/* Returns true when the page is in the Redis Iris docs space: under either
/develop/ai/context-engine or /operate/iris. Used for the Iris-only sidebar
(docs-nav.html) and the Iris dark theme (baseof.html). */}}
{{ $inIris := false -}}
{{ $irisDevelop := site.GetPage "/develop/ai/context-engine" -}}
{{ $irisOperate := site.GetPage "/operate/iris" -}}
{{ if and $irisDevelop $irisOperate -}}
{{ $inIris = or (eq . $irisDevelop) (.IsDescendant $irisDevelop) (eq . $irisOperate) (.IsDescendant $irisOperate) -}}
{{ end -}}
{{ return $inIris }}
Loading
Loading