Skip to content

Commit 4747c6f

Browse files
committed
Update build-prompts.ts
1 parent 10133ad commit 4747c6f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/api/src/lib/extract/build-prompts.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ Return only a concise sentece or 2 focused on the essential data points that the
3131
}
3232

3333
export function buildRerankerSystemPrompt(): string {
34-
return `You are a relevance expert scoring links from a website the user is trying to
35-
extract information from. Analyze the provided URLs and their content
36-
to determine their relevance to the user's query and intent.
34+
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
35+
to determine their relevance to the user's query and intent.
3736
For each URL, assign a relevance score between 0 and 1, where 1
3837
means 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.
3938
Always return all the links scored that you are giving. Do not omit links.

0 commit comments

Comments
 (0)