This commit is contained in:
2026-01-02 14:34:53 +01:00
parent 65acad1c0d
commit 8a2e91e702

View File

@@ -179,7 +179,7 @@ export const getInvoiceDataFromGPT = async function (
const completion = await openai.chat.completions.parse({
model: "gpt-4o",
store: true,
response_format: zodResponseFormat(InstructionFormat, "instruction"),
response_format: zodResponseFormat(InstructionFormat as any, "instruction"),
messages: [
{ role: "user", content: extractedText },
{