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.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
Set Up an AI Provider
- Install Ollama
- Pull a model:
- In Obsidian, go to Settings → AI Providers → Add Provider → Ollama
- Set URL:
http://localhost:11434 - Select model:
gemma2:latest
Configure Local GPT
- Open Settings → Local GPT
- Under Main Provider, select the AI provider you just configured
- (Optional) Configure Vision Provider and Embedding Provider
Step 2: Set Up Hotkeys (Recommended)
For the best experience, assign keyboard shortcuts:Open Hotkeys
Assign Context Menu Hotkey
Local GPT: Show context menu and assign a shortcut like:- Mac:
Cmd + M - Windows/Linux:
Ctrl + M
Assign Action Palette Hotkey
Local GPT: Action Palette and assign a shortcut like:- Mac:
Cmd + J - Windows/Linux:
Ctrl + J
Step 3: Run Your First Action
Using the Context Menu
The context menu provides quick access to your saved actions:Select Text
Open Context Menu
Cmd/Ctrl + M)Choose an Action
- 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
See Results
Using the Action Palette
The Action Palette is perfect for one-time prompts and quick questions:Open Action Palette
Cmd/Ctrl + J) or use the command palette to run Local GPT: Action PaletteType Your Prompt
(Optional) Select Context Files
(Optional) Choose a System Prompt
Submit
Enter to run the prompt. The AI response appears at your cursor position.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
Create Linked Notes
Run Action with Context
- Select the question text
- Open the context menu
- Choose an action like General help
- Read the content of
Requirements.mdandTimeline.md - Include that context in the AI prompt
- Generate a response based on your entire knowledge base
[[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
Embed an Image
Select Image and Text
Run Action
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
Use Context
Iterate
Create Custom Actions
Keyboard Shortcuts Reference
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