TS Fix
This commit is contained in:
@@ -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 },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user