obsidiantools
obsidiantools copied to clipboard
Incremental refresh
Hey, for https://github.com/louis030195/obsidian-ava, I'm trying to implement increment refresh of the state of the vault.
Concretely, I build sentence embeddings of the whole vault and would like to re-compute embeddings every time a note is updated/deleted/created.
Do you see any way of doing this incrementally rather than reloading the vault and recomputing everything every time? (It takes ~1 min on mps device on my 500k words vault)
Ideally, I'd see maybe an API that let me listen to vault changes with callback(s) in this library?
Thanks 🚀😃