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.25k stars 159 forks source link

Smart Connections can't find where a given information is in my vault #538

Open sulth1 opened 3 months ago

sulth1 commented 3 months ago

Hello,

First, I would like to preface this by saying that I am not sure if this is a bug, or if my request is simply not within the intended purpose of the plugin.

My vault contains around 60 000 words in 150 notes, and is embedded using Open AI Text-3 Large for notes and blocks.

I use Obsidian for literature research. I import quotes from a text, and move them in their appropriated note. Sometimes, when dealing with a new quote, I do remember already having seen a similar one, but I don't remember in which note I put it. So, I am trying to use Smart Connections for that purpose; by asking something along the lines of "In which of my notes is there a mention of a XYZ ?"

The results are often not good. Is it due to the context window? Is it too complicated for the plugin? Is the prompt wrong? Or is it something else?

Thank you, and have a nice day.

brianpetro commented 3 months ago

Hi @sulth1

If you're simply looking for keyword mentions then the traditional lexical search will be better than semantic search.

Semantic search, what's powered by embeddings, is often best used by creating a hypothetical document and using that to surface similar documents. Keywords are not matched in this process.

I hope that makes sense!

🌴