
.png&w=3840&q=75)
In the second part of this series, we move beyond model training and bring our fine-tuned Microsoft Phi-1 to life. This article focuses on query generation, safe SQL execution, and building a Flask-based API that allows real-time interaction with financial databases.

.png&w=3840&q=75)
In today’s data-driven world, being able to query databases with natural language is becoming increasingly valuable. Imagine simply typing: “Show me the total interest income of Kumari Bank in April 2022” and instantly receiving a valid SQL query (and even the corresponding chart!) — no manual SQL writing required.