(feat/extract) URLs can now be optional in /extract (#1346)
* Nick: urls optional on extract * Update index.ts
This commit is contained in:
@@ -105,3 +105,10 @@ export function buildBatchExtractSystemPrompt(
|
||||
export function buildBatchExtractPrompt(prompt: string): string {
|
||||
return `Today is: ${new Date().toISOString()}\n${prompt}`;
|
||||
}
|
||||
|
||||
|
||||
export function buildRephraseToSerpPrompt(prompt: string): string {
|
||||
return `Rephrase the following prompt to be suitable for a search engine results page (SERP) query. Make sure the rephrased prompt is concise and focused on retrieving relevant search results:
|
||||
|
||||
Original Prompt: "${prompt}"`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user