The Smart Connections plugin is designed to enhance your Obsidian experience by leveraging AI to find and connect relevant notes. By using AI embeddings, it provides real-time suggestions of related notes through the Smart View, making it easier to discover connections in your vault. The plugin also offers Smart Chat, which enables dynamic conversations with your notes, allowing for better information retrieval and exploration. It supports both local and cloud-based AI models, ensuring privacy and flexibility. Additionally, the plugin offers customizable settings, including note exclusions and integration with AI models like GPT-4, Gemini, and Claude. Overall, it streamlines the process of linking and managing notes, allowing for a more efficient and insightful note-taking experience.
Smart Connections v3
New Features
Smart Chat v1
- Effectively utilizes the Smart Environment architecture to facilitate deeper integration and new features.
Improved Smart Chat UI
- New context builder
- makes managing conversation context easier
- Drag images and notes into the chat window to add as context
- Separate settings tab specifically for chat features
Improved Smart Chat compatibility with Local Models
- Note lookup (RAG) now compatible with models that don't support tool calling
- Disable tool calling in the settings
Ollama embedding adapter
- use Ollama to create embeddings
Fixed
- renders content in connections results when all result items are expanded by default
Housekeeping
- Updated README
- Improved Getting Started section
- Removed extraneous details
- Improved version release process
- Smart Chat
v0
(legacy)- Smart Chat
v0
will continue to be available for a short time and will be removed inv3.1
unless unforeseen issues arise in which case it will be removed sooner. - Smart Chat
v0
code was moved frombrianpetro/jsbrains
to the Smart Connections repo
- Smart Chat
patch v3.0.1
Improved Mobile UX and cleaned up extraneous code.
patch v3.0.3
Fixed issue where connections results would not render if expand-all results was toggled on.
patch v3.0.4
Prevented frontmatter blocks from being included in connections results. Fixed toggle-fold-all logic.
patch v3.0.5
Fixes Ollama Embedding model loading issue in the settings.
patch v3.0.6
Fixed release notes should only show once after update.
patch v3.0.7
Added "current/dynamic" option in bases connection score modal to add score based on current file. Fixed issue causing Ollama to seemingly embed at 0 tokens/sec. Fixed bases integration modal failing on new bases.
patch v3.0.8
- Improved bases integration UX
- prevent throwing error on erroroneous input in
cos_sim
base function - gracefully handle when smart_env is not loaded yet
- prevent throwing error on erroroneous input in
- Reduced max size of markdown file that will be imported from 1MB to 300KB (prevent long initial import)
- advanced configuration available via
smart_sources.obsidian_markdown_source_content_adapter.max_import_size
insmart_env.json
- advanced configuration available via
- Removed deprecated Smart Search API registered to window since
smart_env
object is now globally accessible - Fixed bug causing expanded connections results to render twice
patch v3.0.9
- Reworked the context builder UX in Smart Chat to prevent confusion
- Context is now added to the chat regardless of how the context selector modal is closed
- Removed "Back" button in favor of "Back" suggestion item
- Fixed using
@
to open context selector in Smart Chat- "Done" button now appears in the context selector modal when it is opened from the keyboard
patch v3.0.10
Fixed Google Gemini integration in the new Smart Chat
patch v3.0.11
Fixes unexpected scroll issue when dragging file from connections view (issue #1073)
patch v3.0.12
Fixes pasted text: should paste lines in correct order (no longer reversed)
patch v3.0.13
- Prevents trying to process embed queue if embed model is not loaded
- Particularly for Ollama which may not be turned on when Obsidian starts
- Re-checks for Ollama server in intervals of a minute
- Embed queue can be restarted by clicking "Reload sources" in the Smart Environment settings
patch v3.0.14
- Improved hover popover for blocks in connections results and context builder
- Refactored
context_builder
component to extractcontext_tree
component and prevent passing UI components- these components are frequently re-used, the updated architecture should make it easier to maintain and extend
- Fixed: should not embed blocks with size less than
min_chars
- Fixed: Smart Chat completion requests should have a properly ordered
messages
array
patch v3.0.15
- Fixed: some Ollama embedding models triggering re-embedding every restart
patch v3.0.16
- Fixed: no models available in Ollama should no longer cause issues in the settings
patch v3.0.17
- Improved embedding processing UX
- show notification immediately to allow pausing sooner
- show notification every 30 seconds in addition to every 100 embeddings
- Fixed: Smart Environment settings tab should be visible during "loading" state
- prevents "Loading Obsidian Smart Environment…" message from appearing indefinitely in instances where the environment fails to load from errors related to specific embedding models
patch v3.0.18
- Fixed: Smart Connections view rendering on mobile
- should render when opening the view from the sidebar
- should update the results to the currently active file
patch v3.0.19
- Added: model info to Smart Chat view
- shows before the first message and anytime the model changes since the last message
- Fixed: ChatGPT sign-in with Google account
- should now work as expected
- will require re-signing in to ChatGPT after update
- Fixed: Smart Chat thread adapter should better handle past completions to prevent unexpected behavior
- prevented
build_request
from outputting certain request content unless the completion is the current completion- logic is specific to completion adapters (actions, actions_xml, thread)
- prevented
patch v3.0.20
- Fixed: Smart Environment settings tab should be visible during "loading" and "loaded" states
- Fixed: Open URL externally should use window.open with "_external" if webviewer plugin is installed
patch v3.0.21
- Implemented Smart Completions fallback to Smart Chat configuration
- WHY: enables use via global
smart_env
instance without requiringchat_model
parameters in every request
- WHY: enables use via global
patch v3.0.22
- Improved connections view event handling
- prevent throwing error when no view container is present on iOS
patch v3.0.23
- Added Getting Started guide
- opens automatically for new users
- can be opened manually via command
Show getting started
- can be opened from the connections view "Help" icon
- can be opened from the main settings "Open getting started guide" button
patch v3.0.24
Fix Lookup tab not displaying.
patch v3.0.25
Fixed connections view help button failing to open
patch v3.0.26
Temp disable bases integration since Obsidian changed how the integration works and there is currently no clear path to updating.
patch v3.0.27
- Added: Smart Chat lookup now supports folder-based filtering
- mention a folder when requesting a lookup using self-referential pronoun (no special folder syntax required)
- ex. "Summarize my thoughts on this topic based on notes in my Content folder"
- mention a folder when requesting a lookup using self-referential pronoun (no special folder syntax required)
- Added: Smart Chat system prompt now allows
{{folder_tree}}
variable- this variable will be replaced with the folder tree of the current vault
- useful for providing context about the vault structure to the model
- Improved: Smart Chat system message UI
- now collapses when longer than 10 lines
patch v3.0.28
Fixed: Getting Started slideshow UX on mobile.
patch v3.0.29
- Fixed: prevented regex special characters from throwing error when excluded file/folder contains them
- Fixed: Smart Chat should return lookup context results when Smart Blocks are disabled
patch v3.0.30
- Added: Drag multiple files into the Smart Chat window to add as context
- Fixed: Smart Connections results remain stable when dragging connection from bottom of the list
patch v3.0.31
- Added: Smart Chat: "Retrieve more" button in lookup results
- allows retrieving more results from the lookup
- includes retrieved context in subsequent lookup to provide more context to the model
- Improved: Smart Chat: prior message handling in subsequent completions
patch v3.0.32
- Added: Anthropic Claude Sonnet 4 & Opus 4 to Smart Chat
- Improved: Smart Chat new note button no longer automatically addes open notes as context
- Added: "Add visible" and "Add open" notes options to Smart Context selector
- Added: "Add context" button above chat input on new chat for quick access to context selector
- Fixed: Removing an item in the context selector updates the stats
- Fixed: Smart Chat system message should render no more than once per turn