@@ -103,21 +103,23 @@ public class MistralAiChatOptions implements ToolCallingChatOptions {
103
103
104
104
/**
105
105
* Number between -2.0 and 2.0. frequency_penalty penalizes the repetition of words
106
- * based on their frequency in the generated text. A higher frequency penalty discourages
107
- * the model from repeating words that have already appeared frequently in the
108
- * output, promoting diversity and reducing repetition.
106
+ * based on their frequency in the generated text. A higher frequency penalty
107
+ * discourages the model from repeating words that have already appeared frequently in
108
+ * the output, promoting diversity and reducing repetition.
109
109
*/
110
110
private @ JsonProperty ("frequency_penalty" ) Double frequencyPenalty ;
111
111
112
112
/**
113
- * Number between -2.0 and 2.0. presence_penalty determines how much the model penalizes
114
- * the repetition of words or phrases. A higher presence penalty encourages the model to
115
- * use a wider variety of words and phrases, making the output more diverse and creative.
113
+ * Number between -2.0 and 2.0. presence_penalty determines how much the model
114
+ * penalizes the repetition of words or phrases. A higher presence penalty encourages
115
+ * the model to use a wider variety of words and phrases, making the output more
116
+ * diverse and creative.
116
117
*/
117
118
private @ JsonProperty ("presence_penalty" ) Double presencePenalty ;
118
119
119
120
/**
120
- * Number of completions to return for each request, input tokens are only billed once.
121
+ * Number of completions to return for each request, input tokens are only billed
122
+ * once.
121
123
*/
122
124
private @ JsonProperty ("n" ) Integer n ;
123
125
@@ -435,8 +437,7 @@ public boolean equals(Object obj) {
435
437
&& Objects .equals (this .randomSeed , other .randomSeed )
436
438
&& Objects .equals (this .responseFormat , other .responseFormat ) && Objects .equals (this .stop , other .stop )
437
439
&& Objects .equals (this .frequencyPenalty , other .frequencyPenalty )
438
- && Objects .equals (this .presencePenalty , other .presencePenalty )
439
- && Objects .equals (this .n , other .n )
440
+ && Objects .equals (this .presencePenalty , other .presencePenalty ) && Objects .equals (this .n , other .n )
440
441
&& Objects .equals (this .tools , other .tools ) && Objects .equals (this .toolChoice , other .toolChoice )
441
442
&& Objects .equals (this .toolCallbacks , other .toolCallbacks )
442
443
&& Objects .equals (this .toolNames , other .toolNames )
0 commit comments