From 9910ccc41e173bf336de1fe1db396053e35068dc Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Wed, 18 Sep 2024 08:50:59 -0400 Subject: [PATCH] fix docs to remove use of 'f' for temperature chat option --- .../main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc index 5628a115d1..fed399b7d0 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc @@ -122,7 +122,7 @@ ChatResponse response = chatModel.call( "Generate the names of 5 famous pirates.", MiniMaxChatOptions.builder() .withModel(MiniMaxApi.ChatModel.ABAB_6_5_S_Chat.getValue()) - .withTemperature(0.5f) + .withTemperature(0.5) .build() )); ---- @@ -205,7 +205,7 @@ var miniMaxApi = new MiniMaxApi(System.getenv("MINIMAX_API_KEY")); var chatModel = new MiniMaxChatModel(miniMaxApi, MiniMaxChatOptions.builder() .withModel(MiniMaxApi.ChatModel.ABAB_6_5_S_Chat.getValue()) - .withTemperature(0.4f) + .withTemperature(0.4) .withMaxTokens(200) .build());