Show / Hide Table of Contents

Class ModelParams

Details of model parameters.

Inheritance
object
ModelParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top