Table of Contents

Property SamplingMode

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

SamplingMode

Gets or sets the token sampling strategy for this execution.

public TokenSampling SamplingMode { get; set; }

Property Value

TokenSampling

Remarks

Overrides the agent's SamplingMode if set to a non-null value. Set to null (default) to use the agent's configured sampling strategy.

Use GreedyDecoding for deterministic output or RandomSampling for varied responses.

Share