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,
|
@NotBlank String modelId,
|
||||||
@PositiveOrZero Double temperature,
|
@PositiveOrZero Double temperature,
|
||||||
@Positive @Max(1) Double topP,
|
@Positive @Max(1) Double topP,
|
||||||
@Positive Integer topK,
|
@PositiveOrZero Integer topK,
|
||||||
@Positive Integer maxOutputTokens,
|
@Positive Integer maxOutputTokens,
|
||||||
@With @Positive Integer timeoutSeconds,
|
@With @Positive Integer timeoutSeconds,
|
||||||
@With @PositiveOrZero Integer maxRetries
|
@With @PositiveOrZero Integer maxRetries
|
||||||
|
|||||||
@ -33,7 +33,7 @@ public record GoogleAiGeminiChatModelConfig(
|
|||||||
@NotBlank String modelId,
|
@NotBlank String modelId,
|
||||||
@PositiveOrZero Double temperature,
|
@PositiveOrZero Double temperature,
|
||||||
@Positive @Max(1) Double topP,
|
@Positive @Max(1) Double topP,
|
||||||
@Positive Integer topK,
|
@PositiveOrZero Integer topK,
|
||||||
Double frequencyPenalty,
|
Double frequencyPenalty,
|
||||||
Double presencePenalty,
|
Double presencePenalty,
|
||||||
@Positive Integer maxOutputTokens,
|
@Positive Integer maxOutputTokens,
|
||||||
|
|||||||
@ -33,7 +33,7 @@ public record GoogleVertexAiGeminiChatModelConfig(
|
|||||||
@NotBlank String modelId,
|
@NotBlank String modelId,
|
||||||
@PositiveOrZero Double temperature,
|
@PositiveOrZero Double temperature,
|
||||||
@Positive @Max(1) Double topP,
|
@Positive @Max(1) Double topP,
|
||||||
@Positive Integer topK,
|
@PositiveOrZero Integer topK,
|
||||||
Double frequencyPenalty,
|
Double frequencyPenalty,
|
||||||
Double presencePenalty,
|
Double presencePenalty,
|
||||||
@Positive Integer maxOutputTokens,
|
@Positive Integer maxOutputTokens,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user