14 lines
659 B
TypeScript
14 lines
659 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { ExactMatchConfig } from "./ExactMatchConfig";
|
|
import type { LLMJudgeConfig } from "./LLMJudgeConfig";
|
|
import type { RegexConfig } from "./RegexConfig";
|
|
import type { ToolUseConfig } from "./ToolUseConfig";
|
|
import type { TypescriptJudgeConfig } from "./TypescriptJudgeConfig";
|
|
|
|
export type EvaluatorConfig =
|
|
| ({ type: "exact_match" } & ExactMatchConfig)
|
|
| ({ type: "llm_judge" } & LLMJudgeConfig)
|
|
| ({ type: "tool_use" } & ToolUseConfig)
|
|
| ({ type: "regex" } & RegexConfig)
|
|
| ({ type: "typescript" } & TypescriptJudgeConfig);
|