|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIG. - Google AI > AIG. - AI Google Gemini Integration |
MiniRobotLanguage (MRL)
7. Helpers
Utility Functions for Data Processing
Overview
The Helper commands provide essential utility functions to prepare data for the AI or handle file operations. They handle encoding, string manipulation, and filename generation to ensure smooth integration with the core AI commands.
Available Commands
•AIG.FileToBase64 - Reads a file from disk and converts it into a Base64 string, ready for use with AIG.AskVision.
•AIG.FixUmlaut - Repairs UTF-8 encoding issues in text variables, useful when displaying AI responses that contain special characters.
•AIG.Generate UniqueFilename - Creates a non-colliding filename (e.g., Image_1.png, Image_2.png) to prevent overwriting existing files.