|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIX. - Grok / X - API > AIX - Artificial Intelligence and X Platform Utility |
MiniRobotLanguage (MRL)
!Response Behavior Settings
Tuning AIX Response Characteristics
Intention
Response Behavior Settings: Adjusting AI Output
The Response Behavior Settings category includes commands to fine-tune the characteristics of responses from the Grok API, such as randomness, length, and repetition control.
This allows customization of how the AI generates content.
It’s part of the AIX - Grok / X - API suite.
This category provides commands to adjust parameters like temperature, maximum tokens, and stop sequences that influence the AI’s response behavior.
It enables users to control the creativity, length, and structure of generated responses.
Tuning response behavior is useful for:
•Customization: Adjusts the randomness and style of responses.
•Control: Limits response length or stops at specific points.
•Quality: Reduces repetition for more coherent outputs.
Use commands in this category to adjust response parameters before making API calls.
For example, set the temperature with AIX.SetTemperature, then check it with AIX.GetTemperature.
Commands in This Category
The following commands are included:
•AIX.SetTemperature - Set the temperature parameter for response randomness.
•AIX.GetTemperature - Retrieve the current temperature setting.
•AIX.SetMaxToken - Set the maximum token limit for responses.
•AIX.GetMaxToken - Retrieve the current maximum token limit.
•AIX.SetTopP - Set the Top-p (nucleus sampling) value.
•AIX.GetTopP - Retrieve the current Top-p value.
•AIX.SetStream - Set the streaming mode for responses.
•AIX.GetStream - Retrieve the current streaming mode setting.
•AIX.SetStop - Set the stop sequence for response generation.
•AIX.GetStop - Retrieve the current stop sequence.
•AIX.SetPresencePenalty - Set the presence penalty to reduce repetition.
•AIX.GetPresencePenalty - Retrieve the current presence penalty value.
•AIX.SetFrequencyPenalty - Set the frequency penalty to control word repetition.
•AIX.GetFrequencyPenalty - Retrieve the current frequency penalty value.