ModelSamplingParams Constructors

Definition

Overloads

Name Description
ModelSamplingParams()

Initializes a new instance of ModelSamplingParams.

ModelSamplingParams(Single, Single, Int32, Int32)

Initializes a new instance of ModelSamplingParams.

ModelSamplingParams()

Source:
ModelSamplingParams.cs

Initializes a new instance of ModelSamplingParams.

public ModelSamplingParams();
Public Sub New ()

Applies to

ModelSamplingParams(Single, Single, Int32, Int32)

Source:
ModelSamplingParams.cs
Source:
ModelSamplingParams.cs

Initializes a new instance of ModelSamplingParams.

public ModelSamplingParams(float temperature, float topP, int seed, int maxCompletionTokens);
new Azure.AI.Projects.Evaluation.ModelSamplingParams : single * single * int * int -> Azure.AI.Projects.Evaluation.ModelSamplingParams
Public Sub New (temperature As Single, topP As Single, seed As Integer, maxCompletionTokens As Integer)

Parameters

temperature
Single

The temperature parameter for sampling.

topP
Single

The top-p parameter for nucleus sampling.

seed
Int32

The random seed for reproducibility.

maxCompletionTokens
Int32

The maximum number of tokens allowed in the completion.

Applies to