-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
Step-by-step guide to installing and configuring DeepLore Enhanced.
Before you begin, make sure you have:
- SillyTavern 1.12.6+
- Obsidian with the Local REST API community plugin installed and enabled
-
For AI search (one of):
- A saved Connection Manager profile in SillyTavern (any provider: Anthropic, OpenAI, OpenRouter, etc.)
-
claude-code-proxy running locally (requires
enableCorsProxy: trueinconfig.yaml)
Do NOT run both DeepLore and DeepLore Enhanced. They will conflict. Pick one.
- Open SillyTavern
- Go to the Extensions panel (puzzle piece icon)
- Click Install Extension
- Paste the URL:
https://github.com/pixelnull/sillytavern-DeepLore-Enhanced - Click Install
cd SillyTavern/data/default-user/extensions
git clone https://github.com/pixelnull/sillytavern-DeepLore-Enhanced.gitStop and restart SillyTavern to load the new extension.
Quick alternative: Run
/dle-setupin the SillyTavern chat input to use the guided setup wizard. It walks through Obsidian vault connection, tag configuration, and search mode selection. Note: AI search connection (profile or proxy) must still be configured separately in the settings panel.
- In Obsidian, open Settings > Community Plugins and install/enable Local REST API
- Go to Settings > Local REST API and note the API port (default:
27123) and copy the API key - In SillyTavern, go to Extensions > DeepLore Enhanced
- Enter the port and API key in the connection fields
- Click Test All. You should see a success message
- Check Enable DeepLore Enhanced
- Click Refresh Index to pull entries from your vault
At this point, any entries in your vault tagged with #lorebook will be matched by keywords during generation. See Writing Vault Entries for how to create and tag entries.
AI search adds a second stage to the pipeline: after keyword pre-filtering, an AI model reviews the candidate entries and selects the most contextually relevant ones. See AI Search for a full explanation of how it works.
This uses an existing SillyTavern API connection with no extra software.
- Make sure you have at least one API connection set up in SillyTavern and saved as a Connection Manager profile
- In DLE settings, scroll down to AI Search
- Check Enable AI Search
- Set connection mode to Connection Profile (this is the default)
- Choose your profile from the dropdown
- Optionally set a Model Override (e.g., to force a cheaper model like Haiku)
- Click Test AI Search to verify
This routes AI requests through an external proxy server via SillyTavern's built-in CORS proxy.
- Install and start claude-code-proxy (defaults to
http://localhost:42069) -
Enable the CORS proxy: Open
SillyTavern/config.yamland setenableCorsProxy: true, then restart SillyTavern. - In DLE settings, scroll down to AI Search
- Check Enable AI Search
- Set connection mode to Custom Proxy
- Set the Proxy URL (e.g.,
http://localhost:42069) - Set the Model Override (e.g.,
claude-haiku-4-5-20251001) - Click Test AI Search to verify
If you installed via the built-in installer, SillyTavern will show an update notification when a new version is available. Click Update in the Extensions panel.
If you installed manually, pull the latest changes:
cd SillyTavern/data/default-user/extensions/sillytavern-DeepLore-Enhanced
git pull- Is Obsidian open? The Local REST API plugin only serves requests while Obsidian is running.
- Is the Local REST API plugin enabled? Check Obsidian Settings > Community Plugins.
-
Check the port: The default is
27123. Make sure the port in DLE settings matches what Local REST API is using. - Check the API key: Copy it fresh from Obsidian Settings > Local REST API. Keys are regenerated when the plugin is reinstalled.
- Firewall: If SillyTavern and Obsidian are on different machines, ensure the port is open.
- Connection Profile mode: Make sure the selected profile still exists and its underlying API connection works. Test the connection in SillyTavern's main API panel first.
-
Custom Proxy mode: Verify the proxy is running (
curl http://localhost:42069or equivalent). EnsureenableCorsProxy: trueis set inconfig.yaml. Check the proxy's console for errors. - Timeout: AI search has a configurable timeout (default 10 seconds). Slow providers may need a longer timeout in Settings Reference.
-
Check your tags: Entries must have the
#lorebooktag (or whatever you set as the lorebook tag in settings). The tag must be in the frontmattertagsarray. - Check the vault directory: By default, DLE scans the entire vault. If you have entries in a specific folder, make sure there are no path issues.
- Check frontmatter format: Keys and other fields must be valid YAML. See Writing Vault Entries for the correct format.
-
Check the extensions folder: The extension should be at
SillyTavern/data/default-user/extensions/sillytavern-DeepLore-Enhanced/withmanifest.jsonat the root. - Check SillyTavern version: DeepLore Enhanced requires SillyTavern 1.12.6 or later.
-
Clear browser cache: Hard-refresh (
Ctrl+Shift+R) or clear cache and reload.
DeepLore Wiki
Getting started
Features
Reference
Help