|
|
@ -104,6 +104,8 @@ class Langchain4jChatModelConfigurerImpl implements Langchain4jChatModelConfigur |
|
|
.temperature(chatModelConfig.temperature()) |
|
|
.temperature(chatModelConfig.temperature()) |
|
|
.topP(chatModelConfig.topP()) |
|
|
.topP(chatModelConfig.topP()) |
|
|
.topK(chatModelConfig.topK()) |
|
|
.topK(chatModelConfig.topK()) |
|
|
|
|
|
.frequencyPenalty(chatModelConfig.frequencyPenalty()) |
|
|
|
|
|
.presencePenalty(chatModelConfig.presencePenalty()) |
|
|
.maxOutputTokens(chatModelConfig.maxOutputTokens()) |
|
|
.maxOutputTokens(chatModelConfig.maxOutputTokens()) |
|
|
.timeout(toDuration(chatModelConfig.timeoutSeconds())) |
|
|
.timeout(toDuration(chatModelConfig.timeoutSeconds())) |
|
|
.maxRetries(chatModelConfig.maxRetries()) |
|
|
.maxRetries(chatModelConfig.maxRetries()) |
|
|
@ -128,6 +130,8 @@ class Langchain4jChatModelConfigurerImpl implements Langchain4jChatModelConfigur |
|
|
.temperature(chatModelConfig.temperature()) |
|
|
.temperature(chatModelConfig.temperature()) |
|
|
.topP(chatModelConfig.topP()) |
|
|
.topP(chatModelConfig.topP()) |
|
|
.topK(chatModelConfig.topK()) |
|
|
.topK(chatModelConfig.topK()) |
|
|
|
|
|
.frequencyPenalty(chatModelConfig.frequencyPenalty()) |
|
|
|
|
|
.presencePenalty(chatModelConfig.presencePenalty()) |
|
|
.maxOutputTokens(chatModelConfig.maxOutputTokens()) |
|
|
.maxOutputTokens(chatModelConfig.maxOutputTokens()) |
|
|
.timeout(toDuration(chatModelConfig.timeoutSeconds())) |
|
|
.timeout(toDuration(chatModelConfig.timeoutSeconds())) |
|
|
.maxRetries(chatModelConfig.maxRetries()) |
|
|
.maxRetries(chatModelConfig.maxRetries()) |
|
|
|