AI Auto Tagger
pendingby oyuk
Automatically generate tags for your notes using AI.
AI Auto Tagger
English
Description
AI Auto Tagger is an Obsidian plugin that automatically generates optimal tags for your notes using AI (Google's Gemini API). It analyzes the context of your active note to keep your vault organized effortlessly.
Features
- Auto-tagging: Generates tags based on note content using Gemini.
- Configurable:
- API Key: Use your own Google Gemini API Key.
- Model: Choose your preferred model (default:
gemini-2.5-flash). - Max Tags: Control the number of tags generated.
- Tag Sanitization: Automatically formats tags to comply with Obsidian's strict rules (e.g., converts "AI API" to "AI_API").
- Reuse Existing Tags: Optional setting to prioritize existing tags in your vault, helping to maintain consistency and avoid duplicate variations.
Configuration
- Go to Settings > AI Auto Tagger.
- API Key: Enter your Gemini API key from Google AI Studio.
- Model: Default is
gemini-2.5-flash. - Reuse Existing Tags: Enable this to let the AI see your existing tags.
- Note: If you have a massive number of tags, enabling this increases the context size sent to the API, which may affect costs.
Usage
- Open any note.
- Open the Command Palette (
Cmd/Ctrl + P). - Run "AI Auto Tagger: Generate tags for active note".
- Watch the tags appear in your frontmatter!
日本語
概要
AI Auto Tagger は、Google Gemini APIを使用してノートの内容を分析し、最適なタグを自動生成するObsidianプラグインです。
特徴
- AIによる自動タグ付け: ノートの文脈を理解してタグを提案します。
- 柔軟な設定:
- APIキー: 自分のGemini APIキーを使用可能。
- モデル:
gemini-2.5-flashなど好きなモデルを指定可能。
- タグの自動整形: Obsidianの仕様に合わせて、スペースなどを自動的にアンダースコアに変換します(例: "AI API" → "AI_API")。
- 既存タグの再利用: Vault内にある既存のタグを優先して使う機能があり、タグの表記ゆれ(例:
Designとdesign)を防げます。
設定
- 設定 > AI Auto Tagger を開きます。
- API Key: Google AI Studio で取得したキーを入力してください。
- Model: デフォルトは
gemini-2.5-flashです。 - 既存のタグを再利用する: オンにすると、AIに既存のタグリストを参考資料として渡します。
- 注意: タグの数が非常に多い場合、APIに送信されるデータ量(コンテキスト)が増え、コストに影響する可能性があります。
使い方
- タグ付けしたいノートを開きます。
- コマンドパレット (
Cmd/Ctrl + P) を開きます。 - "AI Auto Tagger: Generate tags for active note" を実行します。
- フロントマターにタグが追加されます。
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.