Remix.run Logo
Why RAG doesn't work for WhatsApp AI agents and what's the alternative(wpp.opero.so)
2 points by juancruzguillen 6 hours ago | 1 comments
juancruzguillen 6 hours ago | parent [-]

If you're building AI agents that talk to people on WhatsApp, you've probably thought about memory. How does your agent remember what happened three days ago? How does it know the customer already rejected your offer? How does it avoid asking the same question twice?

The default answer in 2024 was RAG -Retrieval-Augmented Generation. Embed your messages, throw them in a vector database, and retrieve the relevant ones before generating a response.

We tried that. It doesn't work for conversations. Instead, we designed a three-layer system. Each layer serves a different purpose, and together they give an AI agent complete conversational awareness.

Read the blog for more.