hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
6.63k stars 240 forks source link

Feature request: improve tagging by providing existing tags to LLM tags-extraction prompt #457

Closed alexkutsan closed 1 month ago

alexkutsan commented 1 month ago

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

изображение
kamtschatka commented 1 month ago

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