[GH-ISSUE #457] Feature request: improve tagging by providing existing tags to LLM tags-extraction prompt #293

Closed
opened 2026-03-02 11:48:31 +03:00 by kerem · 1 comment
Owner

Originally created by @alexkutsan on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/457

The current prompt for extracting tags from a link (see here) works well but tends to generate slightly different tags for links with similar content.

To improve the quality of the tags and reduce redundancy, I suggest modifying the prompt to include any existing tags. It should instruct the model to reuse these tags if they match the content. This would help maintain consistency and avoid generating too many unique tags for a single link

изображение
Originally created by @alexkutsan on GitHub (Oct 3, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/457 The current prompt for extracting tags from a link (see [here](https://github.com/hoarder-app/hoarder/blob/main/packages/shared/prompts.ts#L14)) works well but tends to generate slightly different tags for links with similar content. To improve the quality of the tags and reduce redundancy, I suggest modifying the prompt to include any existing tags. It should instruct the model to reuse these tags if they match the content. This would help maintain consistency and avoid generating too many unique tags for a single link <img width="1325" alt="изображение" src="https://github.com/user-attachments/assets/82b45de5-1a04-4c40-b414-7b497a96b688">
kerem closed this issue 2026-03-02 11:48:32 +03:00
Author
Owner

@kamtschatka commented on GitHub (Oct 3, 2024):

already exists in https://github.com/hoarder-app/hoarder/issues/111
I have also opened a PR yesterday that will allow you to do just that with the new custom prompts feature

<!-- gh-comment-id:2391304891 --> @kamtschatka commented on GitHub (Oct 3, 2024): already exists in https://github.com/hoarder-app/hoarder/issues/111 I have also opened a PR yesterday that will allow you to do just that with the new custom prompts feature
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#293
No description provided.