From 1ca50e6e8f5ae69cabbe3657107d9a5bdf82d2ff Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 19 Jan 2025 22:18:51 -0300 Subject: [PATCH] Update llmExtract.ts --- apps/api/src/scraper/scrapeURL/transformers/llmExtract.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/scraper/scrapeURL/transformers/llmExtract.ts b/apps/api/src/scraper/scrapeURL/transformers/llmExtract.ts index 1ec8502a..e6951fe0 100644 --- a/apps/api/src/scraper/scrapeURL/transformers/llmExtract.ts +++ b/apps/api/src/scraper/scrapeURL/transformers/llmExtract.ts @@ -302,6 +302,7 @@ anyOf Formats are not supported. Min/max are not supported. Anything beyond the above is not supported. Keep it simple with types and descriptions. Optionals are not supported. +DO NOT USE FORMATS. Keep it simple. Don't create too many properties, just the ones that are needed. Don't invent properties. Return a valid JSON schema object with properties that would capture the information requested in the prompt.`, },