aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2026-02-09 00:09:10 +0000
committerGitHub <noreply@github.com>2026-02-09 00:09:10 +0000
commit4186c4c64c68892248ce8671d9b8e67fc7f884a0 (patch)
tree91bbbfc0bb47a966b9e340fdbe2a61b2e10ebd19 /apps/web/lib
parent77b186c3a599297da0cf19e923c66607ad7d74e7 (diff)
downloadkarakeep-4186c4c64c68892248ce8671d9b8e67fc7f884a0.tar.zst
feat(ai): Support restricting AI tags to a subset of existing tags (#2444)
* feat(ai): Support restricting AI tags to a subset of existing tags Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'apps/web/lib')
-rw-r--r--apps/web/lib/i18n/locales/en/translation.json8
-rw-r--r--apps/web/lib/userSettings.tsx1
2 files changed, 8 insertions, 1 deletions
diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json
index 41d5312e..40cf6ece 100644
--- a/apps/web/lib/i18n/locales/en/translation.json
+++ b/apps/web/lib/i18n/locales/en/translation.json
@@ -268,7 +268,11 @@
"camelCase": "camelCase",
"no_preference": "No preference",
"inference_language": "Inference Language",
- "inference_language_description": "Choose language for AI-generated tags and summaries."
+ "inference_language_description": "Choose language for AI-generated tags and summaries.",
+ "curated_tags": "Curated Tags",
+ "curated_tags_description": "Optionally restrict AI tagging to only use tags from this list. When no tags are selected, the AI generates tags freely.",
+ "curated_tags_updated": "Curated tags updated successfully!",
+ "curated_tags_update_failed": "Failed to update curated tags"
},
"feeds": {
"rss_subscriptions": "RSS Subscriptions",
@@ -761,6 +765,8 @@
"create_tag_description": "Create a new tag without attaching it to any bookmark",
"tag_name": "Tag Name",
"enter_tag_name": "Enter tag name",
+ "search_placeholder": "Search tags...",
+ "search_or_create_placeholder": "Search or create tags...",
"no_custom_tags": "No custom tags yet",
"no_ai_tags": "No AI tags yet",
"no_unused_tags": "You don't have any unused tags",
diff --git a/apps/web/lib/userSettings.tsx b/apps/web/lib/userSettings.tsx
index 41f94cf4..105e258e 100644
--- a/apps/web/lib/userSettings.tsx
+++ b/apps/web/lib/userSettings.tsx
@@ -19,6 +19,7 @@ export const UserSettingsContext = createContext<ZUserSettings>({
autoTaggingEnabled: null,
autoSummarizationEnabled: null,
tagStyle: "as-generated",
+ curatedTagIds: null,
inferredTagLang: null,
});