<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIL. - AI-Local Systems (GPT4All) > AIL. - AI-Local Systems (GPT4All) |
MiniRobotLanguage (MRL)
AIL.Set Temperature
Configure the temperature setting for GPT4All responses
Intention
The AIL.Set Temperature[|P1] command is designed to adjust the "temperature" of the GPT4All AI model responses. This temperature parameter is a key factor in controlling the level of randomness and variety in the AI-generated output.
The parameter P1 is a floating-point number that falls within the range of 0 to 1. The behavior of the AI model varies based on the set temperature:
•A lower value (closer to 0) renders the AI's responses more deterministic and consistent, often sticking to a more focused or narrower scope of context. This is ideal for queries that require precise, factual, or more predictable responses.
•A higher value (closer to 1) introduces a higher degree of randomness and creativity, leading to diverse and broad outputs. Such settings are useful for more exploratory or creative tasks where a wide range of ideas or suggestions is beneficial.
•If you leave away the value P1 then the default value of "0" will be set.
Set the temperature to a lower value:
AIL.Set Temperature|0.2
This command instructs the AI to generate outputs that are more focused and deterministic, limiting the scope of potential responses.
Set the temperature to a higher value:
AIL.Set Temperature|0.8
This command guides the AI towards more diverse and unpredictable responses, promoting creativity and variety in the outputs.
Syntax
AIL.Set Temperature[|P1]
Parameter Explanation
P1 - (optional) This represents the desired temperature value. It should be a floating-point number between 0 and 1, inclusive.
The chosen value will significantly impact the character of the AI's output.
Example
'***********************************
'
'***********************************
Remarks
-
Limitations:
-
See also:
•