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.82k stars 185 forks source link

Chatbot returns undefined when looking up vault notes with pronouns (me,I,our...) #789

Open Pepethefrogger opened 2 months ago

Pepethefrogger commented 2 months ago

When using the plugin installed from obsidian, the lookup of notes with the use of keywords (me,I,our...) was not working and was instead returning undefined for the context. upload

Fixed(?) it by adding the path (on line 9499) to each of the nearest objects, since it was being used later for retrieving the file, hence returning undefined. This was done on the downloaded plugin's file main.js, since i didn't find this on the github repo's source (possibly fixed?), but it seemed to be the same on the release files.