Local LLM Helper

by Mani Mohan
5
4
3
2
1
Score: 62/100

Description

Category: Productivity Tools

The Local LLM Helper plugin integrates local Large Language Models (LLMs) with Obsidian, offering a suite of tools for text processing, interactive AI chat, and personalized responses. Users can perform tasks such as summarizing text, generating action items, adjusting tone, and chatting directly with indexed notes. The plugin supports privacy by working with offline LLM servers like Ollama and LM Studio, and it allows full customization of prompts and response formats. Additionally, the plugin includes a user-friendly chat interface and integration with ribbon and status bar for quick access. It offers seamless interaction with LLMs for both productivity tasks and dynamic conversations within notes.

Reviews

No reviews yet.

Stats

63
stars
7,257
downloads
11
forks
738
days
4
days
22
days
3
total PRs
0
open PRs
0
closed PRs
3
merged PRs
8
total issues
0
open issues
8
closed issues
64
commits

Latest Version

22 days ago

Changelog

Bug fixes

  • Fixed RAG indexing producing all-zero embedding vectors on LM Studio and other OpenAI-compatible servers that don't honor encoding_format=base64. The plugin now calls /v1/embeddings directly via Obsidian's requestUrl and explicitly requests encoding_format=float, so embeddings come back correctly. Resolves #10.
  • Added a validation pass that throws a clear error if a server ever returns an all-zero vector, so this failure mode can't silently recur.

Security

  • Updated axios, follow-redirects, and yaml to patch moderate-severity advisories (SSRF, auth header leak, stack overflow).

Action required

If you had notes indexed with a previous version and RAG chat was returning poor or irrelevant results, open Settings → Notes Index and click Re-index notes to regenerate embeddings with valid vectors.

README file from

Github

Local LLM Helper

An Obsidian plugin that brings the power of local LLMs directly into your notes. Process text, chat with AI, search your vault semantically — all while keeping your data private and local.

Features

🔌 Multi-Provider Support

Works with any server that supports the OpenAI API format (/v1/chat/completions):

  • Ollama - Run open-source models locally
  • OpenAI - Use GPT models with your API key
  • LM Studio - Local inference with a GUI
  • vLLM, LocalAI, text-generation-webui, and more

Switch providers anytime from settings. Configure temperature, max tokens, and streaming.

✍️ Text Processing

Transform selected text with AI-powered commands:

Command What it does
Summarize Condense text while preserving key information
Make Professional Rewrite in a formal, polished tone
Generate Action Items Extract actionable tasks from text
Custom Prompt Run your single saved custom prompt
Run Saved Prompt... Fuzzy-search and run any of your saved prompts
Use as Prompt Send selection directly to LLM
Edit with Prompt Choose from 8 presets or write custom instructions

All commands available via Command Palette (prefix: Text:) or ribbon menu.

💬 Chat Interfaces

LLM Chat - General conversation with your LLM

  • Remembers last 3 exchanges for context
  • Supports all configured personas

RAG Chat - Chat with your indexed notes

  • Semantic search across your vault
  • Clickable source references
  • Example queries to get started

Workflow Automation - Run review workflows against your notes

  • Built-in recipes for weekly reviews, meeting notes to tasks, and project status summaries
  • Reuses note, folder, and tag scopes from RAG chat
  • Every note write stays behind explicit approval cards
  • Works from your indexed notes, so you keep local-first review workflows without automatic writes

📚 Notes RAG (Retrieval-Augmented Generation)

Index your vault for semantic search and AI-powered Q&A:

  • Smart Chunking - Documents split with overlap for better context
  • Incremental Indexing - Only re-indexes changed files
  • Content Preprocessing - Strips frontmatter and cleans markdown
  • Multiple Providers - Works with any OpenAI-compatible embeddings endpoint

Keep semantic context visible while you write:

  • Auto-updating sidebar for the current note or selected text
  • Preview related notes with similarity scores
  • Open any match instantly or select several notes and jump straight into scoped RAG chat

🌐 Web Integration

  • Web Search - Search the web using Tavily or Brave API
  • News Search - Get recent news on any topic

🎭 Personas

Customize AI behavior with 12 built-in personas — or create your own:

  • Software Developer, Physics Expert, Fitness Expert, Stoic Philosopher
  • Product Manager, Technical Writer, Creative Writer
  • TPM, Engineering Manager, Executive, Office Assistant

Edit any persona's system prompt directly in settings. Create custom personas with your own name and instructions. Restore defaults anytime.

📋 Saved Prompts

Save frequently-used prompts and run them instantly:

  • Each saved prompt registers as a command in the palette — assign hotkeys to your favorites
  • Fuzzy search picker to quickly find and run any saved prompt
  • Full CRUD in settings: create, edit, rename, delete
  • Existing single "Custom Prompt" field still works alongside saved prompts

🧠 Reasoning Extraction

Models like DeepSeek and Qwen wrap their thinking process in <think> blocks. Enable reasoning extraction to automatically strip these from output:

  • Strips <think>, <reasoning>, and <thought> blocks by default
  • Configurable markers via JSON for custom formats
  • Applied to text commands, chat, and RAG responses

🔍 Model Picker

Browse available models directly from your server:

  • Browse button next to Chat and Embedding model fields
  • Fetches from /v1/models endpoint (works with Ollama, LM Studio, vLLM, and others)
  • Searchable picker modal — no more guessing model names
  • Manual text entry always available as fallback

⚙️ Organized Settings

Settings organized into clear sections:

  • Connection & Provider
  • Models (with Browse)
  • Chat & Personas
  • Output & Reasoning
  • Custom Prompt & Saved Prompts
  • Notes Index (RAG)
  • Integrations
  • About & Changelog

🎯 Command Organization

All commands use clear prefixes for easy discovery:

  • Text: - Text transformation commands
  • Prompt: - Your saved custom prompts (hotkey-assignable)
  • Chat: - Open chat interfaces
  • Workflow: - Run review workflows
  • Web: - Web and news search
  • Notes: - RAG indexing and management
  • Settings: - Plugin configuration

Installation

  1. Open Obsidian Settings → Community Plugins
  2. Click "Browse" and search for "Local LLM Helper"
  3. Install and enable the plugin

Manual Installation

  1. Download the latest release from GitHub Releases
  2. Extract to your vault's .obsidian/plugins/ folder
  3. Enable in Settings → Community Plugins

Quick Start

1. Configure Your Provider

Go to Settings → Local LLM Helper and choose your provider:

For Ollama:

  • Server: http://localhost:11434
  • Model: Click Browse to pick from available models, or type llama3.2
  • Embedding Model: mxbai-embed-large

For OpenAI:

  • Server: https://api.openai.com
  • API Key: Your OpenAI API key
  • Model: gpt-4 or gpt-3.5-turbo

For LM Studio:

  • Server: http://localhost:1234
  • Model: Click Browse to see loaded models, or leave blank for default

2. Try Text Commands

  1. Select some text in a note
  2. Open Command Palette (Cmd/Ctrl + P)
  3. Type "Text:" to see available commands
  4. Choose an action like "Summarize" or "Make Professional"

3. Index Your Notes

  1. Command Palette → "Notes: Index notes for RAG"
  2. Wait for indexing to complete
  3. Command Palette → "Chat: RAG Chat" to chat with your notes
  4. Command Palette → "Notes: Open related notes" to keep nearby notes visible while writing

4. Run a Workflow

  1. Command Palette → "Workflow: Run workflow..."
  2. Choose a built-in recipe
  3. Confirm the note scope and output target
  4. Review the generated approval card before writing anything to your vault

Notes:

  • Workflows use the same indexed-note context as RAG chat, so run Notes: Index notes for RAG first if your vault changed.
  • Meeting notes to tasks and Project status summary require a target note to append into.
  • Workflow approvals still work even if the chat-only Vault Actions toggle is off.

Changelog

Unreleased

Workflow Automation

  • Added a manual workflow runner for weekly review, meeting notes to tasks, and project status summary recipes
  • Reused note, folder, and tag scopes across RAG chat and workflow runs
  • Kept all workflow note writes behind explicit approval cards

Related Notes Sidebar

  • Added a persistent "Related Notes" workspace view
  • The sidebar updates from the current note or selected text
  • Open matching notes directly or start RAG chat with selected related notes

v2.4.0

Saved Prompts

  • Save frequently-used prompts with title and text
  • Each saved prompt registers as a command — assign hotkeys to your favorites
  • Fuzzy-searchable picker modal (Text: Run saved prompt...)
  • Full CRUD in settings: create, edit, rename, delete

Persona Editing

  • View and edit any persona's system prompt in settings
  • Create fully custom personas with your own name and instructions
  • Delete custom personas, restore all defaults with one click
  • Same backward-compatible persona keys — existing settings just work

Reasoning Extraction

  • Toggle to strip <think>, <reasoning>, <thought> blocks from LLM output
  • Useful for DeepSeek, Qwen, and other models that expose chain-of-thought
  • Configurable markers via JSON for custom formats
  • Applied to text commands, general chat, and RAG chat

Model Picker

  • Browse button next to Chat and Embedding model fields
  • Fetches available models from your server's /v1/models endpoint
  • Searchable picker modal — works with Ollama, LM Studio, vLLM, and others
  • Manual text entry always available as fallback

Bug Fixes

  • Fixed server URL normalization to prevent missing protocol errors
  • Resolved security vulnerabilities and cleaned up dependencies

v2.3.1

New Features

  • Redesigned RAG Chat: New interface with welcome message, example queries, and clickable sources
  • Changelog in Settings: View version history anytime from Settings → About

RAG Improvements

  • Smarter chunking with overlap for better context preservation
  • Incremental indexing - only re-indexes changed files
  • Content preprocessing - strips frontmatter and cleans markdown
  • Better error messages when notes aren't indexed

UI/UX

  • Commands organized with prefixes (Text:, Chat:, Web:, Notes:)
  • Ribbon menu grouped logically with separators
  • Settings page organized into 7 clear sections
  • All prompts improved for better LLM output
  • Persona prompts rewritten to be more actionable

v2.3.0

  • Edit with Prompt: Edit selected text with preset or custom prompts
  • Security Updates: Fixed dependency vulnerabilities
  • Better Error Messages: Clearer embedding failure messages

v2.2.1

  • Fixed re-embedding issue on every restart
  • Proper persistent storage for embeddings
  • Storage diagnostics command

v2.2.0

  • Multi-provider support (Ollama, OpenAI, LM Studio)
  • Easy provider switching in settings
  • Configurable temperature and max tokens

v1.1.3

  • Chat history stored (3 previous exchanges)
  • Response formatting options

v1.1.1 - v1.1.2

  • LLM chat functionality with personas
  • Modern chat interface UI

v1.0.10

  • Ollama support
  • OpenAI API compatibility

v1.0.9

  • Added persona selection

v1.0.8

  • Replace/append output options

v1.0.7

  • Command palette integration

v1.0.6

  • Custom prompt capability
  • Action items generation

v1.0.5

  • Streaming output support

v1.0.4

  • Initial release with summarize, rephrase, and generate

Requirements

  • Obsidian 1.7.0 or later
  • Any LLM server with OpenAI-compatible API (Ollama, LM Studio, OpenAI, vLLM, etc.)

Support

License

