Imagine i have a SaaS product for POS. It includes products, their sales, transactions. For that product i'm using MySQL. Now i want to implement AI for our product. The idea is to have language model, which would use our MySQL database for answers. Customer would be able to ask how many sales he got last week. It shouldn't query data directly from the database, because it would take too much time. What solution would you recommend for that? There should be exactly 5 paragraphs separated by the markdown divider: ***.
user