Skip to content
Tracon

SamplingFields

Namespace Tracon · Assembly Tracon.Abstractions.dll

The request fields of ModelBinding whose support depends on the provider’s API surface.

[Flags]
public enum SamplingFields

AllowMultipleToolCalls = 64

ModelBinding.AllowMultipleToolCalls.

FrequencyPenalty = 8

ModelBinding.FrequencyPenalty.

None = 0

No field.

PresencePenalty = 16

ModelBinding.PresencePenalty.

ReasoningOutput = 128

ModelBinding.ReasoningOutput.

Seed = 1

ModelBinding.Seed.

StopSequences = 4

ModelBinding.StopSequences.

ToolMode = 32

ModelBinding.ToolMode.

TopK = 2

ModelBinding.TopK.

The model adapters of the shipped providers map only some of these fields to the wire and drop the rest without an error. A provider states what its surface sends through ISamplingSupport, so a definition that sets an unsupported field stops with an error instead of running without it.