@arizeai/phoenix-evals
Version:
A library for running evaluations for AI use cases
10 lines • 410 B
TypeScript
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