Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update build-prompts.ts
Nicolas4747c6f5699e
diff --git a/apps/api/src/lib/extract/build-prompts.ts b/apps/api/src/lib/extract/build-prompts.tsindex 450e29f55..ac5da8d80 100644--- a/apps/api/src/lib/extract/build-prompts.ts+++ b/apps/api/src/lib/extract/build-prompts.ts@@ -31,9 +31,8 @@ Return only a concise sentece or 2 focused on the essential data points that the}export function buildRerankerSystemPrompt(): string {- return `You are a relevance expert scoring links from a website the user is trying to- extract information from. Analyze the provided URLs and their content- to determine their relevance to the user's query and intent.+ return `You are a relevance expert scoring links from a website the user is trying to extract information from. Analyze the provided URLs and their content+to determine their relevance to the user's query and intent.For each URL, assign a relevance score between 0 and 1, where 1means highly relevant and we should extract the content from it and 0 means not relevant at all, we should not extract the content from it.Always return all the links scored that you are giving. Do not omit links.