Vault LLM Assistant

by Brians Tjipto
5
4
3
2
1
Score: 54/100

Description

The Vault LLM Assistant plugin lets you query your vault's content or generate new content using large language models. It offers two modes 1. query for asking questions and 2. create for drafting full notes with the option to include context from selected folders. Responses come with citations linking back to your source files and can be copied as plain text or markdown. You can also save them directly as notes with AI generated titles. The plugin supports both OpenAI and Google Gemini, with flexible model settings and folder level control for scanning. It's especially useful for summarising scattered notes, exploring complex ideas, or drafting new content faster.

Reviews

No reviews yet.

Stats

16
stars
1,732
downloads
4
forks
339
days
39
days
39
days
3
total PRs
0
open PRs
0
closed PRs
3
merged PRs
3
total issues
0
open issues
3
closed issues
0
commits

RequirementsExperimental

Latest Version

a month ago

Changelog

New Features (credit: @cafesao)

  • Added new models and removing deprecated models.
  • Added a model validation

README file from

Github

Vault LLM Assistant for Obsidian

Features

  • Ask questions about your vault's content and get AI-generated answers
  • Create comprehensive notes on any topic with optional vault context integration
  • Toggle between Query mode and Create mode with a simple dropdown
  • Choose whether to include vault content in your prompts
  • Results include citations and links back to your original notes
  • Copy results as text or markdown with one click
  • Create new notes from responses with AI-generated titles
  • Support for OpenAI GPT, Google Gemini, and Anthropic Claude models
  • Support for local LLM (LM Studio and Ollama)
  • Configure which files and folders to include or exclude from scanning
  • Highlight and copy results easily

For a detailed list of changes between versions, see the Changelog.

Screenshots

Query interface Generated notes view Create interface

Installation

From Obsidian Community Plugins

  1. Open Obsidian Settings → Community Plugins or use this link https://obsidian.md/plugins?id=vault-llm-assistant
  2. Disable Safe Mode if necessary
  3. Click "Browse" and search for "Vault LLM Assistant"
  4. Click Install and enable the plugin

Manual Installation

  1. Download the latest release from the GitHub releases page
  2. Extract the ZIP file to your vault's .obsidian/plugins/ directory
  3. Restart Obsidian and enable the plugin in Settings → Community Plugins

Required Dependencies

After installation, install the required dependencies:

cd [your-vault]/.obsidian/plugins/obsidian-vault-llm-assistant
npm install

Usage

Basic Usage

  1. Click the Vault LLM Assistant icon in the left sidebar ribbon
  2. Select your desired mode from the dropdown (Query or Create)
  3. Optionally toggle "Use vault content" to include or exclude your vault's content in prompts
  4. Type your question or topic
  5. Click "Ask" (in Query mode) or "Create" (in Create mode) or press Ctrl+Enter (Cmd+Enter on Mac)
  6. View the AI-generated response with citations to your notes

Modes

  • Query Mode: Ask questions about your vault's content and get AI-generated answers
  • Create Mode: Generate comprehensive notes on any topic, with or without using your vault content as context

Response Actions

After receiving a response, you can:

  • Highlight and copy text: Select text normally as the response is fully selectable
  • Copy Text: Click the "Copy Text" button to copy the response as plain text
  • Copy Markdown: Click the "Copy Markdown" button to copy the response with markdown formatting
  • Create Note: Click the "Create Note" button to save the response as a new note in your vault

Configuration Options

Access plugin settings via Settings → Community Plugins → Vault LLM Assistant:

  • LLM Provider: Choose between OpenAI GPT and Google Gemini
  • API Key: Enter your API key for the selected provider
  • Model: Select which AI model to use
  • Max Tokens & Temperature: Control response length and creativity
  • Use Vault Content in Prompts: Toggle whether to include vault content in AI prompts
  • Mode: Select the current mode (Query or Create)
  • Default Folder for New Notes: Set where new notes will be saved
  • Generate Note Titles with LLM: Toggle whether to use AI for generating note titles
  • Include/Exclude Folders: Specify which folders to include or exclude from scanning

API Keys

Local Development

To set up for local development:

# Clone the repository
git clone https://github.com/brianstm/obsidian-vault-llm-assistant.git

# Enter the project directory
cd obsidian-vault-llm-assistant

# Install dependencies
npm install

# Start development server with hot-reload
npm run dev

Troubleshooting

If you encounter issues:

  1. Verify your API key is correct and active
  2. Check that you've installed all dependencies with npm install
  3. Ensure your API key has access to the models you've selected
  4. Check console logs for specific error messages (Ctrl+Shift+I in Obsidian)

License

This project is licensed under the MIT License.

Credits


If you find this plugin helpful, please consider starring the GitHub repository!

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.
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
Ring a secretary
3 years ago by vorotamoroz
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
Pieces for Developers
3 years ago by Pieces For Developers
Pieces' powerful extension for Obsidian-MD that allows users to access their code snippets directly within the Obsidian workspace
AI Notes Summary
3 years ago by R. Ian Bull (irbull)
An Obsidian plugin that uses ChatGPT to generate a summary of referenced notes
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
2 years ago by Pasi Saarinen
Let the OpenAI LLM add nodes to your Obsidian canvas
Intelligence
2 years ago by John Mavrick
Aloud
2 years ago by Adrian Lyjak
Obsidian TTS Plugin
MantouAI
2 years ago by Morino Pan
MantouAI—— 让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.
Rapid AI
2 years ago by Rapid AI
AI Assistant for selected text and generating content with Markdown. Shortcuts and quick action buttons provide instant AI assistance. It provides a high availability API for unlimited Chat GPT request rates, so you can ensure smooth work for any workload.
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
Gemini Generator
2 years ago by Bjarne Rentz
Small Obsidian plugin that uses Googles Gemini to genrate notes
Notes Refresher
2 years ago by Connor Park
Obsidian plugin for AI-generated note refreshers
Gemini Scribe
a year ago by Allen Hutchison
An obsidian plugin to interact with Google Gemini
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
CAO
a year ago by Godot
Claude AI for Obsidian
hello nemesis
a year ago by Dian
Research Quest
a year ago by Nathan Arthur
AI Helper
a year ago by David Connolly
WeWrite
a year ago by Learner Chen
Obsidian plugin to render note as WeChat MP article.
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.
LLM docs
a year ago by Shane Lamb
Chat with LLM in regular markdown files in Obsidian
deepseek-ai-assistant
10 months ago by algernon
Random Wikipedia Article
9 months ago by SpencerF718
An Obsidian plugin to generate a note of a random Wikipedia article.
Publish Note to Mowen Note
9 months ago by ziyou
This is a mowen plugin for Obsidian (https://obsidian.md)
AI Image OCR
8 months ago by Rootiest
Obsidian plugin for AI-powered text extraction from images
NoteSmith
8 months ago by csteamengine
VaultAI
8 months ago by Tharushka Dinujaya
An AI chatbot plugin for Obsidian using the Gemini API for note summarization, content generation, and more. Enhance your workflow with AI assistance like the Notion AI bot.
AI Companion
5 months ago by Kowshik
An Obsidian plugin that provides AI assistance using OpenAI's API, triggered by the `/ai` slash command.
AI Transcriber
3 months ago by Musashino Software
AI-powered speech-to-text transcription using OpenAI GPT-4o and Whisper APIs