Duplicated from WebashalarForML/ImageDataExtractor
This is a backup run if mistral model fails to generate the output