You drop this on the 24’ - my Christmas Eve is spoiled 😂 I need to test this out now :)
@alwikah5664Ай бұрын
Don't forget to start with "This is amaaaazing" 🙂 Top video, thanks for sharing.
@joseduarte12406 күн бұрын
What do you think its the best way if we want to create an TEXT to SQL with a complex database?
@sergeziehi4816Ай бұрын
Thanks Mervin; Would be good if it retrieves also references along with question answering in the retrival process.
@patruffАй бұрын
The key differentiator is that KAG puts more emphasis on knowledge representation and reasoning capabilities, while LightRAG focuses more on efficient retrieval through its dual-level approach. For applications requiring deep knowledge understanding and complex reasoning, KAG would likely be the better choice. For applications prioritizing fast retrieval and simpler queries, LightRAG may be sufficient. I recommend KAG for use cases requiring: - Complex multi-hop reasoning - Deep domain knowledge integration - Sophisticated knowledge representation needs And LightRAG for use cases requiring: - Fast retrieval performance - Simpler knowledge representation needs - Efficient processing of straightforward queries
@ysy699 күн бұрын
When you say fast retrieval, how fast is it compared to KAG retrieval?
@RobertFitz-r8rАй бұрын
Thanks, I downloaded KAG and played around with it after I saw your video. Unfortunately, the KAG document processing fails every time during the text embedding phase (step 4) with the error message - cannot connect to OpenAI. I configured it to use the OpenAI text embedding model. KAG managed to connect to the OpenAI LLM (in my case gpt-4o-mini), that worked. But it failed to invoke the OpenAI embedding model. It still tried its best to answer my query in the chat window, but I could tell from the response that the additional document embedding was missing. It’s unfortunate that the product quality is in early beta phase. I would have really liked to experiment more with it.
@alprbgt24 күн бұрын
Hi bro, did you solve that problem?
@RobertFitz-r8r23 күн бұрын
@@alprbgt No, I am waiting until the authors are updating their repo to address the issue. There are many other interesting solutions, like LightRAG, that do work - so no need to waste time to investigate a solution that currently does not work.
@ysy699 күн бұрын
Grateful for informing and tutoring us. Does this mean we can leave RAG/GraphRAG behind and move full steam ahead with KAG?
@SullyOrchestrationАй бұрын
You guys did fantastic work. Is there a way for this to be deployed as a self-hosted API package? For example is it possible if I create an AI agent with n8n and connect it to this? This would be the best tutorial EVER!
@takimdigital3421Ай бұрын
Still no community node , but you could run python script and retrieve the answer
@ahmadzaimhilmiАй бұрын
My issue with KG RAG is that I'm unable to reference any snippet from the document the result is retrieved. The result may be accurate, but what's the point of using it if we need to go back and document between our document and the generated result to verify the facts?
@SullyOrchestrationАй бұрын
Agreed!
@pink_fluffy_skyАй бұрын
can we combine this with traditional rag?
@ysy699 күн бұрын
What do you mean you're unable to reference any snippet from the document?
@SuperLano9821 күн бұрын
I still don’t understand what’s the difference and advantages of KAG over graph rag. Could you, please, clarify it ?
@janalgosАй бұрын
How does this compare to hybrid rag approach? The one that mixes graph rag with vector rag
@01of13Ай бұрын
thanks for the video. would you mind creating a version that shows how to configure KAG to work with openai models? it is hard to copy the config code from the video, as it is not provided separately as you customarily do.
@alprbgt24 күн бұрын
Hi, First of all, Thanks for your good video. It's knowledgeble video. I tried what you do in the video on my computer, but when I create a task, I always getting a vectorization connection error. I'm using OpenAI API and it's embedding model. My question, is there any document or any video on platforms about that error?
@shaunlee852918 күн бұрын
im not sure why, but the image i used yours for spg server, but im still required to log in with credentials. its a local setup, so im not sure where can i get the credentials from
@crimsonkim6824Ай бұрын
Do you know if it even out-performs Lazy GraphRAG from Microsoft? Cuz I thought they were currently considered kinda like the SOTA rn in the Graph RAG paradigm
@AbdulSamada-qv7se22 күн бұрын
when i run the url its asking for login >\?
@belfort77710 сағат бұрын
@mervin please make KAG with DeepSeek-R1
@KevencebazileАй бұрын
Just Reviewed amazing content happy holidays !! thanks for content
@SullyOrchestrationАй бұрын
I am trying this now - the knowledge extraction process seems to be extremely slow with a chunk size of 4060 and length of 500 each. In fact one chunk had to be processed for 10 minutes before moving on to the next chunk. While I appreciate that I have a large document, it would be nice to see more detailed logs or estimated time to completion
@0730pleomaxАй бұрын
That slow?
@milindtakate5987Ай бұрын
Can we do the incremental update to the graphs created?
@zhengkeguiАй бұрын
Yes, kag uses neo4j as the graph storage engine, and each graph construction task writes incremental data to the knowledge base.
@JorgeCastro-vm1kt27 күн бұрын
Thanks Mervin!
@davidjourno692926 күн бұрын
Hey Mervin, I'm currently learning KAG, I'm assuming KAG can be used with sparql but for indexing, I know this is pre built framework but I'm curious how performs something different like elasticsearch vectors or vec2sparql
@0x7f6Ай бұрын
Nice explanation and demo, Mervin. Can the queries work across any/all of the uploaded documents rather than one specific document?
@dekel56Ай бұрын
anyone knows how to write the model configuration for openai? I get connection error 2024-12-24 23:23:42: execute error:java.util.concurrent.ExecutionException: pemja.core.PythonException: : Connection error.
@BryanAbrilSarАй бұрын
How I can use this framework with n8n it can ?
@mohamedfouad1309Ай бұрын
This is amazing
@scitechtalktv9742Ай бұрын
Fantastic! I just discovered this. May I ask exactly how you did this? I mean technically, because I know that these 2 songs are compatibel according to music theory (Camelot Wheel)
@adanpalma4026Ай бұрын
Thanks, so wich one is the way to go? Agentic Rag(langgraph, phidata), llamaparse and semantic? Or this one. I am really confuse how to go. I just want to build good rad, eficient, with few o no hallucination but I am really lost
@zhengkeguiАй бұрын
If there were end-to-end quantitative evaluations in specific fields, it would be easier to choose a technical route. If you know of such methods, please let me know. According to KAG Technical report, it seems to perform well on multi-hop question answering datasets like HotpotQA, TwoWiki, and MuSiQue.
@adanpalma4026Ай бұрын
The first thing is how good is parsing. LlamaIndex offer llamaparse that claim to be the best one or at least one of the best. I want to combina llamaparsw+chromadb or+ agentic rag (phidata or langgraph) or kag but for me is overwhelming
@adanpalma402629 күн бұрын
@@zhengkegui I have bee practicing with llamaindex+llamaparse+chromadb. Also with phidata with agents and first steps with langgraph with agents, I have to admit are small steps and No in a serious or businness solution, but I am really confused becasuse for me any pdf or text source for chatting has to be 100% efective and no one of this techs show that results and I am not feel conftable and profesional deploying this kind of solution with no 100% of success response. What do you think?
Ай бұрын
Nice! 👏
@federico-bi2wАй бұрын
Great! Thanks!
@SKNtiАй бұрын
Thanks always
@rahuldinesh2840Ай бұрын
The speed of retrieval and the Chinese characters doesn’t seem impressive.
@ZukoBronjaАй бұрын
👍
@loz644122 күн бұрын
This looks like an interesting topic, but simply reading slides is not a way to engage viewers!!!!! So I gave up after the first few slides and googled other sources.