←back to thread

524 points noperator | 2 comments | | HN request time: 0.416s | source
Show context
rhcom2 ◴[] No.44492451[source]
When moving my links from Pocket to Wallabag I passed them through Claude for tagging. Worked very well
replies(1): >>44495430 #
1. Karrot_Kream ◴[] No.44495430[source]
Did you come up with a defined list of tags or just ask it to zero-shot give you a tag?
replies(1): >>44502590 #
2. rhcom2 ◴[] No.44502590[source]
I considered trying to curate a list but decided the tags for me were really to get an idea of the contents of the article and not for management so I didn't really care if tags were reused or one offs.

This was the prompt:

  You are a helpful assistant that tags articles in my read it later list.
        You will be given an article with content, title, and url, and you will need to tag it with the most relevant tags.

        Rule: Try to keep high level tags to a minimum.
        Rule: Max 5 tags per article (3–4 is ideal)
        Rule: Tags should represent core themes, not every passing mention.
        Rule: All tags should be lowercase, be singular nouns unless a compound concept, avoid special characters
        Rule: Avoid Redundant or duplicate Tags
        Rule: 1–3 high-level tag + optional granular

        Remember already used tags and prioritize them.

        Return a dictionary with the following structure:
        {{
            "id": {article.id},
            "title": "{article.title}",
            "tags": ["tag1", "tag2", "tag3", ect]
        }}