Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
15 lines
537 B
Java
15 lines
537 B
Java
package com.ankurm.dmr;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
/** Settings for the benchmark itself (the engine settings are plain spring.ai.openai.* ones). */
|
|
@ConfigurationProperties("bench")
|
|
public record BenchProperties(String label, Integer repeats, Integer toolRuns, Integer maxTokens, String outFile) {
|
|
public BenchProperties {
|
|
if (label == null) label = "engine";
|
|
if (repeats == null) repeats = 3;
|
|
if (toolRuns == null) toolRuns = 20;
|
|
if (maxTokens == null) maxTokens = 128;
|
|
}
|
|
}
|