Table of Contents

Class Seed

Namespace
Glitch9.AIDevKit

Random seed for deterministic sampling (when supported):

  • Purpose – Reproduce the same output across runs with identical inputs.
  • Scope – Holds only if provider, model/deployment, version, and all params are unchanged.
  • null – Lets the service choose a random seed (non-deterministic).
  • Range – 0–4,294,967,295 (32-bit).
  • Support – Some models/services ignore seeds; if unsupported, this has no effect.
[Serializable]
public class Seed : NullableRangedInt<Seed>
Inheritance
object
Seed

Constructors

Seed()

public Seed()

Seed(int)

public Seed(int value)

Parameters

value int

Properties

Default

public override int Default { get; }

Property Value

int

Max

public override int Max { get; }

Property Value

int

Min

public override int Min { get; }

Property Value

int

Operators

implicit operator int?(Seed)

public static implicit operator int?(Seed p)

Parameters

p Seed

Returns

int?

implicit operator long?(Seed)

public static implicit operator long?(Seed p)

Parameters

p Seed

Returns

long?

implicit operator Seed(int)

public static implicit operator Seed(int v)

Parameters

v int

Returns

Seed

implicit operator Seed(long)

public static implicit operator Seed(long v)

Parameters

v long

Returns

Seed