UNPKG

@arizeai/phoenix-evals

Version:
10 lines 410 B
import type { PromptTemplate, RenderedPrompt } from "../types/templating.js"; /** * A function that applies a set of variables to a template (e.g. a prompt) * Uses the Mustache library to apply the variables to the template */ export declare function formatTemplate(args: { template: PromptTemplate; variables: Record<string, unknown>; }): RenderedPrompt; //# sourceMappingURL=applyTemplate.d.ts.map