TS Fix
This commit is contained in:
@@ -179,7 +179,7 @@ export const getInvoiceDataFromGPT = async function (
|
|||||||
const completion = await openai.chat.completions.parse({
|
const completion = await openai.chat.completions.parse({
|
||||||
model: "gpt-4o",
|
model: "gpt-4o",
|
||||||
store: true,
|
store: true,
|
||||||
response_format: zodResponseFormat(InstructionFormat, "instruction"),
|
response_format: zodResponseFormat(InstructionFormat as any, "instruction"),
|
||||||
messages: [
|
messages: [
|
||||||
{ role: "user", content: extractedText },
|
{ role: "user", content: extractedText },
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user