Class ModelParams
Details of model parameters.
Inherited Members
Namespace: Oci.GenerativeaiagentruntimeService.Models
Assembly: OCI.DotNetSDK.Generativeaiagentruntime.dll
Syntax
public class ModelParams
Properties
FrequencyPenalty
Declaration
[JsonProperty(PropertyName = "frequencyPenalty")]
public float? FrequencyPenalty { get; set; }
Property Value
Type | Description |
---|---|
float? | Frequency penalty to reduce repeating tokens. |
MaxTokens
Declaration
[JsonProperty(PropertyName = "maxTokens")]
public int? MaxTokens { get; set; }
Property Value
Type | Description |
---|---|
int? | Maximum number of tokens. |
PresencePenalty
Declaration
[JsonProperty(PropertyName = "presencePenalty")]
public float? PresencePenalty { get; set; }
Property Value
Type | Description |
---|---|
float? | Presence penalty to encourage new topics. |
Temperature
Declaration
[JsonProperty(PropertyName = "temperature")]
public float? Temperature { get; set; }
Property Value
Type | Description |
---|---|
float? | Sampling temperature. |
TopK
Declaration
[JsonProperty(PropertyName = "topK")]
public int? TopK { get; set; }
Property Value
Type | Description |
---|---|
int? | Top-K sampling parameter. |
TopP
Declaration
[JsonProperty(PropertyName = "topP")]
public float? TopP { get; set; }
Property Value
Type | Description |
---|---|
float? | Nucleus sampling probability. |