AIC. - Artificial Intelligence Command

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC. - Artificial Intelligence Command

AIC.SetFormat

Top


MiniRobotLanguage (MRL)

 

AIC.SetFormat

Set output format for responses

 

Intention

 

The AIC.SetFormat command sets the output format for AI responses. This can be used to request specific formats like JSON, markdown, or plain text from the AI model.

 

Syntax

 

AIC.SetFormat|$$Format

 

P1 - $$Format - Output format (json, text, markdown, etc.)

 

Example

 

' Request JSON format response

AIC.SetFormat|json

AIC.Ask|List 3 colors with hex codes|$$Result

 

' Request markdown format

AIC.SetFormat|markdown

AIC.Ask|Create a table of contents|$$Result