Skip to content

3.0.27

Choose a tag to compare

@brianpetro brianpetro released this 07 Jun 00:58

Smart Connections v3

New Features

Bases integration

  • Introduces new command Add: Connections score base column and modal for selecting note that should be used in the comparison
    • A base file must be open and active for the command to appear
  • Adds a new column to the current that display the connections score (semantic similarity) between each note and a specified file
    • makes cos_sim(file.file, TARGET) available as a bases function

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 in v3.1 unless unforeseen issues arise in which case it will be removed sooner.
    • Smart Chat v0 code was moved from brianpetro/jsbrains to the Smart Connections repo

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
  • 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 in smart_env.json
  • 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 extract context_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)

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 requiring chat_model parameters in every request

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"
  • 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