This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"CREATE TABLE [activity_summary] ( | |
[dateComponents] TEXT, | |
[activeEnergyBurned] TEXT, | |
[activeEnergyBurnedGoal] TEXT, | |
[activeEnergyBurnedUnit] TEXT, | |
[appleMoveTime] TEXT, | |
[appleMoveTimeGoal] TEXT, | |
[appleExerciseTime] TEXT, | |
[appleExerciseTimeGoal] TEXT, | |
[appleStandHours] TEXT, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// google/gemini-2.5-flash | |
{ | |
currency: "MYR", | |
invoice_date: "17/02/2025", | |
invoice_number: "390210522", | |
items: [ | |
{ | |
description: "POCARI SWEAT 500ml", | |
quantity: 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { env, fetch } from "bun"; | |
import { z } from "zod/v4"; | |
import dedent from "dedent"; | |
export type ModerationErrorMetadata = { | |
reasons: string[]; | |
flagged_input: string; | |
provider_name: string; | |
model_slug: string; | |
}; |