Aug 27, 2025

Reducing LLM Calls with Vector Search Patterns - Raphael De Lio (Redis)

Are massive context windows making your AI agents slow and costly? Discover how to replace direct LLM calls with Redis vector search patterns to drastically reduce compute overhead.

Pause
Mute Enter Fullscreen
#1 about 3 min

Avoiding high costs with large language model context windows

Large context models remain expensive and slow, necessitating vector search patterns for efficiency.

#2 about 3 min

Encoding textual meaning into numerical vector representations

Embedding models convert text into discrete numerical vectors to allow engines to compute semantic similarities.

#3 about 5 min

Classifying text rapidly using reference embedding generation

Pre-generating and storing embedded text references enables fast vector similarity searches for classification tasks.

#4 about 4 min

Demonstrating semantic routing thresholds with the Redis vector library

Implementing categorical text classification using a Python vector library relies on customizable distance thresholds.

#5 about 4 min

Triggering specific application tools through explicit semantic routes

Mapping user intents directly to application tools via vector databases bypasses redundant language model inferences.

#6 about 3 min

Establishing guardrails and block lists using semantic routing

Routing predefined prohibited subjects to block lists prevents irrelevant or dangerous prompts from consuming processing resources.

#7 about 2 min

Reusing language model responses through semantic database caching

Vectorizing user prompts allows applications to surface previously computed responses for semantically identical questions.

#8 about 4 min

Demonstrating semantic latency reductions using Spring AI configurations

Integrating vector databases into application frameworks dramatically reduces repeated prompt latency by retrieving cached data alongside embeddings.

#9 about 4 min

Tuning thresholds and improving accuracy with automated optimizer tools

Combining automated threshold testing with hybrid language model fallbacks refines similarity search precision continuously.

#10 about 4 min

Improving tool calling accuracy by chunking complex user prompts

Splitting verbose queries into discrete clauses ensures accurate vector matching and reliable downstream tool execution.

#11 about 4 min

Addressing caching pitfalls with specialized tools and managed services

Training specific embedding models and mixing semantic routers with caching prevents contradictory logic and enhances relevance.

Matching moments

8:02 min

Mitigating language model costs with vector search patterns

Chris Heilmann +3 · LIVE

5:11 min

Optimizing tool calling in chatbots with semantic routing

Chris Heilmann +3 · LIVE

3:13 min

Using semantic caching and pre-generated audio

Nathaniel Okenwa Nathaniel Okenwa · WWC 2024

6:03 min

Architecting a semantic long-term memory system for LLMs

Erik Bamberg · LIVE

50 sec

Applying software engineering principles to optimize LLMs

Mete Atamel Mete Atamel · WWC 2024

4:59 min

Optimizing server architecture for scalable large language model operations

Calvin Seward Calvin Seward · Europe 2026 Virtual

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Headroom: A Context Optimization Layer for LLM Applications

Tejas Chopra

Senior Software Engineer at Netflix

Tejas Chopra
Open session

World Congress 2026 North America

KV Cache Is Not About Speed: It's About Surviving Inference Costs

David vonThenen

AI/ML Leader | Keynote Speaker | OSS Engineer & Developer Advocate | Agentic AI, Deep Learning, Production AI | Python, Go, C++

David vonThenen
Open session

World Congress 2026 North America

Fast, Cheap, and Accurate: Optimizing LLM Inference with vLLM and Quantization

Legare Kerrison, Cedric Clyburn

Legare Kerrison
Cedric Clyburn
Open session

World Congress 2026 North America

No Single Model to Rule Them All: Building Resilient AI Agents Across Open & Closed LLMs

Emmanuel Acheampong

Senior Manager Developer Relations at Crusoe AI

Emmanuel Acheampong
Open session

World Congress 2026 North America

Understanding LLM Architectures: Inside the Design of Modern Models

Jofia Jose Prakash

Enterprise AI Architect at American Chemical Society

Jofia Jose Prakash
Open session

World Congress 2026 North America

Beyond SQL Generation: How to Teach Agents What Your Database Actually Means

Kris Jenkins

Lead Developer Advocate at Snowflake

Kris Jenkins