AIG. - AI Google Gemini Integration

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIG. - Google AI > 5. Configuration User, File & Clipboard >

AIG. - AI Google Gemini Integration

AIG.GetSeed

Previous Top Next


MiniRobotLanguage (MRL)

 

AIG.GetSeed
Retrieve the Current Random Seed

 

Intention

 

Retrieve the integer value currently configured as the random seed for the AI generation process.

 

What is the GetSeed Command?

 

This Command returns the current value stored in the AIG_Seed global variable. This value is set using the AIG.SetSeed Command. A value of 0 typically indicates the default state where no specific seed is sent to the API.

 

Why Do You Need It?

 

Use this Command to:

Verify Configuration: Check the current seed value being used.

Debugging: Confirm the seed setting when analyzing response consistency.

 

How to Use

 

Call the Command, optionally providing a variable name (P1) to store the resulting integer value.

 

Example Usage

 

// Set a specific seed

AIG.SetSeed|42

 

// Retrieve the current seed

AIG.GetSeed|$$CurrentSeed

DBP. Current Seed: @$$CurrentSeed

// Output: Current Seed: 42

 

Syntax

 

AIG.GetSeed[|P1]

AIG.gsd[|P1]

 

Parameter Explanation

 

P1 - (Optional) The name of the variable (e.g., `$$MyVar`) where the retrieved integer seed value should be stored.

 

Remarks

 

- Returns the integer value stored in the AIG_Seed global variable.

- A value of 0 usually means the default seed behavior is active.

 

See also:

 

? AIG.SetSeed

? AIG. Commands Overview