mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 02:09:01 +08:00
Update llmExtract.ts
This commit is contained in:
parent
05605112bb
commit
066071cd54
@ -159,7 +159,7 @@ export async function generateOpenAICompletions(
|
|||||||
role: "user",
|
role: "user",
|
||||||
content:
|
content:
|
||||||
options.prompt !== undefined
|
options.prompt !== undefined
|
||||||
? `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 and the following user request: ${options.prompt}. If schema is provided, strictly follow it.`
|
||||||
: "Transform the above content into structured JSON output based on the provided schema if any.",
|
: "Transform the above content into structured JSON output based on the provided schema if any.",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user