|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.AskEdit |
Top |
MiniRobotLanguage (MRL)
AIC.AskEdit
OpenAI Edit API - Edit text with instructions
Intention
The AIC.AskEdit command uses OpenAI's Edit API to modify text based on instructions. Provide the original text and editing instructions to get a revised version.
Syntax
AIC.AskEdit|$$Input|$$Instruction[|$$RetVar]
P1 - $$Input - The original text to edit
P2 - $$Instruction - Instructions for how to edit the text
P3 - $$RetVar (optional) - Variable to store the edited text
Example
' Fix grammar in text
AIC.AskEdit|She don't like apples.|Fix the grammar|$$Fixed
DBP.$$Fixed
' Change tone of text
AIC.AskEdit|Hey, this product is bad. Make it better.|Make this more professional|$$Result
DBP.$$Result
Related Commands
- AIC.Ask - General chat
- AIC.AskCompletion - Completion API