Stop Paying for Microsoft GraphRAG! This Alternative is 10x Cheaper

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 34

  • @awakenwithoutcoffee
    @awakenwithoutcoffee 4 หลายเดือนก่อน +6

    really cool! maybe this is an old technique but what if we use traditional RAG but add another layer of meta-data entity generation, generating meta-data per semantic chunk which we would than prioritize with filter **before** doing vector search (kind of hybrid-RAG I guess).

  • @SciPhi-AI
    @SciPhi-AI 4 หลายเดือนก่อน +9

    Someone just shared this in our Discord and we wanted to stop by and say thanks @mervin for taking the time to record this awesome video!

  • @andrepemmelaar8728
    @andrepemmelaar8728 3 หลายเดือนก่อน

    Love this guys content. Truly useful stuff!

  • @MrMoonsilver
    @MrMoonsilver 4 หลายเดือนก่อน +4

    In the first example with San Francisco who defined the entity and predicate types (such as 'Location' for entity and 'population' for predicate)? It seems like the definition of these was not automated, but maybe I'm missing something.
    In your second example it looked like the types were defined by the system, which makes sense because defining it manually would be impossible.

  • @shawnkratos1347
    @shawnkratos1347 4 หลายเดือนก่อน

    Awesome. Can’t wait to try this out.

  • @armans4494
    @armans4494 4 หลายเดือนก่อน

    As always wonderful video and very informative. I learn so much from your videos

  • @42svb58
    @42svb58 3 หลายเดือนก่อน +1

    Great video but the real question is where are the models that generate graph models?

  • @Alex29196
    @Alex29196 4 หลายเดือนก่อน

    Great video Mervin. Now waiting for your next video!.

    • @0xfarai
      @0xfarai 4 หลายเดือนก่อน

      May I suggest you go use the knowledge to build something in the meantime.

  • @AIlearner-p6k
    @AIlearner-p6k หลายเดือนก่อน

    @Mervin: Thanks for a great video. Am I right to assume that this toolkit can theoretically be deployed locally? (as long as your embedding and LLM models are also available)? What would be the vGPU limitation here?

  • @MariuszKen
    @MariuszKen 4 หลายเดือนก่อน +1

    ( polish ) Jak uważasz- czy lepiej stworzyć zarówno grafy wiedzy jak i wektory? Czy po prostu grafy wiedzy są o wiele lepsze od wektorów? Istnieje coś oprócz tych dwóch metod?

  • @emmanuelkoupoh7979
    @emmanuelkoupoh7979 หลายเดือนก่อน

    Hey, thanks for your work.
    Is there a way to extract all the existing entities?

  • @jeffsteyn7174
    @jeffsteyn7174 4 หลายเดือนก่อน +5

    Is Neo4j only for visualization? I thought it was a db.

    • @xmagcx1
      @xmagcx1 4 หลายเดือนก่อน

      it s a ghrap db

    • @22prajwalgaikwad61
      @22prajwalgaikwad61 4 หลายเดือนก่อน

      hey i am getting an error while running "r2r ingest-files test.txt" the error says " raise R2RException(
      r2r.base.abstractions.exception.R2RException: An error 'Max retries reached. Last error: ' occurred during ingest_files_app
      "

  • @augmentos
    @augmentos 3 หลายเดือนก่อน

    love your vids
    j

  • @janalgos
    @janalgos 4 หลายเดือนก่อน

    can you show the application of this for working on large code bases?

  • @prometheuswillsurvive3700
    @prometheuswillsurvive3700 3 หลายเดือนก่อน +2

    is there any guide document how to use r2r for this ? it gives error both:
    r2r --config-name=local_neo4j_kg serve --docker --docker-ext-neo4j
    Usage: r2r serve [OPTIONS]
    Try 'r2r serve --help' for help.
    Error: No such option: --docker-ext-neo4j (Possible options: --docker, --exclude-neo4j)
    OR
    r2r --config-name=local_neo4j_kg serve --docker --exclude-neo4j true
    Traceback (most recent call last):
    File "/home/redel/Projects/RAG/venvR2R/bin/r2r", line 8, in
    sys.exit(main())
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/r2r/cli/cli.py", line 44, in main
    cli()
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/click/decorators.py", line 45, in new_func
    return f(get_current_context().obj, *args, **kwargs)
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/r2r/cli/commands/server_operations.py", line 205, in serve
    run_docker_serve(
    File "/home/redel/Projects/RAG/venvR2R/lib/python3.10/site-packages/r2r/cli/utils/docker_utils.py", line 104, in run_docker_serve
    R2RBuilder.CONFIG_OPTIONS[obj["config_name"] or "default"]
    any fix

  • @murilocurti1474
    @murilocurti1474 4 หลายเดือนก่อน

    Would be nice to see it with networkX

  • @riyajatar1311
    @riyajatar1311 2 หลายเดือนก่อน

    do we need to pass entity type and relationship ?

  • @agimadesimple
    @agimadesimple 3 หลายเดือนก่อน +7

    anyone who faced this ??
    r2r --config-name=local_neo4j_kg serve --docker --docker-ext-neo4j
    Usage: r2r serve [OPTIONS]
    Try 'r2r serve --help' for help.
    Error: No such option: --docker-ext-neo4j (Possible options: --docker, --exclude-neo4j)

  • @Cingku
    @Cingku 4 หลายเดือนก่อน +1

    I tried it but it needs the entities name specified and I can't find the list of whole entities and predicates named supported. So cannot use to extract triplets for my use case with animal and plants documents. It sure not supported entity name like "plant", "or animal" and so on hence when I do it, it return the empty output. The model does not know what is it. But it's different with Microsoft graphrag because it detects automatically the triplet entity name and predicate name.

    • @AIlearner-p6k
      @AIlearner-p6k หลายเดือนก่อน

      did you figure it out or went with a different approach? I am supposing SciPhi triplex seems to be open source, could it not be tweaked?

  • @derhoc
    @derhoc 4 หลายเดือนก่อน +2

    Couldn’t we just use gpt-4o mini? That should reduce the cost by 50-60%?

    • @курв-ь4ь
      @курв-ь4ь 4 หลายเดือนก่อน +1

      But if GPT-4o sucks at it GPT-4o mini would really suck lol

  • @chirwatra
    @chirwatra 4 หลายเดือนก่อน

    Does it work with any languages?

    • @MervinPraison
      @MervinPraison  4 หลายเดือนก่อน

      You might need to fine tune further for it to work for languages

  • @kgro353
    @kgro353 3 หลายเดือนก่อน

    After actually using it, the performance is significantly lower compared to Microsoft's, and it is practically useless for non-English documents.

  • @22prajwalgaikwad61
    @22prajwalgaikwad61 4 หลายเดือนก่อน

    File "C:\Users\prajw\AppData\Local\Programs\Python\Python312\Lib\site-packages
    2r\main\api\client.py", line 56, in handle_request_error
    raise R2RException(
    r2r.base.abstractions.exception.R2RException: An error 'Max retries reached. Last error: ' occurred during ingest_files_app
    i am getting this error after r2r ingest-files data.txt
    could you please help