Meet KAG: Supercharging RAG Systems with Advanced Reasoning

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 53

  • @engineerprompt
    @engineerprompt  3 дні тому +5

    If you are interested in learning more about Advanced RAG systems, checkout my RAG Beyond Basics Course: prompt-s-site.thinkific.com/courses/rag

  • @SullyOrchestration
    @SullyOrchestration 3 дні тому +8

    I've tried this and unfortunately it's way too slow (30 seconds for a query with a 2 sentence output!) and does not produce its 'logical form solver' transparently enough. We don't know what chunks were retrieved or from where. Unfortunately it's still quite a way from being usable in a practical app.

    • @KoteikiJan
      @KoteikiJan 3 дні тому

      It depends on the use case! Sometimes it's acceptable to wait a few minutes, or maybe even hours.

  • @kai_s1985
    @kai_s1985 День тому +1

    nice. wondering if we can use this on groq platform to speed things up?

  • @u007james
    @u007james 3 дні тому +5

    how does continual update works with kag

    • @xt3708
      @xt3708 3 дні тому +3

      Same q!!

  • @IamalwaysOK
    @IamalwaysOK День тому

    Is there any way to use "Medical Information Extraction" instead of OpenIE?

  • @ai_handbook
    @ai_handbook 3 дні тому

    Very nicely explained, congrats mate! 👏👏👏

  • @zhalberd
    @zhalberd 23 години тому

    Thank you for this video. Please make a follow up on how to build this. 🙏🏻

  • @RodCoelho
    @RodCoelho 14 годин тому

    How does it compare with light RAG? Is it Better?

  • @eshandas3645
    @eshandas3645 2 дні тому

    Can graph rag establish logical connection between them..

  • @abdshomad
    @abdshomad 2 дні тому

    How is it compared to llm-graph-builder from neo4j?

    • @engineerprompt
      @engineerprompt  День тому +1

      wasn't aware of it. Will need to check it out.

  • @donb5521
    @donb5521 2 дні тому +3

    The premise of Knowledge Augmented Generation is promising, but the current KAG code bases failed to deliver today. The TLDR version is that ultimately I saw no notes or edges created in Neo4j. Even weirder is that in spite of there being no graph it was still giving me results in the UI. (the UI is not open source and appears to be locked down)
    Ultimately the config needs to become more solid and consistent -- and there needs to be agreement between the OpenSPG/openspg and OpenSPG/KAG development teams on whether Ollama is supported.
    An odd mix of Java and Python. Hopefully this gets straightened up soon.
    Prompt Engineering... Normally love your stuff. What would be helpful as a starting point is a Jupyter Notebook from OpenSPG that walks through (and validates) the pipeline step by step. A follow-up would be a reproducible and well documented evaluation against other solutions - LazyGraphRAG, LightRAG / nanorag, etc.

  • @patruff
    @patruff 3 дні тому +10

    Not to be confused with CAG

    • @coom07
      @coom07 3 дні тому

      I got confused 4 a second. Thanks buddy❤

    • @andydataguy
      @andydataguy 3 дні тому

      🤣🤣

  • @NevilHulspas
    @NevilHulspas 3 дні тому +10

    Tried it. It's quite slow for answering simple queries. Also indexing about 20 pages in a PDF took about 300k tokens, which is still quite cheap with DeepSeek, but it seems a lot. Indexing also took like an hour or something. User interface is partly chinese, quite a bit of bugs. Seems unfinished.
    Answers that we're outputted were mostly correct though

  • @tirushv9681
    @tirushv9681 3 дні тому +1

    What do you think about Colpali vs KAG? which is the best?

    • @tirushv9681
      @tirushv9681 3 дні тому

      I feel Colpali performs well with accuracy and cost effective. Because image retrieval is from Colpali and we host it. Thoughts?

    • @MrAhsan99
      @MrAhsan99 3 дні тому

      @@tirushv9681 Is there anyone providing the api for colpali usage? I want to use this in my app. Want to give access via api to limited users/

  • @davidjourno6929
    @davidjourno6929 3 дні тому

    What about combining KAG and SPARQL ?

  • @RohitSharma-uw2eh
    @RohitSharma-uw2eh 2 дні тому

    Why hindi audio track is not available

    • @stefanmisic7405
      @stefanmisic7405 День тому

      why would we need hindi audio??

    • @RohitSharma-uw2eh
      @RohitSharma-uw2eh День тому

      @stefanmisic7405 because youtube add audio track feature is available.may we more enjoy like that mr beast videos

  • @Alex-rg1rz
    @Alex-rg1rz 3 дні тому

    very interesting! thanks

  • @DocRekd-fi2zk
    @DocRekd-fi2zk День тому

    Is this based on rdf?

  • @sanjaybhatikar
    @sanjaybhatikar 3 дні тому

    It is the ReAct prompting with graph backend

  • @rishavranaut7651
    @rishavranaut7651 3 дні тому +1

    All these things still in infancy stage to be used in real use cases, ..will take time to match up with traditional RAG

    • @engineerprompt
      @engineerprompt  3 дні тому

      I agree! I am happy to see the progress and the research in retrieval. Retrieval is still one of the most useful applications of the LLMs.

  • @matiasm.3124
    @matiasm.3124 3 дні тому +1

    Nice can you do the one in python using all local services/llm please.

  • @surajjaiswal1371
    @surajjaiswal1371 3 дні тому +1

    What is better KAG or Agentic RAG?

    • @engineerprompt
      @engineerprompt  3 дні тому +1

      You can use KAG as a tool for an agent to do retrieval.

    • @surajjaiswal1371
      @surajjaiswal1371 3 дні тому

      @@engineerprompt Like the agent part in the Agentic RAG?

    • @engineerprompt
      @engineerprompt  3 дні тому

      @@surajjaiswal1371 exactly. RAG is just a tool that will be available to your agent.

    • @surajjaiswal1371
      @surajjaiswal1371 3 дні тому

      @@engineerprompt Okay, thanks!

  • @maniecronje
    @maniecronje День тому

    Thank you for sharing great tutorial …reading from others comments it looks like the model is slow with responses which prevented me trying it but nevertheless informative nonetheless thanks 🙏

  • @beppemerlino
    @beppemerlino 3 дні тому

    amazing!

  • @qadeer.ahmad123
    @qadeer.ahmad123 3 дні тому +1

    There is also CAG (Cache-Augmented Generation) much more faster.

  • @ankitgadhvi
    @ankitgadhvi День тому

    Very helpful tutorial for setup and good explanation on KAG systems however I used it and did not like the answers. it takes too long to give the answers and the answer are not good. also too much time needed to make embeddings from the chunks.

  • @sanjaybhatikar
    @sanjaybhatikar 3 дні тому +1

    Another day, another -ag 😂

  • @Sri_Harsha_Electronics_Guthik
    @Sri_Harsha_Electronics_Guthik 3 дні тому

    need python version

  • @JNET_Reloaded
    @JNET_Reloaded 3 дні тому

    i notice it tries to use mysql i already have mysql and that default port ofc is in use this is bs! use sql lite or something like a file thats separate from a server and dont require ports ffs!

  • @JoeCryptola-b1m
    @JoeCryptola-b1m 21 годину тому

    No FAG? Fetched Augmented Generartion relax everyone. Uses internet fetch over docs that's why it's FAG not RAG

  • @JNET_Reloaded
    @JNET_Reloaded 3 дні тому +1

    I would NOT reccomend this bs at all! terrable!

    • @matiasm.3124
      @matiasm.3124 3 дні тому

      @@JNET_Reloaded why ??? Explain

    • @iftekharshaikh7222
      @iftekharshaikh7222 3 дні тому +2

      @@matiasm.3124 they have basically being using SQL in the backend and the biggest problem with the Graph based approach is that it adds an LLM in between that increases cost and decreases speed in the indexing process and on top of that they are using 2 LLMs for indexing so double the cost and slower the speed also in the retrieval process they have query decomposition using NLP and stuff the chunk retrieval process is slower than usual as they are also using an LLM in the middle so this approach might get you the best results and relevance uptill now but it will come with high costs and slower speed as another person said that yiu have to wait 30 seconds for a single answer that too was not complicated so there is no practical use for this

  • @SonGoku-pc7jl
    @SonGoku-pc7jl 3 дні тому

    kag waw! i try project with mypufd4llm, is posible combination with this?