AI rule node: relax validation for top K
This commit is contained in:
parent
56ccc6ff41
commit
ce3af71f1e
@ -33,7 +33,7 @@ public record AnthropicChatModelConfig(
|
||||
@NotBlank String modelId,
|
||||
@PositiveOrZero Double temperature,
|
||||
@Positive @Max(1) Double topP,
|
||||
@Positive Integer topK,
|
||||
@PositiveOrZero Integer topK,
|
||||
@Positive Integer maxOutputTokens,
|
||||
@With @Positive Integer timeoutSeconds,
|
||||
@With @PositiveOrZero Integer maxRetries
|
||||
|
||||
@ -33,7 +33,7 @@ public record GoogleAiGeminiChatModelConfig(
|
||||
@NotBlank String modelId,
|
||||
@PositiveOrZero Double temperature,
|
||||
@Positive @Max(1) Double topP,
|
||||
@Positive Integer topK,
|
||||
@PositiveOrZero Integer topK,
|
||||
Double frequencyPenalty,
|
||||
Double presencePenalty,
|
||||
@Positive Integer maxOutputTokens,
|
||||
|
||||
@ -33,7 +33,7 @@ public record GoogleVertexAiGeminiChatModelConfig(
|
||||
@NotBlank String modelId,
|
||||
@PositiveOrZero Double temperature,
|
||||
@Positive @Max(1) Double topP,
|
||||
@Positive Integer topK,
|
||||
@PositiveOrZero Integer topK,
|
||||
Double frequencyPenalty,
|
||||
Double presencePenalty,
|
||||
@Positive Integer maxOutputTokens,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user