Hacker News new | past | comments | ask | show | jobs | submit | gkorland's comments login

We see three major issues that different projects encounter:

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.


If it's your personal assassinate and is helping you for months it means pretty fast it will start forget the details and only have a vogue view of you and your preferences. So instead of being you personal assassinate it practically cluster your personality and give you general help with no reliance on real historical data.


Did you try FalkorDB? If latency is a factor and you consider to store many Knowledge Graphs you should check it out.


Thanks - this one is new to me. Checking it out.


It looks great! Utilizing Knowledge Graph to store long term memory is probably the most accurate solution compared to using only Vector Store (same as with GraphRAG vs Vector RAG). I think an important thing to point here that long term memory vs RAG doesn't represent the organizational knowledge but the chat history which should be private to the end user and shouldn't be kept in a completely isolated graph than the rest of the users


When using a graph database you can build a knowledge Graph out of the long term memory. Storing it only in a vector database means that you'll only find things that are similar to the user question and miss a lot of information that is an aggregation of different memories.

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...


Do you just hold this number of node in the database or also need to visualize them all in one view?


visualize them in one view so I can understand how data is flowing from input to output


We've done a very similar procedure just with FalkorDB as a Graph Database. Notice if you already have a schema/ontology it might be easier might you might miss some entities in the text you did realize exist.

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)

Check https://github.com/FalkorDB/GraphRAG-SDK


Would love to hear your feedback once you do try GraphRAG.


Nice demo! It so easy to see that Vector RAG just can't answer complex queries that are more that Sematic Search results.

We also build a similar demo based on the UFC dataset - https://github.com/FalkorDB/ufc


Nice!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: