You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ For easiest local development, keep this repository inside:
81
81
1. Open **Settings → Obsidian RAG Integration → LightRAG**.
82
82
2. Enable LightRAG and set the server URL, for example `http://192.168.50.209:9621`.
83
83
3. Select **Test connection** to verify `/health`.
84
-
4. Keep **Auto sync Markdown** enabled or select **Start sync** to sync immediately. Renames and deletions remove the corresponding LightRAG document, and a full **Start sync** also reconciles the server by removing orphaned documents whose vault files no longer exist (only documents previously created by this plugin are touched).
84
+
4. Keep **Auto sync Markdown** enabled or select **Start sync** to sync immediately. Edits are debounced (continuous typing is coalesced into a single re-sync after you pause, with a hard cap so a long editing session still syncs periodically), and the periodic scan defers to files you are actively editing to avoid re-processing intermediate states. Renames and deletions remove the corresponding LightRAG document, and a full **Start sync** also reconciles the server by removing orphaned documents whose vault files no longer exist (only documents previously created by this plugin are touched).
85
85
5. In **Vault chat** mode, the default answer mode calls LightRAG `/query/data` for retrieval, then uses the plugin's selected chat model to generate the final answer. You can switch to direct LightRAG `/query/stream` generation in the LightRAG query settings.
86
86
87
87
LightRAG sync only sends Markdown files. New or changed files are submitted in batches of up to 3 texts per `/documents/texts` request. When a synced file changes, the plugin deletes the previously tracked LightRAG document and inserts the updated text because the current LightRAG API does not expose an in-place document update endpoint. The plugin listens for vault file events, scans once on startup, and can periodically rescan the vault by mtime to catch missed events. The LightRAG exclude list supports exact paths, folder prefixes such as `private/`, and simple glob rules such as `archive/**/*.md`; excluded files are not synced and previously synced excluded files are removed from LightRAG on the next scan. LightRAG chat defaults to `/query/data` retrieval plus plugin-model generation, strips generated inline References sections, and shows a limited de-duplicated source list based on retrieved chunks. The LightRAG settings tab refreshes pipeline and tracked document status automatically while it is open.
0 commit comments