70 karma · joined August 12, 2018
falkordb = native edges + cypher pushdown * 2-hop query: ~8.9s → ~300ms * community-built core arc
``` /graphify ./raw --falkordb # generate cypher.txt for FalkorDB /graphify ./raw --falkordb-push falkordb://localhost:6379 ```
https://www.falkordb.com/blog/falkordblite-embedded-python-g...
Would be interesting to see updated benchmarks comparing these newer options against PostgreSQL extensions.
We took that one step further with the GraphRAG-SDK - https://github.com/FalkorDB/GraphRAG-SDK
With LiteLLM the application can easily switch between different models to pick to most optimized model for Knowledge Graph generation and Knowledge Retrieval.
1. Knowledge Graph quality - if you don't have a clean well defined Knowledge Graph then the end result will not be good.
2. Multi Graphs support - you want to break the large Knowledge Graph to small per domain Knowledge Graphs which really helps the LLM work with the data.
3. User/Agent memories - You want each user have a dedicated & effective long term memory AKA personal Knowledge Graph completely private and secured.
4. Latency/performance - you have to have a low latency Graph Database that can provide a good user experience.
It's a very similar reason on why using Graph for RAG can help you get much more accurate responses than with Vector RAG. See a blog I wrote about it https://www.falkordb.com/blog/knowledge-graph-vs-vector-data...
So in our in GraphRAG-SDK we are running two phases, the first is sampling the data to suggest a schema and the second is using this schema to ground the LLM to this schema (as you suggested)
We also build a similar demo based on the UFC dataset - https://github.com/FalkorDB/ufc