File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
models/spring-ai-mistral-ai/src
main/java/org/springframework/ai/mistralai
test/java/org/springframework/ai/mistralai Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ public static MistralAiChatOptions fromOptions(MistralAiChatOptions fromOptions)
175
175
.stop (fromOptions .getStop ())
176
176
.frequencyPenalty (fromOptions .getFrequencyPenalty ())
177
177
.presencePenalty (fromOptions .getPresencePenalty ())
178
- .N (fromOptions .getN ())
178
+ .n (fromOptions .getN ())
179
179
.tools (fromOptions .getTools ())
180
180
.toolChoice (fromOptions .getToolChoice ())
181
181
.toolCallbacks (fromOptions .getToolCallbacks ())
@@ -489,7 +489,7 @@ public Builder presencePenalty(Double presencePenalty) {
489
489
return this ;
490
490
}
491
491
492
- public Builder N (Integer n ) {
492
+ public Builder n (Integer n ) {
493
493
this .options .n = n ;
494
494
return this ;
495
495
}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ void observationForChatOperation() {
76
76
.topP (1.0 )
77
77
.presencePenalty (0.0 )
78
78
.frequencyPenalty (0.0 )
79
- .N (2 )
79
+ .n (2 )
80
80
.build ();
81
81
82
82
Prompt prompt = new Prompt ("Why does a raven look like a desk?" , options );
@@ -100,7 +100,7 @@ void observationForStreamingChatOperation() {
100
100
.topP (1.0 )
101
101
.presencePenalty (0.0 )
102
102
.frequencyPenalty (0.0 )
103
- .N (2 )
103
+ .n (2 )
104
104
.build ();
105
105
106
106
Prompt prompt = new Prompt ("Why does a raven look like a desk?" , options );
You can’t perform that action at this time.
0 commit comments