Query Decomposition and Augmentation (RAG)

  Рет қаралды 120

Ryan & Matt Data Science

Ryan & Matt Data Science

Күн бұрын

Пікірлер: 2
@ashmit155
@ashmit155 Ай бұрын
Sorry if i got this wrong but shouldnt query decomposition result in worse results? The whole point behind the transformer model was attention to detail i.e get results and weights of a word according to all the other words/tokens making the model understand (Predict) the next token much more accurately. With query decomposition we are breaking the query and selecting the the result for each query with the highest probability from the database , but shouldnt that result in an output which is not closely related to the other queries? Also would love a hands on rag coding series to understand this more Thanks!
@MattPayne-b2c
@MattPayne-b2c Ай бұрын
Hey! I'm covering it a bit more in the next vid for the series, but here's a short description that I was hoping this vid made clearer: With the model focuses in on the semantic similarity between queries and documents, when you have queries that have multiple key topics, they bog each other down when comparing to document chunks. These models look at the entire sentence vector embedding from the query, not individual words. So having multiple topics or ideas means that when comparing to a document that only has one topic you get a lower similarity score. It's no longer a one to one between the two sides, as there is now another topic or idea in the query.
Query Decomposition and Augmentation with Langchain (Part 2)
34:03
Ryan & Matt Data Science
Рет қаралды 84
PGVector: Turn PostgreSQL Into A Vector Database
20:04
NeuralNine
Рет қаралды 6 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
2025 Data Analyst Roadmap (Land A Job!)
13:17
Ryan & Matt Data Science
Рет қаралды 4,3 М.
The Best RAG System On YouTube (Steal This!)
18:36
Nate Herk | AI Automation
Рет қаралды 15 М.
I created my own Executive Assistant using an AI Agent
7:32
Relay (relay.app)
Рет қаралды 1,3 М.
Advanced RAG: Combining RAG with Text-to-SQL
15:08
LlamaIndex
Рет қаралды 7 М.
What are AI Agents?
12:29
IBM Technology
Рет қаралды 1 МЛН
Best of CES 2025
14:50
The Verge
Рет қаралды 556 М.
2025 Data Science Roadmap (Land A Job!)
11:16
Ryan & Matt Data Science
Рет қаралды 623
Day in the Life of a Data Analyst (Work From Home) | *Realistic*
9:05
Coding with Dee
Рет қаралды 208 М.
Everything You Need to Know About Vector Databases for AI Agents
27:21
Devin Kearns | CUSTOM AI STUDIO
Рет қаралды 9 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН