Class BedrockRequest_AI21Labs_Jurassic2.PenaltySettings
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class BedrockRequest_AI21Labs_Jurassic2.PenaltySettings
Properties
| Edit this page View SourceApplyToEmojis
Optional. A true value excludes emojis from the penalty.
Declaration
[JsonProperty("applyToEmojis")]
public bool? ApplyToEmojis { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyToNumbers
Optional. A true value applies the penalty to numbers.
Declaration
[JsonProperty("applyToNumbers")]
public bool? ApplyToNumbers { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyToPunctuations
Optional. A true value applies the penalty to punctuation.
Declaration
[JsonProperty("applyToPunctuations")]
public bool? ApplyToPunctuations { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyToStopwords
Optional. A true value applies the penalty to stop words.
Declaration
[JsonProperty("applyToStopwords")]
public bool? ApplyToStopwords { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApplyToWhitespaces
Optional. A true value applies the penalty to whitespaces and new lines.
Declaration
[JsonProperty("applyToWhitespaces")]
public bool? ApplyToWhitespaces { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Scale
Required. The scale of the penalty. For presencePenalty: 0 to 5 For countPenalty: 0 to 1 For frequencyPenalty: 0 to 500 Default: 0
Declaration
[JsonProperty("scale")]
public float Scale { get; set; }
Property Value
| Type | Description |
|---|---|
| float |