logancyang / obsidian-copilot

THE Copilot in Obsidian
https://www.obsidiancopilot.com/
GNU Affero General Public License v3.0
3.1k stars 220 forks source link

[PLUS] Project-based indexing for Vault QA #375

Open EidosL opened 8 months ago

EidosL commented 8 months ago

Is your feature request related to a problem? Please describe. most of the time the vault is huge and full of irrelevant note with a project,it would be nice just offer an option to let user to select notes to enter the index for a specific project.

--- edit by @logancyang ---

logancyang commented 8 months ago

Hi @EidosL, we already have the Exclusion filter for indexing, is this an ask for an inclusion filter?

EidosL commented 8 months ago

I think what I am suggesting is like making a project based index, and the ability to switch between projects. I have multiple books and games are in the same vault but when I want to work on one particular book I don't want other book's and game's info confuse the AI.

logancyang commented 8 months ago

OK gotcha, project-based indexing and QA. It sits between the Long Note QA mode and Vault QA mode. Seems reasonable to adapt the current Long Note QA mode to a new "Project QA mode" where you can set the index to a path.

EidosL commented 8 months ago

OK gotcha, project-based indexing and QA. It sits between the Long Note QA mode and Vault QA mode. Seems reasonable to adapt the current Long Note QA mode to a new "Project QA mode" where you can set the index to a path.

Thank you for considering my suggestion. I believe a minor tweak could greatly enhance this feature's usability, especially those who work with multiple files scattered across different directories. By allowing users to specify multiple paths and choose between individual files or entire folders, this feature would significantly improve workflow efficiency and flexibility. For example, users could easily select relevant files for their projects, even when dealing with overlapping content.

In many cases, I have reusable documents scattered across different directories. Being able to select relevant files from various locations becomes crucial, especially when dealing with overlapping content. For instance, imagine I have "book 1," "book 2," and "book 3" stored in different folders. "Book 1" and "Book 2" share similar fantasy settings, with some shared assets, while "Book 3" belongs to the sci-fi genre. In this scenario, I need to select which files to include in each project—some assets might be relevant to both fantasy books, while others are specific to each.

Therefore, enabling users to designate multiple paths and choose between individual files or entire folders would greatly enhance the feature's flexibility and usefulness.

wwjCMP commented 8 months ago

I would like to know how you specify files within your project. In fact, using an enhanced prompt is currently possible to specify file paths. image

https://github.com/logancyang/obsidian-copilot/issues/278 https://github.com/logancyang/obsidian-copilot/issues/380