Property SamplingMode
SamplingMode
Gets or sets the token sampling strategy for this execution.
public TokenSampling SamplingMode { get; set; }
Property Value
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.