Menu

Post image 1
Post image 2
1 / 2
0

Building a multi-tenant RAG pipeline with Postgres. Part 0: Overview

DEV Community·jasu.dev·23 days ago
#uRWU1kc8
#ai#rag#postgres#langchain#system#steps
Reading 0:00
15s threshold

Today I want to start with a series of articles describing my experience building a multi-tenant RAG system powered by Postgres that serves over millions of documents while still delivering end-to-end responses in under 4 seconds (including the latency from AI providers). This article serves as the overview before I will start diving deeper into the several topics in the upcoming weeks. I put a lot of research into most of the steps until I reached a somewhat stable and fast system. I was heavily involved in building this at my company, but I wasn't the only one and many of the ideas came from working through problems together with the team. In case you are thinking about building a RAG-based system this series could help you make the decisions regarding architecture or provider choice. What makes a good RAG system? In my opinion a good RAG system is mainly defined by recall and latency because these two things are directly impacting the end user experience.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More