Posts by Mimoune Djouallah

Mimoune Djouallah

Mimoune Djouallah

Microsoft Fabric CAT team

Mimoune "Mim" Djouallah, a former Construction Planner, has been a member of the Microsoft Fabric CAT team since December 2023. Holding a BSc in Civil Engineering, he's been deeply involved with the Power BI stack since 2016. An early adopter of Fabric, Mim actively blogs about Python notebooks, GIS, and various data engines that integrate with Onelake.

5:00 pm - 5:30 pm

LLMs + Semantic Models = Smarter SQL

Getting accurate Text-to-SQL results isn’t magic, you need two things: smarter language models and a clear semantic model that explains what your data actually means. LLMs are getting better at understanding natural language, but without structure, they still tend to guess or hallucinate. To explore this, I built a small experiment using a local DB setup, a semantic layer over a typical dataset , and a set of benchmark questions. I tested different models like o3-mini , Qwen3 to see how well they generate SQL when given proper context. The big takeaway? With the right metadata, even smaller local models can do surprisingly well, and running accurate Text-to-SQL on everyday hardware isn’t just possible, it’s only a matter of time.

;