I have been working on a plugin to create #Moodle reports with SQL. It has an optional component to use an external LLM to generate the #SQL based on the database schema and type i.e. #Mysql & #PostgreSQL
I have found that relatively small models such as GPT OSS 20B are quite effective. I
