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.SetSystemPrompt

Top


MiniRobotLanguage (MRL)

 

AIC.SetSystemPrompt

Set system prompt/behavior

 

Intention

 

The AIC.SetSystemPrompt command sets the system message that defines the AI's behavior, personality, and constraints. This sets the context for all subsequent conversations.

 

Syntax

 

AIC.SetSystemPrompt|$$Prompt

 

P1 - $$Prompt - System instructions for the AI

 

Example

 

' Set helpful assistant

AIC.SetSystemPrompt|You are a helpful assistant.

 

' Set expert programmer

AIC.SetSystemPrompt|You are an expert PowerBASIC programmer.

 

' Set specific constraints

AIC.SetSystemPrompt|Answer concisely in one sentence.

 

Use Cases

 

- Define AI personality (friendly, professional, technical)

- Set expertise domain (medical, legal, programming)

- Constrain response format (bullet points, JSON, etc.)

- Set language preferences

 

Related Commands

 

- AIC.SetRole - Alternative role setting

- AIC.Ask - Chat command