MIT License - see LICENSE for details.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
ChatGPT MD
3 years ago by Bram Adams
A (nearly) seamless integration of ChatGPT into Obsidian.
BMO Chatbot
3 years ago by Longy2k
Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, Google Gemini, Mistral AI, OpenAI, and more for Obsidian.
SystemSculpt AI
2 years ago by SystemSculpt.com
Enhance your Obsidian App experience with AI-powered tools for note-taking, task management, and much, MUCH more.
YOLO
4 months ago by Lapis0x0
Smart, snappy, and multilingual AI assistant for your vault.
Ollama
3 years ago by hinterdupfinger
Prompt ChatGPT
2 years ago by Coduhuey
Copilot auto completion
3 years ago by Jordi Smit
Chat with Bard
3 years ago by Artel250
An obsidian plugin that enables you to talk to Google Gemnini directly
Cannoli
3 years ago by blindmansion
Cannoli allows you to build and run no-code LLM scripts using the Obsidian Canvas editor.
Ollama Chat
2 years ago by Brumik
A plugin for chatting with you obsidian notes trough local Ollama LLM instead of Chat GTP.
Large Language Models
a year ago by eharris128, r-mahoney, & jsmorabito
The LLM plugin gives Obsidian users access to local and web-based, large language models via several chat interfaces: modal, widget, FAB window, and commands.
Nexus AI Chat Importer
2 years ago by Superkikim
Caret
2 years ago by Jake Colling
Caret, an Obsidian Plugin
Flashcards LLM
3 years ago by Marco Pampaloni
Use Large Language Models (such as ChatGPT) to automatically generate flashcards from obsidian notes
Chat Stream
3 years ago by Ryan P Smith
Obsidian canvas plugin for using AI completion with threads of canvas nodes
LLM Summary
2 years ago by QSun
wip
Augmented Canvas
2 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
AI Agent
7 months ago by Manuel Magaña López
Empower your Obsidian vault with Google Gemini.
AI Editor
3 years ago by Zekun Shen
Gladdis
3 years ago by Aurélien Stébé
Gladdis (Generative Language Artificial Dedicated & Diligent Intelligence System) - it's an AI chatbot.
LLM Test Generator
a year ago by Aldo E George
Steward
6 months ago by Dang Nguyen
A vault-specific agent equipped with agentic capacity, fast search, flexible commands, vault management, and terminals to "jump" into other CLI agents, such as Claude, Gemini, etc.
Smart Export
2 months ago by Iván Sotillo
Plugin that follows wikilinks to a configurable depth, joining the notes into a single export.
Reason
2 years ago by Joshua Pham
Digest your Obsidian notes
LLM workspace
a year ago by Olivér Falvai
AI Chat
2 years ago by arenasys
LLM Tagger
a year ago by David Jayatillake
Canvas LLM
7 months ago by Mike Farlenkov
A canvas-like UI to talk with LLMs in Obsidian.
Pure Chat LLM
a year ago by Justice Vellacott
Turn notes into conversations with chatGPT or better yet Ollama
Markpilot
2 years ago by Taichi Maeda
AI-powered inline completions and chat view for Obsidian
OpenAugi
a year ago by Chris Lettieri
The self-organizing second brain. Augmented intelligence for thinkers.
AI Chat as Markdown
2 years ago by Charl P. Botha
Simple Prompt
2 years ago by David Zachariae
Simple Prompt Plugin is a plugin for Obsidian that allows you generate content in your notes using LLMs.
WhatsApp backup importer
a year ago by Luigi Cerone
Obsidian plugin that allows you to import exported WhatsApp chat archives (in .zip format) into your vault.
LLM docs
a year ago by Shane Lamb
Chat with LLM in regular markdown files in Obsidian
packUp4AI
9 months ago by Jeffry
An Obsidian plugin that helps you manage context for external LLM apps.
Image to notes by Photes.IO
2 years ago by Kanaries Data Inc.
AI Image to text notes plugin in obsidian
Ayanite
2 years ago by jemstelos
LLM Shortcut
9 months ago by Viktor Chernodub
A plugin for Obsidian that provides a way to create shortcuts for commands powered by LLM capabilities.
PromptCrafter
2 years ago by Fabrice Hong
Create reusable, modular prompts in Obsidian
Notes Refresher
2 years ago by Connor Park
Obsidian plugin for AI-generated note refreshers
NoteSmith
8 months ago by csteamengine
Chat clips
a year ago by sleepingraven
Record chat in ordinary markdown list.
On This Day I
a year ago by Ben Stuart
AI tools for Daily Notes, an Obsidian Plugin