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.51k stars 172 forks source link

"loading smart connections" #763

Open Marianapanovitch opened 2 weeks ago

Marianapanovitch commented 2 weeks ago

Já tentei fazer de tudo, mas não consigo suprir esse erro. Para mim, quando escolho TayloAI/bge-micro-v2 não aparece o campo para colocar a chave API. Também não aparece a opção para "Model Plataform".

Se tento outro Embendding model, aparece a opção para inserir a chave API, mas não corrige o erro da mesma forma, pois continua congelado em "loading smart connections", e também continua não aparecendo a opção para "Model Plataform".

Enfim, o barra do chat não abre de jeito nenhum. O que eu faço?

Obs. O meu é windows.

print2 print1

Paddy1058 commented 2 weeks ago

I'm also getting the loading message; first I've seen it; SC had been working great.

Ramadas108 commented 2 weeks ago

image Yea, new update is not working... How to revert back?

Ramadas108 commented 2 weeks ago

I disabled the plugin, deleted the folder of smart-connections and downloaded again and it started working again

multicam commented 2 weeks ago

Same problem here -- Noob question: Where is the smart-connections folder?

christianngarcia commented 2 weeks ago

It defaults to a hidden folder but it is in the same folder as your obsidian vault. Look for it using the default file explorer. Not obsidian.

Paddy1058 commented 2 weeks ago

Latest update, tonight, fixed the loading problem. Thanks!

freer123 commented 1 week ago

This issue remained after I upgraded the plugin to 2.1.101 version. Had to revert back to an earlier version.

freer123 commented 1 week ago

Bge-micro-v2 model works well in 2.1.101 version. but when I changed to other models, the plugin said, "loading smart connections."

freer123 commented 1 week ago

Now even the Bge-micro-v2 model doesn't work in 2.1.101 version. No idea what's wrong with the latest upgrade.

freer123 commented 1 week ago

Change "GPU Batch Size" to "1" in the setting. Problem solved.

brianpetro commented 1 week ago

Change "GPU Batch Size" to "1" in the setting. Problem solved.

@freer123 thanks for following up with how you solved this 🙏🌴

EpicPilgrim commented 6 days ago

The suggestions here (changing GPU Batch Size, deleting hidden SC folders, and reinstalling plugin) do not help me. Neither Smart Connections nor Smart Chat load. Both stuck on "Loading Smart Connections...". In the SC plugin settings, I have bge-micro-v2 selected. I feel like there used to be OpenAI models but they no longer exist? And under Smart Chat, the "Model Platform" dropdown is empty, no options there.

I have noticed I get this error in Inspector:

Error loading model TaylorAI/bge-micro-v2: Error: no available backend found. ERR: [webgpu] Error: Failed to get GPU adapter. You may need to enable flag "--enable-unsafe-webgpu" if you are using Chrome.

If I set GPU Batch Size to 0, I get:

Error loading model TaylorAI/bge-micro-v2: Error: no available backend found. ERR: [wasm] SecurityError: Failed to construct 'Worker': Script at 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.0.0-alpha.13' cannot be accessed from origin 'app://obsidian.md'.

I'm not sure what's happened, the SC plugin has changed so much since the first version I installed over a year ago, and it's always worked fine but it's been a few months since I last used it and I barely recognise the settings or the models anymore.

Am running Obsidian 1.6.7 on Ubuntu 24.04 if it's of any assistance.

alvaroaraujojorge commented 6 days ago

For me it's still a problem. Tried all the alternatives above. Let me know if something helped.

utrack commented 3 days ago

I've enabled the Legacy Transformers (v2) and now it works for me...

On v3, I'm getting the same errors as others, no GPU/cannot access from origin

EpicPilgrim commented 3 days ago

I've enabled the Legacy Transformers (v2) and now it works for me...

On v3, I'm getting the same errors as others, no GPU/cannot access from origin

Likewise, this works for me too. I didn't see it there and assumed setting GPU Batch Size to "0 to disable GPU" would do the job.

brianpetro commented 2 days ago

Likewise, this works for me too. I didn't see it there and assumed setting GPU Batch Size to "0 to disable GPU" would do the job.

That's a good assumption, but while 0 batch size forces use of the CPU, that may not fix other incompatibility issues with the version 3 of transformers.