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

Top


MiniRobotLanguage (MRL)

 

AIC.SetRole

Set the AI system role/persona

 

Intention

 

The AIC.SetRole command sets the system role for the AI, defining its behavior, personality, or expertise area for subsequent conversations.

 

Syntax

 

AIC.SetRole|$$RoleDescription

 

Parameters

 

P1 - $$RoleDescription - Description of the AI's role (e.g., "You are a helpful coding assistant")

 

Example

 

' Set AI as a Python expert

AIC.SetRole|You are an expert Python programmer who provides clean, well-documented code.

AIC.Ask|Write a function to sort a list|$$Code

DBP.$$Code

 

Related Commands

 

- AIC.Ask - Send chat message
- AIC.ClearContext - Clear conversation context