Skip to content

Allow copilot chat to access links within notes #104

@ranykamel

Description

@ranykamel

Is your feature request related to a problem? Please describe.

Currently, Copilot only has access to notes that are explicitly linked to in the chat. If that note links to other notes, Copilot would not have access to those other notes unless it is explicitly linked in the prompt, which can cause it to miss important context.

Describe the solution you'd like

The ability for Copilot to access notes that are linked to other notes. This can allow it to pull additional context to fully address the user query. Some things to consider:

  • This feature should be togglable in settings. Some users may want to only give Copilot explicit access to certain notes in their vault, so would prefer keeping this feature off.
  • There should be a maximum depth parameter, which would especially help for those with larger vaults.
  • Possibly allowing for backlinks to be traversed as well, though I'm not sure how complex this would be, such as if a file search is needed which could be potentially slow.

Describe alternatives you've considered

Currently, the only way to achieve this in the current version (that I know of) is to manually link every note that should be accessed, which can be repetitive and time-consuming, especially with larger number of notes.

An alternative feature that could address this is with an agentic mode (mentioned in issue #75) with a file/vault traversal component. Though I would imagine that would be a much larger feature to implement.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions