Comment Comment by totalhack You are doing a lot of the work a semantic layer would do for you. I wonder if you would have better luck having the LLM talk to a semantic layer instead of directly to the database. parent totalhack 1 year ago