Get your first AI action running
This guide walks you through using Local GPT for the first time, from installation to running your first AI-powered action.Already installed? Skip to Using the Context Menu.
Prerequisites
Before you begin, you’ll need:- Obsidian 0.15.0 or higher
- Local GPT and AI Providers plugins installed (Installation guide)
- At least one AI provider configured (Ollama, OpenAI, etc.)
Step 1: Install and Configure
Install Required Plugins
Install both the AI Providers and Local GPT plugins from Obsidian’s Community Plugins.See the Installation guide for detailed instructions.
Set Up an AI Provider
For local/offline use (Recommended):
- Install Ollama
- Pull a model:
- In Obsidian, go to Settings → AI Providers → Add Provider → Ollama
- Set URL:
http://localhost:11434 - Select model:
gemma2:latest
Step 2: Set Up Hotkeys (Recommended)
For the best experience, assign keyboard shortcuts:Assign Context Menu Hotkey
Search for
Local GPT: Show context menu and assign a shortcut like:- Mac:
Cmd + M - Windows/Linux:
Ctrl + M
Step 3: Run Your First Action
Using the Context Menu
The context menu provides quick access to your saved actions:Choose an Action
Select an action from the menu:
- Continue writing - Expand your thoughts
- Summarize - Create a concise summary
- Fix spelling and grammar - Proofread the text
- Find action items - Extract tasks
- General help - Use text as a prompt
Using the Action Palette
The Action Palette is perfect for one-time prompts and quick questions:Open Action Palette
Press your hotkey (
Cmd/Ctrl + J) or use the command palette to run Local GPT: Action Palette(Optional) Choose a System Prompt
Click the gear icon to apply a saved system prompt from your actions
Step 4: Try Enhanced Actions (RAG)
Enhanced Actions use RAG to pull context from your vault:Configure Embedding Provider
- Install an embedding model:
- Add it as a provider in AI Providers
- Set it as Embedding Provider in Local GPT settings
RAG works with wiki links (
[[note]]), markdown links, backlinks, and even PDF files. Learn more in the Enhanced Actions guide.Step 5: Work with Images (Vision)
If you have a vision-capable model configured:Configure Vision Provider
- Pull a vision model:
- Add it as a provider in AI Providers
- Set it as Vision Provider in Local GPT settings
Common Workflows
Expanding Draft Notes
Expanding Draft Notes
- Write a rough outline or bullet points
- Select the text
- Use Continue writing to expand it into full paragraphs
Extracting Tasks from Meeting Notes
Extracting Tasks from Meeting Notes
- Write or paste meeting notes
- Select the entire note
- Use Find action items to extract actionable tasks
Fixing Grammar and Style
Fixing Grammar and Style
- Write your content
- Select a paragraph or section
- Use Fix spelling and grammar to polish it
- The text is replaced with the corrected version
Quick Research Questions
Quick Research Questions
- Open the Action Palette (
Cmd/Ctrl + J) - Type a question like “Explain quantum entanglement in simple terms”
- Press Enter - the answer appears at your cursor
Summarizing Linked Notes
Summarizing Linked Notes
- Create a note that links to multiple other notes
- Select a question or prompt
- Run General help - Local GPT reads all linked notes for context
Tips for Better Results
Be Specific
Instead of “improve this”, try “make this more concise” or “add technical details”
Use Context
Link to relevant notes to give AI more context about your work
Iterate
Run actions multiple times with different prompts to refine output
Create Custom Actions
Save frequently used prompts as custom actions for quick access
Keyboard Shortcuts Reference
| Action | Default | Description |
|---|---|---|
| Show Context Menu | Cmd/Ctrl + M | Open action menu on selected text |
| Action Palette | Cmd/Ctrl + J | Open palette for one-time prompts |
| Escape | Esc | Cancel running AI request |
Troubleshooting
Nothing happens when I select text
Nothing happens when I select text
- Make sure Local GPT is enabled in Community Plugins
- Verify you have a Main Provider configured
- Check if Ollama is running:
ollama list
AI responses are slow
AI responses are slow
- Local models depend on your hardware (CPU/GPU)
- Try a smaller model like
gemma2:2borphi3 - Consider using a cloud provider for faster responses
RAG/Enhanced Actions not working
RAG/Enhanced Actions not working
- Ensure you have an Embedding Provider configured
- Pull an embedding model:
ollama pull nomic-embed-text - Check that your notes actually contain links to other files
Vision features not working
Vision features not working
- Configure a separate Vision Provider in settings
- Use a vision model like
llavaorbakllava - Ensure images are embedded with
![[image.png]]syntax
Next Steps
Create Custom Actions
Build actions tailored to your specific workflows
Master the Action Palette
Learn advanced Action Palette features
Understand RAG
Deep dive into how Enhanced Actions work
Prompt Templating
Use advanced prompt templates with variables