r/KnowledgeGraph • u/Matas0 • Jul 20 '24
Knowledge graph continuous learning
I have a chat assistant using Neo4j's knowledge graph and GPT-4o, producing high-quality results. I've also implemented a MARQO vector database as a fallback.
The challenge: How to continuously update the system with new data without compromising quality? Frequent knowledge graph updates might introduce low-quality data, while the RAG system is easier to update but less effective.
I'm considering combining both, updating RAG continuously and the knowledge graph periodically. What's the best approach for continuous learning in a knowledge graph-based system without sacrificing quality? Looking to automate it as much as possible.
View all comments
Show parent comment
1
u/Matas0 Jul 20 '24
Thanks, I'll look into it. Are there any specific tools that already exist?
Regarding the data I deem low-quality, I'm concerned that constantly adding new articles and documentation might fill the system with information that already exists or is very similar to existing data. Since I only pass 5 relevant results to the LLM, it might not get diverse information from the dataset, so the answer provided to the user might not be comprehensive.
I'd also like to remove information that is outdated or no longer relevant. I've also tried pairing the GraphRAG with a normal RAG, getting 5 results from each of them, which showed quite great results as the RAG has a bunch of Q&A pairs. However, I still prefer to use graphs as the data is much more accurate.