Re:Show HN: In-Browser Graph RAG with Kuzu-WASM and WebLLM
by echelon on Monday March 10, 2025 @12:58PM
(#43322515)
This is really cool, but I'm super anxious about entering my personal data, especially LinkedIn connections.
Is there some other demo you could do with public graph data? It'd be just as cool of a demo, but with less fear of information misuse.
I'm even more anxious about leaking information about my professional connections as I am leaking my own data.
Re:Show HN: In-Browser Graph RAG with Kuzu-WASM and WebLLM
by laminarflow027 on Monday March 10, 2025 @01:18PM
(#43322756)
Your concern makes sense, but in the demo we show, all your private data AND the graph database AND the LLM (basically, everything) is confined to your client session in the browser, and no data actually ever leaves your machine. That's the whole point of Wasm!
The graph that you build is more for your own exploration and not for sharing with the outside world.
Re:Show HN: In-Browser Graph RAG with Kuzu-WASM and WebLLM
by w10-1 on Monday March 10, 2025 @04:21PM
(#43325608)
Still, using non-personal example would mean the user wouldn't have to consider whether to trust you on that point (or do the analysis), and would make the technology demo friction-free.
imo, privacy shouldn't be the driver but the kicker, because it's so inflammatory.
Re:Show HN: In-Browser Graph RAG with Kuzu-WASM and WebLLM
by semihsalihoglu on Monday March 10, 2025 @06:24PM
(#43326814)
I think having a version with a sample synthetic dataset makes sense.
Re:Show HN: In-Browser Graph RAG with Kuzu-WASM and WebLLM
by sdht0 on Tuesday March 11, 2025 @12:47PM
(#43334385)
https://demo.kuzudb.com is our general WASM explorer with some synthetic data you can try.
Also note that Kuzu is open source. You can try running the explorer locally using Docker: https://github.com/kuzudb/explorer?tab=readme-ov-file#webass...
You're making a fair observation here and it's true for any high level query language - SQL and Cypher and interchangeable unless the queries are recursive, in which case Cypher's graph syntax (e.g., the Kleene star * or shortest paths) has several advantages. One could make the argument that Cypher is easier for LLMs to generate because the joins are less verbose (you simply express the join as a query pattern). This post is not necessarily about graph analytics. It's about demonstrating that it's very simple to develop a relatively complex application using LLMs and a database fully in-browser, which can potentially open up new use cases. I'm sure many people will come up with other creative ways putting these fully in-browser technologies, both graph-specific, and not, e.g., using vector search-based retrieval. In fact, there are already some of our users doing this right now.