aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-12-29 23:58:37 +0000
committerMohamed Bassem <me@mbassem.com>2025-12-29 23:58:37 +0000
commitc1cbaa8a54f104e5940d9fce4f11327b0ecd6557 (patch)
tree9ca86ba4ac8895f0a1fd3c2233ffd1de128de660 /packages
parenta5ce977d1194fee853a6a5f3aa9690fcc748afd7 (diff)
downloadkarakeep-c1cbaa8a54f104e5940d9fce4f11327b0ecd6557.tar.zst
fix: more tagging tweaks
Diffstat (limited to 'packages')
-rw-r--r--packages/shared/prompts.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/shared/prompts.ts b/packages/shared/prompts.ts
index bc130b2c..7dff9616 100644
--- a/packages/shared/prompts.ts
+++ b/packages/shared/prompts.ts
@@ -80,10 +80,9 @@ Analyze the TEXT_CONTENT below and suggest relevant tags that describe its key t
- Aim for a variety of tags, including broad categories, specific keywords, and potential sub-genres.
- The tags must be in ${lang}.
- If the tag is not generic enough, don't include it.
-- Return empty tags if the content is:
- - An error page (404, 403, blocked, not found)
- - Mostly boilerplate (cookie consent, login walls, GDPR notices)
- - Garbled, truncated, or nonsensical
+- Do NOT generate tags related to:
+ - An error page (404, 403, blocked, not found, dns errors)
+ - Boilerplate content (cookie consent, login walls, GDPR notices)
- Aim for 3-5 tags.
- If there are no good tags, leave the array empty.
${tagStyleInstruction}