Pinterest, Engineering, Gen Ai Tools, Text To Sql, Querybook.
an analytical question, choosing the tables to be used. The relevant table schemas are retrieved from the table metadata store. The question, selected SQL dialect, and table schemas are compiled into a Text-to-SQL prompt. The prompt is fed into the LLM. A streaming response is generated and