Lädt …
Lädt …
Lädt …
Automation · the shelf
23 records in Automation. Pick one to read it.
1323
Amazon Bedrock knowledge bases can now run code over your spreadsheets
Automation
You are reading this one
What shipped A1
No audio. The needle follows your reading.
AutomationNo. 13 of 23
Tabular search lets a Bedrock Managed Knowledge Base answer questions from CSV and Excel files by running code over every row of the table.
Lädt …
On 16 November AWS published a post on tabular search, a new capability of Amazon Bedrock Managed Knowledge Base. It answers questions from table files in CSV, XLSX and XLS formats. The post is a mix of announcement and how-to. The first third describes the feature, and the rest walks through building a sample knowledge base with finance files.
The problem it targets is familiar. Retrieval augmented generation returns a fixed number of passages that best match a question. That works for prose. A table with thousands of rows spans many passages, so a total or a threshold check built from the few returned passages can be incomplete. A table with hundreds of columns has the opposite problem, because one row can hold more text than a search model takes in at once. The post also notes that a draft and a final workbook look almost the same to search, and that the rule giving the numbers meaning often sits in a separate policy document.
Tabular search splits the work. Retrieval only has to find the right table file. Code then reads the whole table. The post lists six stages. Retrieve returns passages, including some from a table file. Plan decides whether to run code over one or more of those tables. Stage copies the original file into an isolated sandbox with no network access. Compute runs model-written code over the whole table or sheet. Return hands the agent only what the code prints, such as totals or matching rows. Answer combines those results with the passages and adds citations.
There is nothing to switch on. It runs inside the existing AgenticRetrieveStream request. The Retrieve API still returns passages and does not run code. The post says it works with any connector that brings files in, naming Amazon S3, Microsoft SharePoint and Atlassian Confluence. You do not define a schema.
The worked example uses fictitious AnyCompany Retail files: a final and a draft profit and loss workbook, a variance policy PDF, a quarter-close memo in Word and a business review in Markdown. One question asks which departments must write variance commentary for fiscal Q3. The policy sets the threshold, the memo changes some budgets, and the workbook holds the numbers. The post says the answer is Sales, Engineering and Operations, and that Engineering crosses the threshold only because an approved cut lowers its budget. Plain retrieval, per the post, returns passages but no complete answer.
If you build this yourself, the post gives a few concrete requirements. You need Python 3.10 or later and Boto3 1.43.123 or later for the walkthrough. The knowledge base type is MANAGED with a managed embedding model. Set maxFileSizeInMegaBytes above your largest file, because larger files are not ingested and the code cannot read them. The calling identity needs permissions for agentic retrieval, including bedrock:GetDocumentContent, since the agent reads the original file with the caller's credentials. After the first sync, check that table passages carry a file type of CSV or MS_EXCEL. Tabular search can start only if that type is right.
The post also offers advice on questions. Pair one rule with one document and one table. Name the file when several versions exist. Ask for the calculation by name if you want it computed from detail rows, because a summary sheet may otherwise supply the figure. Build bigger analyses over several turns. Multi-turn conversations work, and the code runs in whichever turn needs the table.
Running code adds at least one more agent turn, so table answers take longer than text answers. The post says governed metrics, recurring dashboards, warehouse-scale joins and reporting controls still belong in your business intelligence tools. As of the post, code runs over CSV files up to 500 MB but over Excel sheets only up to 200 MB. Setting generateResponse to false returns retrieval results without running code.
On auditing, the generated code is not returned, by design, because it can echo cell values. The trace shows which files the code read and whether each code step succeeded or failed. Citations point to the passages used, so a table the code read may not appear among them.
The page does not give pricing for this feature beyond a pointer to Bedrock pricing, and it does not give answer latency or accuracy figures. The Region list is behind a link, so check it before you plan around this. The numeric answers in the post come from fictitious sample data, so they show the mechanism and say nothing about reliability on your files.
Who should care: teams that already keep spreadsheets beside policies in SharePoint or S3 and want one question to span both. A reasonable first test is one workbook and one policy where you already know the answer, with the trace open so you can confirm the right file was read.
If your spreadsheets live next to your policies, test one known question with the trace on. Keep dashboards and warehouse joins in BI tools, as the post advises.
Views are my own.
I write when I’ve learned something. Every piece is dated, so you can see the rhythm for yourself.