Skip to content

Commit 944020f

Browse files
authored
Merge branch 'release-build-redis' into fxl---fix-merge-conflicts-with-main--dirty-build]
2 parents 3393c02 + 08b9b48 commit 944020f

File tree

3 files changed

+358
-4
lines changed

3 files changed

+358
-4
lines changed

articles/azure-cache-for-redis/.openpublishing.redirection.redis-cache.json

Lines changed: 341 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,346 @@
264264
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-configure-role-based-access-control.md",
265265
"redirect_url": "/azure/azure-cache-for-redis/managed-redis/managed-redis-entra-for-authentication",
266266
"redirect_document_id": false
267-
}
267+
},
268+
{
269+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-administration.md",
270+
"redirect_url": "/azure/redis/administration",
271+
"redirect_document_id": true
272+
},
273+
{
274+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-architecture.md",
275+
"redirect_url": "/azure/redis/architecture",
276+
"redirect_document_id": true
277+
},
278+
{
279+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-client-libraries.md",
280+
"redirect_url": "/azure/redis/best-practices-client-libraries",
281+
"redirect_document_id": true
282+
},
283+
{
284+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-connection.md",
285+
"redirect_url": "/azure/redis/best-practices-connection",
286+
"redirect_document_id": true
287+
},
288+
{
289+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-development.md",
290+
"redirect_url": "/azure/redis/best-practices-development",
291+
"redirect_document_id": true
292+
},
293+
{
294+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-kubernetes.md",
295+
"redirect_url": "/azure/redis/best-practices-kubernetes",
296+
"redirect_document_id": true
297+
},
298+
{
299+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-managed-cache.md",
300+
"redirect_url": "/azure/redis/best-practices-managed-cache",
301+
"redirect_document_id": true
302+
},
303+
{
304+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-memory-management.md",
305+
"redirect_url": "/azure/redis/best-practices-memory-management",
306+
"redirect_document_id": true
307+
},
308+
{
309+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-performance.md",
310+
"redirect_url": "/azure/redis/best-practices-performance",
311+
"redirect_document_id": true
312+
},
313+
{
314+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-scale.md",
315+
"redirect_url": "/azure/redis/best-practices-scale",
316+
"redirect_document_id": true
317+
},
318+
{
319+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-best-practices-server-load.md",
320+
"redirect_url": "/azure/redis/best-practices-server-load",
321+
"redirect_document_id": true
322+
},
323+
{
324+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-configure.md",
325+
"redirect_url": "/azure/redis/configure",
326+
"redirect_document_id": true
327+
},
328+
{
329+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-development-faq.yml",
330+
"redirect_url": "/azure/redis/development-faq",
331+
"redirect_document_id": true
332+
},
333+
{
334+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-entra-for-authentication.md",
335+
"redirect_url": "/azure/redis/entra-for-authentication",
336+
"redirect_document_id": true
337+
},
338+
{
339+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-failover.md",
340+
"redirect_url": "/azure/redis/failover",
341+
"redirect_document_id": true
342+
},
343+
{
344+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-high-availability.md",
345+
"redirect_url": "/azure/redis/high-availability",
346+
"redirect_document_id": true
347+
},
348+
{
349+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-active-geo-replication.md",
350+
"redirect_url": "/azure/redis/how-to-active-geo-replication",
351+
"redirect_document_id": true
352+
},
353+
{
354+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-encryption.md",
355+
"redirect_url": "/azure/redis/how-to-encryption",
356+
"redirect_document_id": true
357+
},
358+
{
359+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-import-export-data.md",
360+
"redirect_url": "/azure/redis/how-to-import-export-data",
361+
"redirect_document_id": true
362+
},
363+
{
364+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-persistence.md",
365+
"redirect_url": "/azure/redis/how-to-persistence",
366+
"redirect_document_id": true
367+
},
368+
{
369+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-redis-cli-tool.md",
370+
"redirect_url": "/azure/redis/how-to-redis-cli-tool",
371+
"redirect_document_id": true
372+
},
373+
{
374+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-scale.md",
375+
"redirect_url": "/azure/redis/how-to-scale",
376+
"redirect_document_id": true
377+
},
378+
{
379+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-how-to-upgrade.md",
380+
"redirect_url": "/azure/redis/how-to-upgrade",
381+
"redirect_document_id": true
382+
},
383+
{
384+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-management-faq.yml",
385+
"redirect_url": "/azure/redis/management-faq",
386+
"redirect_document_id": true
387+
},
388+
{
389+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-migration-guide.md",
390+
"redirect_url": "/azure/redis/migrate-guide",
391+
"redirect_document_id": true
392+
},
393+
{
394+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-monitor-diagnostic-settings.md",
395+
"redirect_url": "/azure/redis/monitor-diagnostic-settings",
396+
"redirect_document_id": true
397+
},
398+
{
399+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-monitor-troubleshoot-faq.yml",
400+
"redirect_url": "/azure/redis/monitor-troubleshoot-faq",
401+
"redirect_document_id": true
402+
},
403+
{
404+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-overview.md",
405+
"redirect_url": "/azure/redis/overview",
406+
"redirect_document_id": true
407+
},
408+
{
409+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-planning-faq.yml",
410+
"redirect_url": "/azure/redis/planning-faq",
411+
"redirect_document_id": true
412+
},
413+
{
414+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-private-link.md",
415+
"redirect_url": "/azure/redis/private-link",
416+
"redirect_document_id": true
417+
},
418+
{
419+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-redis-modules.md",
420+
"redirect_url": "/azure/redis/redis-modules",
421+
"redirect_document_id": true
422+
},
423+
{
424+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-reserved-pricing.md",
425+
"redirect_url": "/azure/redis/reserved-pricing",
426+
"redirect_document_id": true
427+
},
428+
{
429+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-tls-configuration.md",
430+
"redirect_url": "/azure/redis/tls-configuration",
431+
"redirect_document_id": true
432+
},
433+
{
434+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-client.md",
435+
"redirect_url": "/azure/redis/troubleshoot-client",
436+
"redirect_document_id": true
437+
},
438+
{
439+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-connectivity.m",
440+
"redirect_url": "/azure/redis/troubleshoot-connectivity",
441+
"redirect_document_id": true
442+
},
443+
{
444+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-data-loss.md",
445+
"redirect_url": "/azure/redis/troubleshoot-data-loss",
446+
"redirect_document_id": true
447+
},
448+
{
449+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-server.md",
450+
"redirect_url": "/azure/redis/troubleshoot-server",
451+
"redirect_document_id": true
452+
},
453+
{
454+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-troubleshoot-timeouts.md",
455+
"redirect_url": "/azure/redis/troubleshoot-timeouts",
456+
"redirect_document_id": true
457+
},
458+
{
459+
"source_path_from_root": "/articles/azure-cache-for-redis/managed-redis/managed-redis-whats-new.md",
460+
"redirect_url": "/azure/redis/whats-new",
461+
"redirect_document_id": true
462+
},
463+
{
464+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-aspnet-core-output-cache-provider.md",
465+
"redirect_url": "/azure/redis/aspnet-core-output-cache-provider",
466+
"redirect_document_id": true
467+
},
468+
{
469+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-aspnet-output-cache-provider.md",
470+
"redirect_url": "/azure/redis/aspnet-output-cache-provider",
471+
"redirect_document_id": true
472+
},
473+
{
474+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-aspnet-session-state-provider.md",
475+
"redirect_url": "/azure/redis/aspnet-session-state-provider",
476+
"redirect_document_id": true
477+
},
478+
{
479+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-dotnet-core-quickstart.md",
480+
"redirect_url": "/azure/redis/dotnet-core-quickstart",
481+
"redirect_document_id": true
482+
},
483+
{
484+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-dotnet-how-to-use-azure-redis-cache.md",
485+
"redirect_url": "/azure/redis/dotnet-how-to-use-azure-redis-cache",
486+
"redirect_document_id": true
487+
},
488+
{
489+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-faq.yml",
490+
"redirect_url": "/azure/redis/faq",
491+
"redirect_document_id": true
492+
},
493+
{
494+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-go-get-started.md",
495+
"redirect_url": "/azure/redis/go-get-started",
496+
"redirect_document_id": true
497+
},
498+
{
499+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-java-get-started.md",
500+
"redirect_url": "/azure/redis/java-get-started",
501+
"redirect_document_id": true
502+
},
503+
{
504+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-java-redisson-get-started.md",
505+
"redirect_url": "/azure/redis/java-redisson-get-started",
506+
"redirect_document_id": true
507+
},
508+
{
509+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-ml.md",
510+
"redirect_url": "/azure/redis/machine-learning",
511+
"redirect_document_id": true
512+
},
513+
{
514+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-nodejs-get-started.md",
515+
"redirect_url": "/azure/redis/nodejs-get-started",
516+
"redirect_document_id": true
517+
},
518+
{
519+
"source_path_from_root": "/articles/azure-cache-for-redis/monitor-cache.md",
520+
"redirect_url": "/azure/redis/monitor-cache",
521+
"redirect_document_id": true
522+
},
523+
{
524+
"source_path_from_root": "/articles/azure-cache-for-redis/monitor-cache-reference.md",
525+
"redirect_url": "/azure/redis/monitor-cache-reference",
526+
"redirect_document_id": true
527+
},
528+
{
529+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-python-get-started.md",
530+
"redirect_url": "/azure/redis/python-get-started",
531+
"redirect_document_id": true
532+
},
533+
{
534+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-redis-cache-arm-provision.md",
535+
"redirect_url": "/azure/redis/redis-cache-arm-provision",
536+
"redirect_document_id": true
537+
},
538+
{
539+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-redis-cache-bicep-provision.md",
540+
"redirect_url": "/azure/redis/redis-cache-bicep-provision",
541+
"redirect_document_id": true
542+
},
543+
{
544+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-rust-get-started.md",
545+
"redirect_url": "/azure/redis/rust-get-started",
546+
"redirect_document_id": true
547+
},
548+
{
549+
"source_path_from_root": "/articles/azure-cache-for-redis/security-controls-policy.md",
550+
"redirect_url": "/azure/redis/security-controls-policy",
551+
"redirect_document_id": true
552+
},
553+
{
554+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-tutorial-active-replication.md",
555+
"redirect_url": "/azure/redis/tutorial-active-replication",
556+
"redirect_document_id": true
557+
},
558+
{
559+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-tutorial-aks-get-started.md",
560+
"redirect_url": "/azure/redis/tutorial-aks-get-started",
561+
"redirect_document_id": true
562+
},
563+
{
564+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-tutorial-functions-getting-started.md",
565+
"redirect_url": "/azure/redis/tutorial-functions-getting-started",
566+
"redirect_document_id": true
567+
},
568+
{
569+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-tutorial-semantic-cache.md",
570+
"redirect_url": "/azure/redis/tutorial-semantic-cache",
571+
"redirect_document_id": true
572+
},
573+
{
574+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-tutorial-vector-similarity.md",
575+
"redirect_url": "/azure/redis/tutorial-vector-similarity",
576+
"redirect_document_id": true
577+
},
578+
{
579+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-tutorial-write-behind.md",
580+
"redirect_url": "/azure/redis/tutorial-write-behind",
581+
"redirect_document_id": true
582+
},
583+
{
584+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-web-app-arm-with-redis-cache-provision.md",
585+
"redirect_url": "/azure/redis/web-app-arm-with-redis-cache-provision",
586+
"redirect_document_id": true
587+
},
588+
{
589+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-web-app-aspnet-core-howto.md",
590+
"redirect_url": "/azure/redis/web-app-aspnet-core-howto",
591+
"redirect_document_id": true
592+
},
593+
{
594+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-web-app-bicep-with-redis-cache-provision.md",
595+
"redirect_url": "/azure/redis/web-app-bicep-with-redis-cache-provision",
596+
"redirect_document_id": true
597+
},
598+
{
599+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-web-app-cache-aside-leaderboard.md",
600+
"redirect_url": "/azure/redis/web-app-cache-aside-leaderboard",
601+
"redirect_document_id": true
602+
},
603+
{
604+
"source_path_from_root": "/articles/azure-cache-for-redis/cache-web-app-howto.md",
605+
"redirect_url": "/azure/redis/web-app-cache-howto",
606+
"redirect_document_id": true
607+
}
268608
]
269609
}

