[GH-ISSUE #15] [Feature Request] Automatic tags based on metadata + adjusting image tag extraction prompt #13

Closed
opened 2026-03-02 11:45:38 +03:00 by kerem · 2 comments
Owner

Originally created by @mape on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/15

It would be neat if it was possible to define rules that add tags based on metadata.

For example:
https://www.bukowskis.com/sv/lots/1540548-matbord-bento-hem-2000-tal
I'd want the tag furniture added because the URL contains bukowskis.com.

https://www.nordiskagalleriet.se/nemo-lighting/escargot?variant=10213172
I'd want the tag mid-century-modern added because the body contains the text Le Corbusier.

Building on-top that, it would be nice if it was possible to trigger changes in the image tag extraction prompt based on existing tags.

So if the tag furniture is present from the text extraction pass (or through metadata rules) the image prompt would append suggestions focusing on describing the item vs more generic tags.

Originally created by @mape on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/15 It would be neat if it was possible to define rules that add tags based on metadata. For example: https://www.bukowskis.com/sv/lots/1540548-matbord-bento-hem-2000-tal I'd want the tag `furniture` added because the URL contains `bukowskis.com`. https://www.nordiskagalleriet.se/nemo-lighting/escargot?variant=10213172 I'd want the tag `mid-century-modern` added because the body contains the text `Le Corbusier`. Building on-top that, it would be nice if it was possible to trigger changes in the image tag extraction prompt based on existing tags. So if the tag `furniture` is present from the text extraction pass (or through metadata rules) the image prompt would append suggestions focusing on describing the item vs more generic tags.
kerem 2026-03-02 11:45:38 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Mar 27, 2024):

I like the idea of having rule-based tagging. Can't promise I'll be able to get to it soon though as it's not trivial :)

<!-- gh-comment-id:2023395498 --> @MohamedBassem commented on GitHub (Mar 27, 2024): I like the idea of having rule-based tagging. Can't promise I'll be able to get to it soon though as it's not trivial :)
Author
Owner

@MohamedBassem commented on GitHub (Oct 5, 2024):

Adding tagging rules (and customizing the prompt) is implemented in github.com/hoarder-app/hoarder@36fb5a4c63 and will be available in the next release.

<!-- gh-comment-id:2395153760 --> @MohamedBassem commented on GitHub (Oct 5, 2024): Adding tagging rules (and customizing the prompt) is implemented in https://github.com/hoarder-app/hoarder/commit/36fb5a4c63aada8e8107b8e9d97a6ba128d13494 and will be available in the next release.
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#13
No description provided.