diff --git a/content/develop/ai/_index.md b/content/develop/ai/_index.md index 2be59d759..4fa0fcc9e 100644 --- a/content/develop/ai/_index.md +++ b/content/develop/ai/_index.md @@ -13,9 +13,11 @@ hideListLinks: true --- Redis stores and indexes vector embeddings that semantically represent unstructured data including text passages, images, videos, or audio. Store vectors and the associated metadata within [hashes]({{< relref "/develop/data-types/hashes" >}}) or [JSON]({{< relref "/develop/data-types/json" >}}) documents for [indexing]({{< relref "/develop/ai/search-and-query/indexing" >}}) and [querying]({{< relref "/develop/ai/search-and-query/query" >}}). -| Vector | RAG | RedisVL | -| :-- | :-- | :-- | -| {{AI Redis icon.}}[Redis vector database quick start guide]({{< relref "/develop/get-started/vector-database" >}}) |{{AI Redis icon.}} [Retrieval-Augmented Generation quick start guide]({{< relref "/develop/get-started/rag" >}}) | {{AI Redis icon.}}[Redis vector Python client library documentation]({{< relref "/develop/ai/redisvl/" >}}) | +
+ {{< image-card image="images/ai-cube.svg" alt="AI Redis icon" title="Redis vector database quick start guide" url="/develop/get-started/vector-database" >}} + {{< image-card image="images/ai-brain.svg" alt="AI Redis icon" title="Retrieval-Augmented Generation quick start guide" url="/develop/get-started/rag" >}} + {{< image-card image="images/ai-lib.svg" alt="AI Redis icon" title="Redis vector Python client library documentation" url="/develop/ai/redisvl/" >}} +
#### Overview @@ -46,9 +48,13 @@ This page is organized into a few sections depending on what you're trying to do Learn to perform vector search and use gateways and semantic caching in your AI/ML projects. -| Search | LLM memory | Semantic caching | Semantic routing | AI Gateways | -| :-- | :-- | :-- | :-- | :-- | -| {{AI Redis icon.}}[Vector search guide]({{< relref "/develop/ai/search-and-query/query/vector-search" >}}) | {{LLM memory icon.}}[Store memory for LLMs](https://redis.io/blog/level-up-rag-apps-with-redis-vector-library/) | {{AI Redis icon.}}[Semantic caching for faster, smarter LLM apps](https://redis.io/blog/what-is-semantic-caching) | {{Semantic routing icon.}}[Semantic routing chooses the best tool](https://redis.io/blog/level-up-rag-apps-with-redis-vector-library/) | {{AI Redis icon.}}[Deploy an enhanced gateway with Redis](https://redis.io/blog/ai-gateways-what-are-they-how-can-you-deploy-an-enhanced-gateway-with-redis/) | +
+ {{< image-card image="images/ai-search.svg" alt="AI Redis icon" title="Vector search guide" url="/develop/ai/search-and-query/query/vector-search" >}} + {{< image-card image="images/ai-LLM-memory.svg" alt="LLM memory icon" title="Store memory for LLMs" url="https://redis.io/blog/level-up-rag-apps-with-redis-vector-library/" >}} + {{< image-card image="images/ai-brain-2.svg" alt="AI Redis icon" title="Semantic caching for faster, smarter LLM apps" url="https://redis.io/blog/what-is-semantic-caching" >}} + {{< image-card image="images/ai-semantic-routing.svg" alt="Semantic routing icon" title="Semantic routing chooses the best tool" url="https://redis.io/blog/level-up-rag-apps-with-redis-vector-library/" >}} + {{< image-card image="images/ai-model.svg" alt="AI Redis icon" title="Deploy an enhanced gateway with Redis" url="https://redis.io/blog/ai-gateways-what-are-they-how-can-you-deploy-an-enhanced-gateway-with-redis/" >}} +
## Quickstarts diff --git a/layouts/shortcodes/image-card.html b/layouts/shortcodes/image-card.html new file mode 100644 index 000000000..7ea02bc62 --- /dev/null +++ b/layouts/shortcodes/image-card.html @@ -0,0 +1,34 @@ +{{/* + Image card shortcode - creates a clickable card with image and title + + Usage: + {{< image-card image="images/ai-cube.svg" alt="AI Redis icon" title="Redis vector database quick start guide" url="/develop/get-started/vector-database" >}} + + Parameters: + - image: Path to the image file (required) + - alt: Alt text for the image (required) + - title: Title text to display below the image (required) + - url: URL to link to when clicked (required) + - class: Optional CSS class for the card container +*/}} + +{{ $image := .Get "image" }} +{{ $alt := .Get "alt" }} +{{ $title := .Get "title" }} +{{ $url := .Get "url" }} +{{ $class := .Get "class" | default "" }} + +{{/* Handle internal vs external URLs */}} +{{ $finalUrl := $url }} +{{ if and (not (hasPrefix $url "http")) (not (hasPrefix $url "//")) }} + {{ $finalUrl = relref . $url }} +{{ end }} + + +
+
+ {{ $alt }} +
+ {{ $title }} +
+