search_catalog
Find where a number lives before writing SQL. Searches warehouse tables, columns, metrics and manifest values, expanding synonyms and ranking hits by a lexical index.
Instructions
Search the catalog of the three warehouses for tables, columns, metrics and published manifest values, ranked by a lexical index after the query is expanded through the synonym table (house price finds value_anchored). Returns the expanded query and up to k hits (at most 20), each with its unit and one definition sentence. Pass kind to search one kind only (definition finds the entries of each build's definitions document). Use it to find where a number lives before writing SQL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| kind | No | ||
| query | Yes | ||
| warehouse | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| query | Yes | ||
| expanded | Yes | ||
| statement | No | Answers are drawn from the published tables of three portfolio builds by Ajay Mekala: doorstep (public housing data from FHFA, the Census Bureau, HUD, the CFPB and Freddie Mac), turnaround (public flight data from the Bureau of Transportation Statistics, the FAA and OurAirports, with weather from Open-Meteo under CC BY 4.0) and ledger (a fictional bank, Harborline, with public HMDA, CFPB, FDIC and macro series). No person appears in any table, and questions are redacted before a model sees them. Every number is read back to the warehouse before it is shown. This is a portfolio demonstration, not financial, travel or lending advice. |