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

Top


MiniRobotLanguage (MRL)

 

AIC.SetTemp

Set the temperature for AI sampling

 

Intention

 

The AIC.SetTemp command controls the randomness of AI outputs. Lower values (0.0-0.3) produce more focused, deterministic responses. Higher values (0.7-1.0) produce more creative, varied outputs.

 

Syntax

 

AIC.SetTemp|$$Temperature

 

Parameters

 

P1 - $$Temperature - Temperature value (0.0 to 2.0, default 0.7). Lower = more focused, higher = more random.

 

Example

 

' Creative writing - high temperature

AIC.SetTemp|0.9

AIC.Ask|Write a creative story|$$Creative

 

' Factual answer - low temperature 

AIC.SetTemp|0.2

AIC.Ask|What is 2+2?|$$Factual

 

Related Commands

 

- AIC.SetTopP - Set top_p
- AIC.SetSeed - Set random seed