Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Explain Selection With AI

bwursterbwurster5k downloads

Use an OpenAI Chat Completion API-compatible LLM endpoint to expand on selected text in the context of your notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

This is a plugin for Obsidian (https://obsidian.md).

This plugin provides an additional element to the editor context menu that will prompt an OpenAI Chat Completion API-compatible AI endpoint to elaborate on the selected text in the surrounding context.

There are three supported ways to set this up:

  1. Using OpenAI
  2. Using Ollama
  3. Running a custom local or remote model

Using OpenAI (recommended)

The AI endpoint is the parameter that defines the LLM that is used for text generation. If you are using OpenAI models, possible options for this field could be

  • gpt-3.5-turbo
  • gpt-4o
  • gpt-4-turbo

If this is the case for you, you will also need to have the OpenAI key field populated with your API key from OpenAI.

If you wish to use other OpenAI model, perform an advanced custom setup with the Base URL set to https://api.openai.com/v1/ and the endpoint set to your desired OpenAI model.

Using Ollama

Ollama is an open-source way to manage locally installed and ran large-language models. Such a system supports the OpenAI Chat Completion API format, so it has been added as an easy integration with support for llama3 and mistral models.

If you wish to use other models at this time, see the next section on configuring alternative local models, setting the Base URL to point at your Ollama instance (http://localhost:11434/v1/ by default) and then set the Endpoint setting to be your desired Ollama model

Using alternative local or remote model (advanced)

If you are not familiar with the Hugging Face Text Generation Interface (TGI), it is not recommended to go this route. Having access to models spun up locally or remotely is a prerequisite for successfully using this interface and is beyond the scope of this documentation.

With this in mind, provide the Base URL and Endpoint settings as well as an optional API Key should your setup necessitate that to interface with your local or remote model.

This is ultimately an "under-the-hood" access to the Chat API to be an option for more advanced users or restricted endpoints.

69%
HealthFair
ReviewSatisfactory
About
Explain selected text using an AI chat-completion model from the editor context menu. Generate contextual, expanded explanations that consider surrounding notes and the selected passage.
AICommandsEditing
Details
Current version
1.0.1
Last updated
2 years ago
Created
2 years ago
Updates
2 releases
Downloads
5k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
bwursterbwurster
benwurster.com
GitHubbwurster
  1. Community
  2. Plugins
  3. AI
  4. Explain Selection With AI

Related plugins

Paste URL into selection

Paste URL "into" selected text.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Vimrc Support

Auto-load a startup file with Vim commands.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Outliner

Work with your lists like in Workflowy or Roam Research.