Update mistralai-chat.adoc
withMaxToken method wrong name
This commit is contained in:
committed by
Christian Tzolov
parent
1b0903e29f
commit
8c33fff161
@@ -215,7 +215,7 @@ var mistralAiApi = new MistralAiApi(System.getenv("MISTRAL_AI_API_KEY"));
|
||||
var chatModel = new MistralAiChatModel(mistralAiApi, MistralAiChatOptions.builder()
|
||||
.withModel(MistralAiApi.ChatModel.LARGE.getValue())
|
||||
.withTemperature(0.4f)
|
||||
.withMaxToken(200)
|
||||
.withMaxTokens(200)
|
||||
.build());
|
||||
|
||||
ChatResponse response = chatModel.call(
|
||||
|
||||
Reference in New Issue
Block a user