|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.AskVision |
Top |
MiniRobotLanguage (MRL)
AIC.AskVision
Vision/GPT-4V - Analyze images
Intention
The AIC.AskVision command sends an image to GPT-4 Vision (GPT-4V) for analysis. The AI can describe images, read text from images, analyze charts, and answer questions about visual content.
Syntax
AIC.AskVision|$$ImagePath|$$Prompt[|$$RetVar]
P1 - $$ImagePath - Path to image file (JPG, PNG, GIF)
P2 - $$Prompt - Question about the image
P3 - $$RetVar (optional) - Variable for response
Example
' Analyze an image
AIC.AskVision|C:\Photos\image.jpg|What is in this image?|$$Description
DBP.$$Description
' Read text from image
AIC.AskVision|C:\Docs\screenshot.png|Extract all text|$$Text
Related Commands
- AIC.SetVisionModel - Set vision model
- AIC.GenerateImage - Generate images