@arizeai/phoenix-evals
Version:
A library for running evaluations for AI use cases
10 lines • 369 B
TypeScript
import { Template } 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: Template;
variables: Record<string, unknown>;
}): string;
//# sourceMappingURL=applyTemplate.d.ts.map