caesarHQ / textSQL

https://censusgpt.com
MIT License
1.55k stars 157 forks source link

Generating new context examples and metadata with BYOD #128

Closed ianclim closed 1 year ago

ianclim commented 1 year ago

Is there a way to automatically generate in context example data to replace the existing example data from the census data? I'm trying to load in my own dataset but running into issues with generating the SQL query which, I believe, is being caused by the existing JSON example data and examples pointing to census data even when I've loaded in a new dataset.

Update: I was able to update the table_metadata.json file by hitting the /tables endpoint, but still wondering if there's any easier way to generate in-context_examples.