We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bddd5f commit 9910cccCopy full SHA for 9910ccc
spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc
@@ -122,7 +122,7 @@ ChatResponse response = chatModel.call(
122
"Generate the names of 5 famous pirates.",
123
MiniMaxChatOptions.builder()
124
.withModel(MiniMaxApi.ChatModel.ABAB_6_5_S_Chat.getValue())
125
- .withTemperature(0.5f)
+ .withTemperature(0.5)
126
.build()
127
));
128
----
@@ -205,7 +205,7 @@ var miniMaxApi = new MiniMaxApi(System.getenv("MINIMAX_API_KEY"));
205
206
var chatModel = new MiniMaxChatModel(miniMaxApi, MiniMaxChatOptions.builder()
207
208
- .withTemperature(0.4f)
+ .withTemperature(0.4)
209
.withMaxTokens(200)
210
.build());
211
0 commit comments