I have installed Smart Connections plugin and connected it to a locally installed Ollama LLM and it is working with all “static” content on my database (i.e. the one present in .md files if I open them in external editores).
However, I have some dataview queries: for example a query on a note “Person A” that pulls all tasks connected to that person and that are scattered in my obsidian folder. But when I ask the LLM about that person tasks, it can’t find them.
Is this a limitation of Smart Connections plugin? Thank you.
Think of it as static = physical, dynamic = virtual. The plugin needs to read (and firstly, index) and extract information from physically available data.
If this is important to you, try freezing the queries into static form; look up dv.queryMarkdown. But I reckon you’d need to restart Obsidian or the plugin to pick up on the outstanding new file with the frozen query.
The current chat in the Smart Connections plugin does not handle Dataview, however, its successor does! I’m a big user of Dataview so getting it working was a priority for me.
There will still be some time before Dataview is utilized by the embeddings (lots to think through in terms of how/when those dynamically rendered contents get outdated/updated).
Here is a quick preview of the new plugin (currently in beta testing with Smart Connections supporters) using the same query and note as context:
On the left is the new chat, and on the right the old chat.
I do plan on releasing the new Smart Chat as open-source by the end of the month with all the features that were in the original Smart Connections version plus some.