mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 03:52:48 +05:30
chore: Format files
This commit is contained in:
@@ -14,14 +14,15 @@ describe("GeminiProvider Eval", () => {
|
||||
});
|
||||
|
||||
const response = await provider.generateStructuredResponse({
|
||||
systemPrompt: "You are a helpful assistant. Classify the tone of the user's sentence.",
|
||||
systemPrompt:
|
||||
"You are a helpful assistant. Classify the tone of the user's sentence.",
|
||||
userContext: "I absolutely love this new engine, it works perfectly!",
|
||||
schema: ToneSchema,
|
||||
});
|
||||
|
||||
expect(response.success).toBe(true);
|
||||
expect(response.data).toBeDefined();
|
||||
|
||||
|
||||
const data = response.data!;
|
||||
expect(data.tone).toBe("positive");
|
||||
expect(data.confidence).toBeGreaterThan(0.8);
|
||||
|
||||
Reference in New Issue
Block a user