brianpetro / obsidian-smart-connections

Chat with your notes & see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
https://smartconnections.app
GNU General Public License v3.0
2.61k stars 176 forks source link

smart-connections doesn't create new bindings to notes or blocks #822

Open Txindoki666 opened 4 days ago

Txindoki666 commented 4 days ago

Greetings, a few weeks ago I had a problem with smart-connections so I did a reinstall from 0. Finally the problem was in the GPU configuration, which was fixed thanks to the help I received here. When I restored the vault I didn't include the smart-connections folder because I thought it might be corrupted and preferred that I did the whole process again. In any case I have the backup of the old folder. However, I have noticed that the add-in is not creating new embeds, either related notes or note blocks. It says context is missing, but they are 400 to 7000 word notes. It pops up a message stating “Error in embedding search. See console for details.” I paste screenshots of the current configuration and console. Thanks for your help.

SYSTEM INFO: Obsidian version: v1.6.7 Installer version: v1.6.7 Operating system: Windows 10 Pro 10.0.19045 Login status: not logged in Insider build toggle: off Live preview: on Base theme: dark Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 25 Plugins enabled: 25 1: Smart Connections v2.2.81 2: Kobo Highlights Importer v2.0.0 3: Omnisearch v1.24.1 4: Recent Files v1.6.0 5: File Tree Alternative v2.6.0 6: Editing Toolbar v2.4.16 7: Tag Wrangler v0.6.1 8: Kanban v2.0.51 9: Advanced Canvas v3.1.0 10: LanguageTool Integration v0.3.7 11: Text Extractor v0.5.2 12: Markmind v3.0.4 13: Auto Link Title v1.5.4 14: Calibre v1.0.8 15: Copilot v2.6.11 16: Copy Block Link v1.0.4 17: Extract Highlights v0.0.18 18: Hover Editor v0.11.20 19: Link Exploder v0.3.0 20: PDF++ v0.40.11 21: Reference Map v1.8.1 22: Settings Search v1.3.10 23: Style Settings v1.0.9 24: AI image analyzer v0.1.10 25: Translate v1.4.9

imagen imagen imagen imagen imagen imagen

brianpetro commented 4 days ago

Hi @Txindoki666

Have you restarted obsidian since turning on that "Legacy transformers" setting? Usually that turned on solves the errors in the screenshots.

🌴

Txindoki666 commented 4 days ago

Yes, of course. I understand that restoring means closing and opening obsidian. I paste screenshots of what the blocks look like from the last notes.

This is a note from a few hours ago: imagen

This is a note from several months ago and you can see the missing blocks: imagen

imagen imagen imagen

brianpetro commented 4 days ago

The error looks like it's trying to find connections for an unembedded note.

Try "Refresh All (prune + import)" button and then the "Force Refresh All" buttons

373336600-317d7725-9f85-4d4f-b907-6511f5c9a302

🌴

Txindoki666 commented 3 days ago

Done, I see that although it seems to have improved somewhat there are still quite a few blocks missing as shown in the screenshot. Also the lack of context still appears in new notes like this one.

imagen

This is how the configuration panel looks like.

imagen

imagen

The console shows this:

imagen imagen imagen imagen imagen imagen imagen imagen imagen

Here is the structure of the folders, in case it is useful. I have not touched anything: imagen imagen

brianpetro commented 3 days ago

Thanks for the update and screenshots.

If it's still being problematic, it might be worth deleting the .smart-env folder so that it starts from scratch.

🌴

Txindoki666 commented 1 day ago

Thank you. It has improved a little. However, there are a lot of missing blocks and they do not recover with refresh. Also, note relationships appear that are inconsistent with each other. Two questions does SC work in the background making the connections and blocks? Before I saw that when I made a note the connections and embeddings appeared immediately. Now, in some cases, I see that after a few hours some embeddings or relations appear that were wrong before and then they are coherent, should I wait a few hours to see if SC makes the missing connections? Secondly, I understand that when you indicate delete .smart-env you mean delete the files inside the folder, not the folder itself, then, when I open Obsidian, SC would reindex all the notes automatically, without my intervention, is that so?
I paste screenshots for you to see how it is today. Thanks for your attention and time.

imagen imagen imagen imagen