Get answers from tables with tabular search in Amazon Bedrock Managed Knowledge Base
In one sentence
Amazon Bedrock Managed Knowledge Base now supports tabular search, running sandboxed code over entire table files and combining results with document facts via agentic retrieval.
Key points
- Amazon Bedrock Managed Knowledge Base now supports tabular search, enabling full-table lookups and calculations across CSV, XLSX, or XLS files combined with document facts.
- Unlike plain RAG that loses information when splitting long or wide tables into passages, tabular search runs model-written code over the entire original file in an isolated sandbox.
- Built into AgenticRetrieveStream requests with nothing to turn on, it works across connectors like Amazon S3, Microsoft SharePoint, and Atlassian Confluence.
- Running code adds at least one extra agent turn and latency compared to text-only answers, and it does not replace BI tools for governed metrics or warehouse-scale joins.
In depth
An AI-written overview of the original article, not the article itself.
AWS announced that Amazon Bedrock Managed Knowledge Base now supports tabular search via agentic retrieval. The feature enables applications to answer multi-step analytical questions by running calculations across entire CSV, XLSX, or XLS files and combining the results with facts from related documents.
Why standard retrieval struggles with tables
Standard Retrieval Augmented Generation splits tables into fixed passages, which breaks table structure. Long tables with thousands of rows get truncated, leading to incomplete totals or comparisons, while wide tables with hundreds of columns can exceed model limits and push relevant results out.
Additionally, questions often use business terms that do not match raw table codes, and the rules giving numbers meaning frequently reside in separate policy documents.
How tabular search works
Tabular search is built into the AgenticRetrieveStream API and requires no separate activation, whereas the standard Retrieve API still returns only passages. When a question needs table data, retrieval first locates the relevant table file.
The agent then copies the original file into an isolated sandbox without network access, where model-written code runs over the entire table or sheet. Only the printed results are returned to the agent, which combines them with document passages to generate an answer with citations and a trace naming the read file.
Compatibility and trade-offs
The feature works without defining a schema across supported connectors, including Amazon S3, Microsoft SharePoint, and Atlassian Confluence.
Because running code adds at least one extra agent turn, tabular search takes longer than text-only queries. AWS notes that governed metrics, recurring dashboards, and warehouse-scale joins still belong in dedicated business intelligence tools.
This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.