Skip to content
FlowHubFluxonLab
RAG & Knowledge Basesfree

Semantic Cache with a Redis Vector Store

by Tihomir MateevUpdated Aug 2026
RequiresOpenAI
Share Post Share
OpenAI Chat ModelOpenAI Chat Mod…MRRedis Chat MemoryRedis Chat Memo…ChWhen chat message receivedWhen chat messa…CoAnalyze results from storeAnalyze results…VSCheck for similar promptsCheck for simil…ChRespond to Chat (from semantic cache)Respond to Chat…ChRespond to Chat (from LLM)Respond to Chat…AgLLM AgentVSStore entry in cacheStore entry in …DDAdd response as metadataAdd response as…TSRecursive Character Text SplitterRecursive Chara…IfIs this a cache hit?Is this a cache…EHEmbeddings HuggingFace InferenceEmbeddings Hugg…EHEmbeddings HuggingFace Inference1Embeddings Hugg…MaWhen clicking ‘Execute workflow’When clicking ‘…VSInitialize Redis storeInitialize Redi…DDProcess sample dataProcess sample …EHUse Huggingface for embeddingsUse Huggingface…TSRecursive Character Text Splitter1Recursive Chara…12345678910111213
1/5
FLOWS
STEPS · 13
Starts from a chat message

On a chat message, checks a Redis vector store for cached semantic matches before querying the OpenAI agent, embedding new responses via HuggingFace.

Tags

webhookcomplexOpenAIEngineeringAI Chatbotdiscoveredpending-review
Connects
OpenAI
CategoryRAG & Knowledge Bases
Triggerwebhook
Complexitycomplex
Nodes19
AddedJun 27, 2026