articles/redis/overview-vector-similarity.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ ms.topic: overview
88
ms.custom:
99
- ignite-2024
1010
ms.date: 02/27/2025
11+
1112
---
1213

1314
# What are Vector Embeddings and Vector Search in Azure Cache for Redis?
1415

1516
Vector similarity search (VSS) has become a popular technology for AI-powered intelligent applications. Azure Cache for Redis can be used as a vector database when combined with models like [Azure OpenAI](/azure/ai-services/openai/overview) for Retrieval-Augmented Generative AI and other analysis scenarios. This article is a high-level introduction to the concept of vector embeddings, vector similarity search, and how Redis can be used as a vector database powering intelligent applications.
1617

18+
1719
For tutorials and sample applications on how to use Enterprise tier or Azure Managed Redis with Azure OpenAI, see the following:
1820

1921
- [Tutorial: Conduct vector similarity with OpenAI embeddings using Azure Managed Redis using LangChain](tutorial-vector-similarity.md)
@@ -33,6 +35,7 @@ This table contains the information for vector search availability in different
3335

3436
Vector embeddings are a fundamental concept in machine learning and natural language processing that enable the representation of data, such as words, documents, or images, as numerical vectors in a high-dimension vector space. The primary idea behind vector embeddings is to capture the underlying relationships and semantics of the data by mapping them to points in this vector space. That means converting your text or images into a sequence of numbers that represents the data, and then comparing the different number sequences. This allows complex data to be manipulated and analyzed mathematically, making it easier to perform tasks like similarity comparison, recommendation, and classification.
3537

