-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Describe the feature
Khoj chat supports query filters. These allow you to filter notes, documents to use by Khoj for its response (by filename, date range and words).
Showing auto-complete suggestions for file filters should make it easy to direct Khoj to look at only the specified files in your knowledge base for context.
Use Case
Currently you need type the whole filepath manually in the file query filter. This is pointlessly annoying. Simplifying explicit context addition to chat queries should make it easy to direct Khoj and improve your response quality.
Proposed Solution
When you type file:
you should see list of all synced files to auto-complete. This list should be filtered down as you type more letters (e.g file:Task
should only show tasks.org
or TaskList.md
from my documents) as auto-complete suggestions.
Additional Information
Related issues:
- Show autocomplete suggestions for File Query Filters in Search on Obsidian App #1025
- Show autocomplete suggestions for File Query Filters in Chat on Web App #1182
Link to Discord or Github discussion
No response