Moodle for the pre-literate/Image For AI

Moodle for the pre-literate/Image For AI

by Marcus Green -
Number of replies: 1

I propose the creation of Moodle code that makes it easy to input drawing e.g. handwriting or drawing and for that to be processed by an external AI. In combination with audio, this could open up Moodle to pre-literate children. For example e.g. audio that says “draw a flower”, and the prompt asks if the drawing is anything like a flower and to generate a text or audio response.  

I have experimented with the Question bank questiongen plugin as updated by 

ISB Bayern - ByCS Lernplattform

https://github.com/bycs-lp/moodle-qbank_questiongen

And was very impressed with how AI/LLM systems can extract images from text and I also experimented with using AI to extract text from my own hand writing. I have looked at various javascript “signature” libraries that seem to do a good job of taking stylus (or similar) input.

My specific use case is my AI Text plugin for maths symbols, I can also imaging the STACK question type being adapted for it. I was also thinking of it as a generic library to be used by other plugins.

The processing would be controlled by a configurable prompt, for example maths symbols could be converted to LayTex and then undergo additional processing.This would be at its best with Stylus input of course. The code could take the form of a new form element e.g.

$mform->addElement(‘imageforai’,’calculationanswer’,’Calculation Answer’);

Or perhaps it could be a TinyMCE button?

In reply to Marcus Green

Re: Moodle for the pre-literate/Image For AI

by Philipp Memmel -
Hi Marcus,

the tiny button you are looking for might already exist, have a look at https://moodle.org/plugins/tiny_ai smile
 
It's intended to exactly provide a solution for the use cases you are describing.
 
Only thing missing is a direct drawing/writing input (which is pretty difficult to make close to equally good as the input that tablets provide natively), but you can copy/paste your handwriting and it will extract the text. You can insert it into the editor with just one extra click. Customizing the prompt is also possible.
 
BTW: The tiny button is also available inside our chatbot (https://moodle.org/plugins/block_ai_chat)
 
Regards,
Philipp