Hacker News new | ask | show | jobs
by edmundsauto 664 days ago
How does the AI know about things like other tables? Does it have some basic knowledge of Metabase’s link structure so it can navigate to a listing of all tables, then pulls context from there for in-context learning while writing the query?

Anecdotally, my hardest problems w/ nl2sql are finding the right tables and adding the right filters.

1 comments

Yep! MinusX uses Metabase APIs to pull relevant tables, schema, & dashboards to construct the context for your instruction.

> Anecdotally, my hardest problems w/ nl2sql are finding the right tables and adding the right filters.

Totally! especially in large orgs with thousands of tables. Using your existing dashboards and queries, gives useful context on picking the right tables for the query.