AI Tagger

approved

by Luca Grippa

Simplify tagging. Instantly analyze and tag your document with one click for efficient note organization. OpenAI API key required.

โ˜… 149 starsโ†“ 13,183 downloadsUpdated 1y agoMIT
View on GitHub

๐Ÿช„ AI Tagger

AI Tagger is an Obsidian (https://obsidian.md) plugin that simplifies tagging by using various Large Language Models (LLMs) to analyze and tag your document with one click!

The plugin analyzes the current document that you have open in the editor and all of the previous tags that you have used. AI tagger will return up to 5 relevant tags that you have previously used and will generate up to 3 completely new tags.

๐Ÿค– Supported AI Models

ProviderModelToken LimitType
OpenAIGPT-4o mini128KClosed Source
OpenAIGPT-4o128KClosed Source
Mistral AIMistral Small32KClosed Source
Mistral AIMistral Large128KClosed Source
Mistral AIMistral Nemo128KOpen Source
AnthropicClaude 3.5 Haiku200KClosed Source
AnthropicClaude 3.5 Sonnet200KClosed Source
AnthropicClaude 3 Opus200KClosed Source
GoogleGemini 1.5 Flash1MClosed Source
GoogleGemini 1.5 Flash-8B1MClosed Source
GoogleGemini 1.5 Pro1MClosed Source
GroqLlama 3 Groq 8B8KOpen Source
GroqLlama 3 Groq 70B8KOpen Source
GroqLlama 3.1 8B128KOpen Source
GroqLlama 3.1 70B128KOpen Source
OllamaLlama 3.2128KOpen Source
OllamaMistral Nemo128KOpen Source
OllamaQwen 2.5128KOpen Source

๐Ÿš€ Setup

  1. Install from Obsidian Community Plugins
  2. Enter your chosen provider's API key in settings
  3. Select your preferred model
  4. Optional: Configure custom API endpoint (useful for Ollama or proxies)

๐Ÿ“ Usage

One click tagging

  • Click the "Wand" icon in the left sidebar to tag current note

    One click tagging

Selection-Based Tagging

  • Highlight text and use Command Palette (Ctrl/Cmd + P) โ†’ "Generate tags"

    Precise tagging

Batch Tagging

  • Right-click file(s) or folders to tag multiple documents

    Multi-file tagging

๐Ÿ”ง Configuration Options

  • Custom Endpoints: Set alternative API endpoints (default Ollama: http://localhost:11434)

  • Lowercase Tags: Force all tags to lowercase

  • Context Awareness: Plugin considers existing tags to avoid duplicates

    Context-aware tagging

๐Ÿค Contributing

Found a bug? Have an idea? We'd love to hear from you:

๐Ÿ› Report a bug ๐Ÿ’ก Request a feature ๐Ÿ”ง Submit a PR

๐Ÿ“œ License

MIT License

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.