LightRAG: A More Efficient Solution than GraphRAG for RAG Systems?

  Рет қаралды 19,178

Prompt Engineering

Prompt Engineering

Күн бұрын

Пікірлер: 40
@kai_s1985
@kai_s1985 5 күн бұрын
Thanks so much! You are the best channel when it comes to RAG. Please keep informing us about the latest advancements in this field. I have played with GraphRag. It can be expensive if you have tons of data, but considering how cheap GPT-4o and GTP-4o-mini have become, the price is not the biggest concern at least for my use case. I processes more than a thousand page document with GPT-4o and it cost me cents. The biggest problem with MS GraphRag is the inference latency. It is not very practical if you want to build a chatbot based on this. Also, it is less customizable in my recent experience. Hope LightRag is better in terms of accuracy, customizability and inference speed.
@AndrewNanton
@AndrewNanton 5 күн бұрын
Pretty cool - if you do more with this, I'd love to see some experiements combining this with late chunking
@engineerprompt
@engineerprompt 5 күн бұрын
good idea, when I get time, I want to implement a system that combines all these different approaches together.
@hiranga
@hiranga 3 күн бұрын
@@engineerprompt Has anyone recreated this in LangGraph or LangChain JS ?
@johnkintree763
@johnkintree763 4 күн бұрын
It looks like the pipeline is modular, and could work with different vector and graph databases. In the future, users could rate the responses, so highly rated responses could be stored and retrieved when similar queries are made by other users. Retrieving highly rated responses could improve overall system performance compared with generating responses for every query. Apply fast thinking instead of slow thinking when possible.
@yvescourtois
@yvescourtois Күн бұрын
Great stuff, well done! I don't see any reason to use GraphRAG any more after that. I guess the technology will continue to surprise us, but the cost argument is powerful when you handle tons of data
@CAPSLOCK_USER
@CAPSLOCK_USER 5 күн бұрын
such a great channel, thanks for this guide, i was just about to implement a knowledge base!
@dawid_dahl
@dawid_dahl 4 күн бұрын
In a few years I suspect we will laugh at all these hacky RAG implementations as one will simply be able to dump everything into the context window and there will be some native mechanism to handle efficiency. What do you think?
@adegboyegaajenifuja1274
@adegboyegaajenifuja1274 4 күн бұрын
Or you just grant access to your document repositories and you're good to go
4 күн бұрын
Needle in haystack problem of big context Windows....
@BryantAvila
@BryantAvila 3 күн бұрын
To dump 10K documents each composed of at least 100 pages seems it will always be unrealistic. RAG of some sort will still be needed.
@dawid_dahl
@dawid_dahl 2 күн бұрын
@@BryantAvila Will be interesting to see how this comment ages over the comment years. (Or mine!)
@JoseAntonio-sn6sf
@JoseAntonio-sn6sf 13 сағат бұрын
nice video, I am just starting with RAGs, so sorry if my question is a little stupid, but if you spend 80k tokens running LightRAG, why the necessity to even implement a RAG when the book it self has 40k tokens? I mean wouldn't be easier to send the whole book to chatgpt?
@ahmadzaimhilmi
@ahmadzaimhilmi 4 күн бұрын
It costs me $0.02 per 10 page pdf document using openai api. I think it's pretty decent. Future improvements should also include storing all these json files in a database. Also, have you figured out how to get the reference chunks used to generate the response to the query?
@penguinmagehello
@penguinmagehello 3 күн бұрын
Mind sharing how/ which packages you use to split pdfs especially those with images?
@ahmadzaimhilmi
@ahmadzaimhilmi 3 күн бұрын
@@penguinmagehello google marker pdf to markdown
@trytry6569
@trytry6569 5 күн бұрын
Please please please make a video in which we can use it with our local models.
@engineerprompt
@engineerprompt 5 күн бұрын
on it :)
@trytry6569
@trytry6569 5 күн бұрын
@@engineerprompt Thanks man🙌
@johnkintree763
@johnkintree763 4 күн бұрын
​@@engineerpromptThe Zamba2 family of models looks interesting for running locally with lower latency and more tokens/sec output.
@guscastilloa
@guscastilloa 4 күн бұрын
How do you record your screen so that it follows your cursos? It’s super useful to follow along specially when reading papers! Kudos on this amazing expose of this methodology!
@dylanmoraes990
@dylanmoraes990 2 күн бұрын
It's a video editing app called screen studio on mac
@RickySupriyadi
@RickySupriyadi 5 күн бұрын
wow so many RAG system this year already
@engineerprompt
@engineerprompt 5 күн бұрын
Yup, its hard to track but nice to see the different ideas that are coming up.
@ai_dart
@ai_dart 5 күн бұрын
Good Info
@mclachan
@mclachan 2 күн бұрын
Have you tested it on structured data?
@muhammadshafiqsafian6149
@muhammadshafiqsafian6149 4 күн бұрын
how can i view the algo flowchart? a bit complex to understand
@remusomega
@remusomega 4 күн бұрын
Graphs solve the problem of chunk embeddings being de-contextualized. Late Chunking solves this problem. I think we need to re-consider the use cases for GraphRags.
@syedsaifullahtarique
@syedsaifullahtarique 4 күн бұрын
How to create LightRAG object inside dicken folder
@dawid_dahl
@dawid_dahl 4 күн бұрын
Thanks for the really great video, by the way.
@ashgtd
@ashgtd 5 күн бұрын
great video thank you
@axelwehmeyer9599
@axelwehmeyer9599 5 күн бұрын
cool. Is there an implementation for Groq-API like gpt_4o_mini_complete-API in LightRAG? How can i use a GUI-Chatbot for LightRAG, e.g. chainlit/streamlit/...? thx
@engineerprompt
@engineerprompt 5 күн бұрын
I think there are a couple of PRs for other models. Not sure about the GUI
@ingenierofelipeurreg
@ingenierofelipeurreg 5 күн бұрын
Which of all RAG is cost effective and quality better?
@engineerprompt
@engineerprompt 5 күн бұрын
Its a hard question to answer. It will really depend on the task at hands. If you think its just search/looking up information, may be a standard RAG. If there are relationships between objects/entities then may be a knowledge graph.
@Jvo_Rien
@Jvo_Rien 5 күн бұрын
thank you :)
@AhmedMagdy-ly3ng
@AhmedMagdy-ly3ng 2 күн бұрын
Hey 👋 I'm one of the most exciting fans of you and I have the opportunity to come to India I wish I can see you and have a conversation.. Please 🥺🙏
@akshatgandhi7958
@akshatgandhi7958 5 күн бұрын
Thanks
@themax2go
@themax2go 5 күн бұрын
so essentially they implemented triples / triplets (sciphi/triplex) 🤔
@engineerprompt
@engineerprompt 5 күн бұрын
pretty much :)
Living off Microsoft Copilot
42:06
Black Hat
Рет қаралды 21 М.
Graph RAG: Improving RAG with Knowledge Graphs
15:58
Prompt Engineering
Рет қаралды 69 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 10 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 33 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 15 МЛН
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Does Deno 2 really uncomplicate JavaScript?
8:55
Beyond Fireship
Рет қаралды 387 М.
It's Not About Scale, It's About Abstraction
46:22
Machine Learning Street Talk
Рет қаралды 58 М.
I Forked Bolt.new and Made it WAY Better
19:28
Cole Medin
Рет қаралды 33 М.
Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)
20:19
Cole Medin
Рет қаралды 171 М.
New “Liquid” Model - Benchmarks Are Useless
9:39
Matthew Berman
Рет қаралды 47 М.
GraphRAG: The Marriage of Knowledge Graphs and RAG: Emil Eifrem
19:15
Data Analysis with Python for Excel Users - Full Course
3:57:46
freeCodeCamp.org
Рет қаралды 2,6 МЛН
I Didn’t Believe that AI is the Future of Coding. I Was Right.
6:55
Sabine Hossenfelder
Рет қаралды 461 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 10 МЛН