Demystifying SELF-RAG: A Comprehensive Guide with Examples (Exclusive on LlamaIndex!)

  Рет қаралды 1,370

TwoSetAI

TwoSetAI

Күн бұрын

Пікірлер: 3
@briancase9527
@briancase9527 8 ай бұрын
So, training the model brings up the same problem we've had before: how to extract useful training data from things like PDF files. I still maintain that it is absolutely necessary to obey the document structure (at a minimum) to extract useful keys (blobs that will be embedded and then stored in the vector database). Your later video that talks about extracting summaries and embedding those as keys in the database applies here, I think. It shouldn't be all that difficult to create some good heuristics that can handle different type of, say, PDF files: some are papers, some are books. A book has less obvious structure (e.g., numbered headings) than an academic paper (we hope :), so these two types, at least, should be handled differently. Creating snippets of text to embed from a book is possibly a much more difficult task. I guess if we have an LLM with a big enough context, we could present the entire book to the LLM and ask it to generate snippets of text to use as keys. For example, "give me some summaries of the main characters in the book. What are their names, their genders, their main activities, their relationships to other characters, and so forth."
@AngusLou
@AngusLou 5 ай бұрын
I don't really see the benefit over recent RAG development such as sub-document summary as metadata with each chunk for retrieval.
@MehdiAllahyari
@MehdiAllahyari 5 ай бұрын
Even if you use sub-document as metadata, it may not work, since you don't do the reflection/critique which is very important.
RAG But Better: Rerankers with Cohere AI
23:43
James Briggs
Рет қаралды 62 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 37 МЛН
Happy birthday to you by Secret Vlog
00:12
Secret Vlog
Рет қаралды 6 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 3,6 МЛН
The Best RAG Technique Yet? Anthropic’s Contextual Retrieval Explained!
16:14
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
RAG for long context LLMs
21:08
LangChain
Рет қаралды 38 М.
GraphRAG: LLM-Derived Knowledge Graphs for RAG
15:40
Alex Chao
Рет қаралды 125 М.
LightRAG: A More Efficient Solution than GraphRAG for RAG Systems?
19:49
Prompt Engineering
Рет қаралды 32 М.
RAG vs. Fine Tuning
8:57
IBM Technology
Рет қаралды 55 М.
Self-Reflective AI: Self-RAG for Multi-AI-Agents explained
40:24
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 86 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 37 МЛН