Data Preparation for ML and AI

A RAG corpus contains multipage pricing tables with column headers on the first page and unit definitions in table notes. Each table exceeds the embedding input limit, but queries require individual product prices with correct units. Which preparation strategy BEST preserves retrievable meaning within the limit?

Show the answer

Correct answerC. Split tables into row groups, attaching relevant headers and unit definitions to each group.

AWhy not this: Truncation drops rows or notes beyond the input limit, making some prices unavailable.

BWhy not this: Category summaries and averages discard the individual product prices needed by queries.

CWhy this is right: Bounded row groups retain exact prices and carry the labels and units needed to interpret them.

DWhy not this: Page boundaries can separate prices from their headers and unit definitions.

Row groups with relevant headers and unit definitions preserve the context needed to interpret individual prices while respecting the input limit. Page-based splitting can leave later rows disconnected from their headers and units.