ModelSamplingParams Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a set of parameters used to control the sampling behavior of a language model during text generation.
public class ModelSamplingParams : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.ModelSamplingParams>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.ModelSamplingParams>
type ModelSamplingParams = class
interface IJsonModel<ModelSamplingParams>
interface IPersistableModel<ModelSamplingParams>
Public Class ModelSamplingParams
Implements IJsonModel(Of ModelSamplingParams), IPersistableModel(Of ModelSamplingParams)
- Inheritance
-
ModelSamplingParams
- Implements
Properties
| Name | Description |
|---|---|
| MaxCompletionTokens |
The maximum number of tokens allowed in the completion. |
| Seed |
The random seed for reproducibility. |
| Temperature |
The temperature parameter for sampling. |
| TopP |
The top-p parameter for nucleus sampling. |