khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.64k stars 640 forks source link

Allow configuration to search subfolders #465

Closed piebaker closed 1 year ago

piebaker commented 1 year ago

When using a folder-based obsidian setup, Khoj will not search subfolders (on windows) for .md files. This results in a static set of folders it can search, as any new subfolders created are not searched for new .md files. It also means on install setup the user may have to organise many folders to create a folderset to search

piebaker commented 1 year ago

Closed due to user stupidity lol

sabaimran commented 1 year ago

lol hey @piebaker , did you see some issue that led you to think it wasn't indexing subfolders? We can always think of ways to make the UX more intuitive.

piebaker commented 1 year ago

Found #208 to fix it all up lol

I initially was following the Windows setup instructions on the wiki, not knowing I needed to follow the specific obsidian instructions. This meant i chose the vault folder, and it wouln't pick anything else up as it didn't search down

It might be worth merging the "Interfaces" section into the actual install section, as (aside from the web page) both emacs & obsidian are also install guides for their specific versions, and when a user wants to get up and going the first step is usually to install the program, not the setup its UI (as that is what the interface section implied IMO)

sabaimran commented 1 year ago

Ah fair point, we should probably reword the pointers here. Interface implies it's just UI, rather than configuring the entire client. Thanks for the feedback!