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

Top


MiniRobotLanguage (MRL)

 

AIC.SetPresencePenalty

Set the presence penalty for AI responses

 

Intention

 

The AIC.SetPresencePenalty command controls how much to penalize new tokens based on whether they appear in the text so far. Positive values increase the model's likelihood to talk about new topics.

 

Syntax

 

AIC.SetPresencePenalty|$$Penalty

 

Parameters

 

P1 - $$Penalty - Penalty value (-2.0 to 2.0, default 0). Positive values penalize tokens already present.

 

Example

 

' Encourage the model to introduce new topics

AIC.SetPresencePenalty|0.6

AIC.Ask|Tell me about renewable energy|$$Response

 

Related Commands

 

- AIC.SetFrequencyPenalty - Set frequency penalty
- AIC.SetTemp - Set temperature