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)
175175 .stop (fromOptions .getStop ())
176176 .frequencyPenalty (fromOptions .getFrequencyPenalty ())
177177 .presencePenalty (fromOptions .getPresencePenalty ())
178- .N (fromOptions .getN ())
178+ .n (fromOptions .getN ())
179179 .tools (fromOptions .getTools ())
180180 .toolChoice (fromOptions .getToolChoice ())
181181 .toolCallbacks (fromOptions .getToolCallbacks ())
@@ -489,7 +489,7 @@ public Builder presencePenalty(Double presencePenalty) {
489489 return this ;
490490 }
491491
492- public Builder N (Integer n ) {
492+ public Builder n (Integer n ) {
493493 this .options .n = n ;
494494 return this ;
495495 }
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ void observationForChatOperation() {
7676 .topP (1.0 )
7777 .presencePenalty (0.0 )
7878 .frequencyPenalty (0.0 )
79- .N (2 )
79+ .n (2 )
8080 .build ();
8181
8282 Prompt prompt = new Prompt ("Why does a raven look like a desk?" , options );
@@ -100,7 +100,7 @@ void observationForStreamingChatOperation() {
100100 .topP (1.0 )
101101 .presencePenalty (0.0 )
102102 .frequencyPenalty (0.0 )
103- .N (2 )
103+ .n (2 )
104104 .build ();
105105
106106 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