mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 20:29:01 +08:00
(feat/extract) Multi-entity prompt improvements (#1181)
* Update build-prompts.ts * Update build-prompts.ts * Update build-prompts.ts * Update build-prompts.ts
This commit is contained in:
parent
73ecaf74c2
commit
584221a106
@ -21,7 +21,7 @@ export function buildPreRerankPrompt(
|
|||||||
url: string,
|
url: string,
|
||||||
): string {
|
): string {
|
||||||
const schemaString = JSON.stringify(schema, null, 2);
|
const schemaString = JSON.stringify(schema, null, 2);
|
||||||
return `Create a concise search query that combines the key data points from both the schema and prompt. Focus on the core information needed while keeping it general enough to find relevant matches.
|
return `Create a concise search query that combines the key data points from both the schema and prompt. Focus on the core information needed while keeping it general enough to find relevant matches. If the user wants all the items, the search query should contain "all".
|
||||||
|
|
||||||
Schema: ${schemaString}
|
Schema: ${schemaString}
|
||||||
Prompt: ${prompt}
|
Prompt: ${prompt}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user