import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { EvalDataset, EvalDataset$Outbound } from "./evaldataset.js"; export declare const Strategy: { readonly First: "first"; readonly Random: "random"; }; export type Strategy = ClosedEnum; export type EvalFewshotConfig = { count?: number | undefined; /** * Dataset backing an eval task. */ dataset?: EvalDataset | undefined; /** * Optional prompt template for few-shot examples. Defaults to task prompt_template. */ promptTemplate?: string | undefined; /** * Optional target template for few-shot examples. Defaults to task target_template. */ targetTemplate?: string | undefined; /** * Template for one rendered few-shot example. */ exampleTemplate?: string | undefined; /** * Separator between few-shot examples and the evaluated prompt. */ separator?: string | undefined; strategy?: Strategy | undefined; seed?: number | undefined; }; /** @internal */ export declare const Strategy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Strategy$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EvalFewshotConfig$inboundSchema: z.ZodType; /** @internal */ export type EvalFewshotConfig$Outbound = { count: number; dataset?: EvalDataset$Outbound | undefined; prompt_template?: string | undefined; target_template?: string | undefined; example_template: string; separator: string; strategy: string; seed: number; }; /** @internal */ export declare const EvalFewshotConfig$outboundSchema: z.ZodType; export declare function evalFewshotConfigToJSON(evalFewshotConfig: EvalFewshotConfig): string; export declare function evalFewshotConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=evalfewshotconfig.d.ts.map