brianpetro/obsidian-smart-connections

Error while creating embeddings

Opened this issue · 2 comments

Hey - excited to use Smart Connections but I've tried both the local bge-micro-v2 model and the OpenAI text-embedding-3-small models with no luck. Let me describe the problem using the local model.

Steps:

  • Install the plugin
  • Select the 'TaylorAI/bge-micro-v2' Embedding Model
  • Unselect 'Legacy Transformers'

I'm now stuck. Please see the attached screenshot 1. If I go through my notes, there are smart connections for some but not for the vast majority. I've tried to 'Re-load Sources', 'Run Import', 'Refresh All' and 'Force Refresh All' and I still get stuck at some point in the process.

Screenshot 2024-10-06 at 9 11 25 AM

I do get a notification (see screenshot 2), that embeddings are getting created but it stalls at some point right after I get a message about the queue being saved. You'll see the exact error messages in the developer console.
Screenshot 2024-10-06 at 9 06 46 AM

Hope someone can help.

System Info.

  • Smart Connections v2.2.81
  • Obsidian Version 1.6.7 (Installer 1.6.7)
  • Obsidian Sync Enabled
  • MacBook Pro (M1 Pro, 16gb RAM, MacOS 15.0)

Hi @hvhoon

Since this issue happens with both cloud and local models, I think it's likely that an unexpected file type is tripping up the process.

While this shouldn't happen, it has been happening recently due to some bugs. So figuring out if there are any problematic files might get things going for you until I work through those bugs 🌴

Thanks @brianpetro - if there's any way I can help you, please let me know.