From a4cf8f439c090b07cd7f6f8fc92e61d09d9cf5c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Fri, 14 Feb 2025 11:19:16 +0100 Subject: [PATCH] Revert "(feat/extract) Multi-entity prompt improvements (#1181)" This reverts commit 584221a106216dfcc25de14c16720224cad237e1. --- apps/api/src/lib/extract/build-prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/lib/extract/build-prompts.ts b/apps/api/src/lib/extract/build-prompts.ts index f14a6db4..24710660 100644 --- a/apps/api/src/lib/extract/build-prompts.ts +++ b/apps/api/src/lib/extract/build-prompts.ts @@ -21,7 +21,7 @@ export function buildPreRerankPrompt( url: string, ): string { 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. If the user wants all the items, the search query should contain "all". + 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. Schema: ${schemaString} Prompt: ${prompt}