Hey fellow open-source enthusiasts,<p>We built Korvus, an open-source RAG (Retrieval-Augmented Generation) pipeline that consolidates the entire RAG workflow - from embedding generation to text generation - into a single SQL query, significantly reducing architectural complexity and latency.<p>Here's some of the highlights:<p>- Full RAG pipeline (embedding generation, vector search, reranking, and text generation) in one SQL query<p>- SDKs for Python, JavaScript, and Rust (more languages planned)<p>- Built on PostgreSQL, leveraging pgvector and pgml<p>- Open-source, with support for open models<p>- Designed for high performance and scalability<p>Korvus utilizes Postgres' advanced features to perform complex RAG operations natively within the database. We're also the developers of PostgresML, so we're big advocates of in-database machine learning. This approach eliminates the need for external services and API calls, potentially reducing latency by orders of magnitude compared to traditional microservice architectures. It's how our founding team built and scaled the ML platform at Instacart.<p>We're eager to get feedback from the community and welcome contributions. Check out our GitHub repo for more details, and feel free to hit us up in our Discord!