-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
Install steps for DeepLore. Install the extension, point it at an Obsidian vault, then either run the setup wizard (/dle-setup) or configure manually.
- SillyTavern v1.12.14+
- Obsidian with the Local REST API community plugin installed and enabled
- A vault for your lore. Your existing Obsidian vault works;
/dle-importconverts SillyTavern World Info JSON into vault entries - For AI search (optional): a saved Connection Manager profile in SillyTavern (any provider), or a custom proxy reachable via SillyTavern's CORS proxy
Important
If you previously ran the older standalone sillytavern-DeepLore extension, uninstall it first. Running both at once corrupts prompt injection.
-
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.
Tip
Run /dle-setup in the SillyTavern chat input to use the guided setup wizard. It walks through vault connection, tags, matching, AI search, the Librarian, vault structure, and lorebook import in one flow. See Setup Wizard.
The rest of this section covers manual setup. Skip it if you ran the wizard.
- In Obsidian, open Settings → Community Plugins and install/enable Local REST API
- Go to Settings → Local REST API, note the API port (default
27123for HTTP), and copy the API key - In SillyTavern, go to Extensions → DeepLore
- Enter the port and API key in the connection fields
- Click Test All. You should see a success message
- Check Enable DeepLore
- Click Refresh Index to pull entries from your vault
Note
HTTP is recommended. HTTPS requires installing the Local REST API plugin's self-signed certificate to your OS trust store, and DLE does not bundle a setup walkthrough for that. If you need HTTPS, see the Local REST API author's guide on trusting the certificate.
Any entries in your vault tagged lorebook (or whatever tag you configured) match by keywords during generation. See Writing Vault Entries for entry format.
AI search adds a second pipeline stage: after keyword pre-filtering, an AI model reads compact summaries of the candidates and selects the contextually relevant ones. See AI Search for the full mechanism.
Reuses an existing SillyTavern API connection. No extra software.
- Confirm you have at least one API connection set up in SillyTavern and saved as a Connection Manager profile
- In DLE settings, scroll to AI Search
- Check Enable AI Search
- Set connection mode to Connection Profile (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
Routes AI search calls through an external proxy server via SillyTavern's built-in CORS proxy.
- Install and start a compatible proxy such as claude-code-proxy (defaults to
http://localhost:42069) - Open
SillyTavern/config.yamland setenableCorsProxy: true, then restart SillyTavern - In DLE settings, scroll 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
Warning
Without enableCorsProxy: true in config.yaml, proxy mode throws a descriptive error. Profile mode does not need it.
If you installed via the built-in installer, SillyTavern shows 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: Default is
27123(HTTP);27124if you configured HTTPS. The port in DLE settings must match what Local REST API is using. - Check the API key: Copy it fresh from Obsidian Settings → Local REST API. Keys regenerate when the plugin is reinstalled.
- Firewall: If SillyTavern and Obsidian run on different machines, open the port on the host firewall.
- Connection Profile mode: Confirm 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). ConfirmenableCorsProxy: 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. See Settings Reference.
-
Check your tags: Entries must carry the
lorebooktag (or whatever you set as the lorebook tag). The tag belongs in the frontmattertagsarray. - Check the vault directory: DLE scans the entire vault by default. Folder filter in settings restricts it if you want.
-
Check frontmatter format:
keysand other fields must be valid YAML. See Writing Vault Entries.
-
Check the extensions folder: The extension lives at
SillyTavern/data/default-user/extensions/sillytavern-DeepLore-Enhanced/withmanifest.jsonat the root. - Check SillyTavern version: DeepLore requires SillyTavern v1.12.14+.
-
Clear browser cache: Hard-refresh (
Ctrl+Shift+R) or clear cache and reload.
DeepLore Wiki
Getting started
Features
Reference
Help