Local LLM
pendingby Sébastien Minne
Your private AI assistant. Generate meeting minutes, get smart context-aware tag suggestions, and correct text—all running locally via Ollama.
Local LLM (Obsidian Plugin)
This plugin uses a local Ollama instance to analyze your notes and suggest relevant tags.
Features
- Smart Tag Suggestions: Analyze your note to suggest relevant tags (existing & new).
- Meeting Minutes Generation: Instantly generate a succinct summary of your meeting notes, with a dedicated "Add to Note Header" button.
- Text Correction: Correct spelling and grammar of selected text.
- Language Aware: Automatically detects the note's language and generates tags/summaries in the same language.
- Privacy Focused: All processing happens locally on your machine using Ollama.
- Interactive Review: dedicated UI to review generated content before insertion.
Prerequisites
- Obsidian: You need Obsidian installed.
- Ollama (Optional): If using Ollama provider.
- Mac (Optional): If using Apple Intelligence provider.
Installation & Deployment
Manual Installation (Development)
Since this plugin is not yet in the community store, you need to install it manually.
-
Build the Plugin:
- Clone this repository.
- Run
npm installto install dependencies. - Run
npm run buildto generate themain.jsfile.
-
Deploy to Obsidian:
- Create a folder named
obsidian-ollama-taggerin your Obsidian vault's plugin directory:.obsidian/plugins/. - Copy
main.js,manifest.json, andstyles.css(if any) to that folder. - Reload Obsidian (Command + R).
- Go to Settings > Community Plugins and enable "Ollama Tag Suggester".
- Create a folder named
Configuration
- Go to Settings > Tag Suggester.
- AI Provider: Select "Ollama" or "Apple Intelligence".
- Ollama Settings:
- Ollama URL: Default
http://localhost:11434. - Model Name: Default
llama3.
- Ollama URL: Default
- Apple Intelligence Settings:
- Shortcut Name: The name of the macOS Shortcut to run (default: "Suggest Tags").
Usage
1. Suggest Tags
- Open a note.
- Click the Bot Icon in the ribbon or run "Suggest Tags".
- Select the tags you want and click "Add Selected Tags".
2. Generate Meeting Minutes
- Open a note containing meeting info.
- Run command "Generate Meeting Minutes".
- Review the summary in the popup.
- Click "Add to Note Header" to insert it at the top (or copy it).
3. Correct Text
- Select text in editor.
- Right-click -> "Correct Text" (or use command).
- The text will be replaced with the corrected version.
Troubleshooting
- "Error calling Ollama": Ensure Ollama is running (
ollama serve) and the URL in settings is correct. - "Ollama response was not an array": The model might be hallucinating. Try a different model or check the console for the raw response.
Viewing Plugin Logs
To debug issues or see what the plugin is doing behind the scenes:
- Open Obsidian.
- Press
Cmd + Option + I(macOS) orCtrl + Shift + I(Windows/Linux) to open the Developer Tools. - Go to the Console tab.
- Look for messages starting with
Ollama Taggeror errors in red.
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.