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!
Comments URL: https://news.ycombinator.com/item?id=43321523
Points: 7
# Comments: 1
Войдите, чтобы добавить комментарий
Другие сообщения в этой группе
Article URL: https://phys.org/news/2025-02-bullies-children.html
Article URL: https://tinlizzie.org/VPRIPapers/tr2012001_steps.pdf


Article URL: https://www.pnas.org/doi/10.1073/pnas.2422213122