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

Home Page:https://smartconnections.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Irrelevant Connections with "NaN" instead of a number

adrienneteicher opened this issue · comments

For a lot of my notes, the smart connections plugin is linking to notes that have no obvious connection to the note at hand, and instead of a number indictating the relevance "49" or whatever, it says "NaN" - not a number. This is happening even after a "Force Refresh"

Hi @adrienneteicher

Which embedding model are you using?

If you switch to BGE-micro-v2 or an OpenAI model then everything will probably work as expected.

Hi @brianpetro,

I've always used OpenAI models. In particular:

OpenAI Text-3 Large (for Notes)
OpenAI Text-3 Small (for Embedding)

I did force_refresh and for now things are good. Will let you know if the error occurs again.