Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Adding RAG to a Vercel Eve Agent with Upstash Redis Search

Blog post from Upstash

Post Details
Company
Date Published
Author
Cahid Arda Oz
Word Count
814
Company Posts That Month
33
Language
English
Hacker News Points
-
Post removed?
No
Summary

Vercel's new framework, Eve, has been utilized to develop Ask HackerNews, a demo agent that answers queries about HackerNews by leveraging retrieval-augmented generation (RAG) instead of relying solely on the model's memory. The agent uses Upstash Redis Search to query a comprehensive index of HackerNews data, enabling it to respond to questions about topics like "top stories about Rust" or "average scores of stories vs jobs." Built using Eve's filesystem-first approach, the agent's capabilities are structured as files, and the project incorporates a Next.js chat UI for user interaction. The agent employs three main tools—query, count, and aggregate—which interact with the Upstash Redis Search index using a versatile query language that supports full-text search, filtering, and sorting. This setup allows the model to dynamically construct its own search queries, ensuring responses are based on real data. The flexibility and expressiveness of Upstash Redis Search make it well-suited for RAG applications, as demonstrated by the project's accessible source code available on GitHub.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
RAG 4 1,000 260 106 -52%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.