on-internet
← Community

Retrieval-Augmented Generation (RAG) and structured data

Stack Overflow ·

I'm experimenting with Retrieval-Augmented Generation (RAG) systems and investigating how document chunking affects retrieval accuracy. One problem I'm interested in is handling structured data, particularly tables inside PDF documents. Consider the following table: ProductModelPriceLaptopX100$900PhoneP200$500TabletT300$350 When a document is split into smaller chunks based on token limits, the table headers and corresponding values can end up in separate chunks. For example, one chunk might contain: Product | Model | Price Laptop | X100 | $900 Phone | P200 | $500 Another chunk might contain:

Comments

Sign in or sign up to comment and upvote.

No comments yet.