38+
3639
Each machine learning model classifies data and produces the vector in a different manner. Furthermore, it's typically not possible to determine exactly what semantic meaning each vector dimension represents. But because the model is consistent between each block of input data, similar words, documents, or images have vectors that are also similar. For example, the words `basketball` and `baseball` have embeddings vectors much closer to each other than a word like `rainforest`.
3740

3841
### Vector comparison
@@ -76,9 +79,10 @@ Vector similarity search can be used in multiple applications. Some common use-c
7679
- **Semantic Caching**. Reduce the cost and latency of LLMs by caching LLM completions. LLM queries are compared using vector similarity. If a new query is similar enough to a previously cached query, the cached query is returned. [Semantic Caching example using LangChain](https://python.langchain.com/docs/integrations/llm_caching/#redis-cache)
7780
- **LLM Conversation Memory**. Persist conversation history with an LLM as embeddings in a vector database. Your application can use vector search to pull relevant history or "memories" into the response from the LLM. [LLM Conversation Memory example](https://github.com/continuum-llms/chatgpt-memory)
7881

79-
## Why choose Azure Redis for storing and searching vectors?
8082

81-
Azure Redis caches can be used effectively as a vector database to store embeddings vectors and to perform vector similarity searches. Support for vector storage and search has been available in many key machine learning frameworks like:
83+
## Why choose Azure Cache for Redis for storing and searching vectors?
84+
85+
Azure Cache for Redis can be used effectively as a vector database to store embeddings vectors and to perform vector similarity searches. Support for vector storage and search has been available in many key machine learning frameworks like:
8286

8387
- [Semantic Kernel](https://github.com/microsoft/semantic-kernel)
8488
- [LangChain](https://python.langchain.com/docs/integrations/vectorstores/redis)

0 commit comments

Comments
 (0)