import { Evaluator, Templates } from "@future-agi/ai-evaluation";
const evaluator = new Evaluator();
const result = await evaluator.evaluate(
"chunk_utilization",
{
context: [
"Paris is the capital and largest city of France.",
"France is a country in Western Europe.",
"Paris is known for its art museums and fashion districts."
],
output: "According to the provided information, Paris is the capital city of France. It is a major European city and a global center for art, fashion, and culture.",
input: "What is the capital of France?"
},
{
modelName: "turing_flash",
}
);
console.log(result);