Story

Show HN: In-Browser Graph RAG with Kuzu-WASM and WebLLM

sdht0 Monday, March 10, 2025

We show the potential of modern, embedded graph databases in the browser by demonstrating a fully in-browser chatbot that can perform Graph RAG using Kuzu (the graph database we're building) and WebLLM, a popular in-browser inference engine for LLMs. The post retrieves from the graph via a Text-to-Cypher pipeline that translates a user question into a Cypher query, and the LLM uses the retrieved results to synthesize a response. As LLMs get better, and WebGPU and Wasm64 become more widely adopted, we expect to be able to do more and more in the browser in combination with LLMs, so a lot of the performance limitations we see currently may not be as much of a problem in the future.

We will soon also be releasing a vector index as part of Kuzu that you can also use in the browser to build traditional RAG or Graph RAG that retrieves from both vectors and graphs. The system has come a long way since we open sourced it about 2 years ago, so please give us feedback about how it can be more useful!

Summary
The article discusses the development of Kuzu, a WebAssembly runtime designed for efficiency and ease of use. It highlights Kuzu's key features, including its minimalist design, support for various programming languages, and integration with popular tools and frameworks.
155 28
Summary
blog.kuzudb.com
Visit article Read on Hacker News Comments 28