diff --git a/packages/example/src/fail.eval.ts b/packages/example/src/fail.eval.ts index 0d22bed..fa93217 100644 --- a/packages/example/src/fail.eval.ts +++ b/packages/example/src/fail.eval.ts @@ -1,17 +1,5 @@ -import { openai } from "@ai-sdk/openai"; -import { generateText, streamText } from "ai"; -import { evalite } from "evalite"; -import { createStorage } from "unstorage"; -import fsDriver from "unstorage/drivers/fs"; import { Factuality, Levenshtein } from "autoevals"; -import { cacheModel } from "./cache-model.js"; -import { traceAISDKModel } from "evalite/ai-sdk"; - -const storage = createStorage({ - driver: (fsDriver as any)({ - base: "./llm-cache.local", - }), -}); +import { evalite } from "evalite"; evalite("Failure", { data: async () => [ @@ -22,5 +10,5 @@ evalite("Failure", { task: async (input) => { throw new Error("It failed!"); }, - scorers: [Factuality, Levenshtein], + scorers: [], });