The updated prompt adds more detailed and clarified instructions within the script, including specifications about how dictionary content should be handled, and more examples. Unused question and answer examples have been removed. Additional rules regarding dictionary content and OCR text recognition have been included.
The .gitignore file has been updated to include two new ignore patterns. These alterations help to ignore all 'out.' files with any extension and any file with '.old.' in its name. This ensures that temporary or backup files do not get included in the repo unintentionally.
Implemented optical character recognition (OCR) in the image_to_anki function to vastly enhance performance. Additionally, allowed batch processing of images via explicitly specified batch size in command-line arguments