A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: Correct grammatical errors in prompts (#2020)
atsggxf1e8cea21cc8
diff --git a/packages/shared/prompts.ts b/packages/shared/prompts.tsindex 6928ec3e..40f74773 100644--- a/packages/shared/prompts.ts+++ b/packages/shared/prompts.ts@@ -21,7 +21,7 @@ function truncateContent(content: string, length: number) {export function buildImagePrompt(lang: string, customPrompts: string[]) {return `-You are an expert who's responsibility is to help with automatic text tagging for a read-it-later app.+You are an expert whose responsibility is to help with automatic text tagging for a read-it-later app.Please analyze the attached image and suggest relevant tags that describe its key themes, topics, and main ideas. The rules are:- Aim for a variety of tags, including broad categories, specific keywords, and potential sub-genres.- The tags must be in ${lang}.@@ -40,7 +40,7 @@ export function buildTextPrompt() {content = preprocessContent(content);const constructPrompt = (c: string) => `-You are an expert who's your responsibility is to help with automatic tagging for a read-it-later app.+You are an expert whose responsibility is to help with automatic tagging for a read-it-later app.Please analyze the TEXT_CONTENT below and suggest relevant tags that describe its key themes, topics, and main ideas. The rules are:- Aim for a variety of tags, including broad categories, specific keywords, and potential sub-genres.- The tags must be in ${lang}.