obsidian-smart-connections
obsidian-smart-connections copied to clipboard
Support for pluginAPI?
Hi, I'm working on a plugin that uses smart-connections programmatically. but the api seems to change from version to version
i used to use something like this:
app.plugins.plugins["smart-connections"].file_retriever(r.link, { lines: 10, max_chars: 1000 })
and now its something like this
app.plugins.plugins["smart-connections"].brain.smart_blocks.get(r.link, { lines: 10, max_chars: 1000 }).get_as_context_for_chat()
it would be nice to have a isolated class with relevent functions like these, that class will be used with pluginAPI
Thanks for this awsome plugin