-
Notifications
You must be signed in to change notification settings - Fork 188
2.3 Vault Search (RAG)
Kevin On edited this page Nov 21, 2024
·
3 revisions
Vault Search automatically finds and uses relevant notes from your vault to enhance AI responses.

- Type your query in the chat
- Trigger vault search by:
- Using the hotkey:
Cmd+Shift+Enter(orCtrl+Shift+Enterin Windows) - Or clicking the
Vault Chatbutton
- Using the hotkey:
Vault Search (RAG) also activates automatically when:
- You include "@Vault" mention in your message
- Mentioned files/folders exceed the Threshold Tokens limit
-
When triggered, the plugin:
- Searches your vault for relevant notes
- Updates embeddings for any modified files since last indexing
- Includes found content as context
- Note: Embeddings are only generated when vault search is triggered, not during regular chat
-
Vault Indexing:
- Embeddings are created only for modified files since last indexing
- Full vault reindexing available via "Rebuild Entire Vault Index" command
-
Referenced Documents:
- After vault search, you can see which files were used as context
- Click "Show Referenced Documents" to view the list
- Each file shows its relevance score and the specific line numbers used