LLM docs

by Shane Lamb
5
4
3
2
1
Score: 52/100

Description

Category: 3rd Party Integrations

The LLM docs plugin lets you interact with large language models directly within your markdown files, treating conversations as editable documents rather than separate chat windows. It integrates with the OpenAI API and is also compatible with self-hosted models like Ollama via an OpenAI-compatible interface. Prompts can include content from linked notes or embedded images, allowing for richer context. The plugin enhances usability with overlays like a 'complete' button and visual loading indicators, and clearly formatted user/assistant response headings make conversations easier to follow. Everything stays local in your vault, blending AI interaction naturally with your existing notes.

Reviews

No reviews yet.

Stats

13
stars
829
downloads
1
forks
331
days
301
days
301
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
4
total issues
0
open issues
4
closed issues
9
commits

RequirementsExperimental

  • OpenAI API key or compatible local LLM endpoint

Latest Version

10 months ago

Changelog

For VIM mode users: auto-enter insert mode when a new LLM document is created.

Changelog: https://github.com/shane-lamb/obsidian-llm-docs/compare/1.2.0...1.3.0

README file from

Github

LLM docs

A plugin for Obsidian (https://obsidian.md) that lets you chat with LLMs in plain markdown files!

Features

  • Use the same Obsidian markdown editor you know and love to chat with LLMs and freely edit conversation history
  • Integrates with the OpenAI API (with plans to support other providers like Google and Anthropic)
  • Also works with self-hosted/local LLMs that expose an OpenAI-compatible API, like Ollama (https://ollama.com)
  • Can follow links to other Obsidian documents included in your prompt, making it easier to include additional context
  • Supports linked/embedded images in prompt

Advantages over similar plugins

The core feature of this plugin is that all chatting is done in plain markdown files which can be freely edited and persisted in your vault along with all your other documents. Most plugins featuring LLM chat aren't built this way, and instead make use of a separate window/UI to facilitate chat. Having said that, there is another great Obsidian plugin called ChatGPT MD which shares this design principle.

Compared to ChatGPT MD, an advantage is that this plugin includes visual overlays like a "complete" button to execute your query and a loading indicator to let you know your query is being executed. The headings for user and assistant responses have also been stylized to make it easier to read and scan through the document. Also, I've supported inline images and linked documents (markdown files) being included as context in the prompt.

In the future I plan to add even more great features, including:

  • Support for other LLM provider APIs, such as Google and Anthropic
  • Tool use, enabling "agentic" behaviour

How to use

1. Update your configuration

Open the Obsidian settings window and select "LLM docs" under "Community plugins":

settings.png

2. Create an LLM document

Create a new document by clicking the LLM docs icon (looks like a robot) in the sidebar, or running the "Create new LLM document" command (use it from the command palette, or assign a keyboard shortcut)

3. Prompt the LLM

Type in your prompt and click "Complete" to generate a response! (or bind a keyboard shortcut)

completion-example.gif

If you like it, I'm grateful for your support!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Text Generator
4 years ago by Noureddine Haouari
Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.
ChatGPT MD
3 years ago by Bram Adams
A (nearly) seamless integration of ChatGPT into Obsidian.
Gene 🧬
3 years ago by Matiss Jurevics
An AI assistant plugin for Obsidian
AI Commander
3 years ago by Simon Yang
Semantic Search
3 years ago by bbawj
Semantic search for Obsidian.md
text2anki-openai
3 years ago by Mani Batra
brAIn
3 years ago by lusob
Silicon AI
3 years ago by deepfates
Add some intelligence to your notes with Silicon AI for Obsidian
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
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.
AI Notes Summary
3 years ago by R. Ian Bull (irbull)
An Obsidian plugin that uses ChatGPT to generate a summary of referenced notes
AI Editor
3 years ago by Zekun Shen
Cannoli
3 years ago by blindmansion
Cannoli allows you to build and run no-code LLM scripts using the Obsidian Canvas editor.
Auto Tag
3 years ago by Control Alt
Easily generate relevant tags for your Obsidian notes.
Chat with Bard
3 years ago by Artel250
An obsidian plugin that enables you to talk to Google Gemnini directly
Canvas LLM Extender
3 years ago by Pasi Saarinen
Let the OpenAI LLM add nodes to your Obsidian canvas
Intelligence
2 years ago by John Mavrick
Ollama Chat
2 years ago by Brumik
A plugin for chatting with you obsidian notes trough local Ollama LLM instead of Chat GTP.
Reason
2 years ago by Joshua Pham
Digest your Obsidian notes
Aloud
2 years ago by Adrian Lyjak
Obsidian TTS Plugin
Markpilot
2 years ago by Taichi Maeda
AI-powered inline completions and chat view for Obsidian
AI for Templater
2 years ago by TfTHacker
Extends Templater with AI Chat commands using the OpenAI Client Library
CoCo AskAI
2 years ago by Yukee
CoCo-AskAI is an Obsidian plugin that enables AI-powered note assistance, enhancing the writing experience with customizable functions.
ai-writer
2 years ago by Donovan Ye
A plugin for Obsidian that uses AI to help you write better and faster.
AI Chat
2 years ago by arenasys
Local LLM Helper
2 years ago by Mani Mohan
An Obsidian plugin to process text, chat with AI, and semantically search your notes — works with any OpenAI-compatible LLM server (Ollama, LM Studio, vLLM, and more).
Ayanite
2 years ago by jemstelos
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.
Explain Selection With AI
2 years ago by Ben Wurster
This is my first go at making an Obsidian plugin to elaborate on and describe selected bits of information and their context.
You and Your Research
2 years ago by Neo Zhang
Notes Refresher
2 years ago by Connor Park
Obsidian plugin for AI-generated note refreshers
Caret
2 years ago by Jake Colling
Caret, an Obsidian Plugin
LLM Summary
2 years ago by QSun
wip
PromptCrafter
2 years ago by Fabrice Hong
Create reusable, modular prompts in Obsidian
LLM workspace
a year ago by Olivér Falvai
Atomizer
a year ago by Zac Bagley
An AI-Driven Obsidian plugin designed to turn lengthy text into insightful atomic notes. Perfect for turning source notes into ideas in a Zettelkasten workflow.
AI-AnkiSync
a year ago by goev
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 Tagger
a year ago by David Jayatillake
Chat clips
a year ago by sleepingraven
Record chat in ordinary markdown list.
Research Quest
a year ago by Nathan Arthur
LLM Test Generator
a year ago by Aldo E George
AI Helper
a year ago by David Connolly
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.
Vault LLM Assistant
a year ago by Brians Tjipto
An obsidian notebook plugin that uses LLM (OpenAI or Gemini) to answer questions and create new notes about your vault
Pure Chat LLM
a year ago by Justice Vellacott
Turn notes into conversations with chatGPT or better yet Ollama
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.
AI Image OCR
9 months ago by Rootiest
Obsidian plugin for AI-powered text extraction from images
NoteSmith
8 months ago by csteamengine
Canvas LLM
7 months ago by Mike Farlenkov
A canvas-like UI to talk with LLMs in Obsidian.
Steward
7 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.
AI Companion
5 months ago by Kowshik
An Obsidian plugin that provides AI assistance using OpenAI's API, triggered by the `/ai` slash command.
YOLO
4 months ago by Lapis0x0
Smart, snappy, and multilingual AI assistant for your vault.
AI Transcriber
4 months ago by Musashino Software
AI-powered speech-to-text transcription using OpenAI GPT-4o and Whisper APIs
Smart Export
2 months ago by Iván Sotillo
Plugin that follows wikilinks to a configurable depth, joining the notes into a single export.