mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-08 16:49:02 +08:00
Update llmExtract.ts
This commit is contained in:
parent
bd36c441d3
commit
e899ecbe44
@ -159,8 +159,8 @@ export async function generateOpenAICompletions(
|
||||
role: "user",
|
||||
content:
|
||||
options.prompt !== undefined
|
||||
? `Transform the above content into structured JSON output based on the following user request: ${options.prompt}`
|
||||
: "Transform the above content into structured JSON output.",
|
||||
? `Transform the above content into structured JSON output based on the provided schema if any and the following user request: ${options.prompt}`
|
||||
: "Transform the above content into structured JSON output based on the provided schema if any.",
|
||||
},
|
||||
],
|
||||
response_format: options.schema
|
||||
|
Loading…
x
Reference in New Issue
Block a user