Skip to content

Materials of the RAG decomposition blog post on how to break down tables into better chunk formats, improving retrieval.

Notifications You must be signed in to change notification settings

moretticb/rag-and-tables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG and tables

Reproducible materials from the RAG decomposition blog post on how to break down tables into better chunk formats, improving retrieval.

Setup

Make sure to have poetry installed and install the project dependencies:

poetry install

Running the experiment

Run run_experiment.sh:

cd experiment
poetry run ./run_experiment.sh

It will generate all chunks from the three approaches (decomposition, raw parsing with PyPDF and reverse engineering), calculate the embeddings and generate the final plot for comparisons.

Refer to the contents of run_experiment.sh to separately run parts of this process.

About

Materials of the RAG decomposition blog post on how to break down tables into better chunk formats, improving retrieval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published