obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

auto linking

Open RazyRo opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. In Obsidian its easy to bi-link similar words by searching and add [[]], I was hoping to [[text]] using AI semantically or contextually

Describe the solution you'd like The inclusion of a database of existing notes and the capability to create connections within this plugin would significantly enhance its functionality.

Describe alternatives you've considered Alternatively, if this plugin has a database of existing notes, adding #tags near sentences, paragraphs, titles, or subtitles will automatically create links that appear in the knowledge graph.

RazyRo avatar Jan 19 '25 14:01 RazyRo

Thanks for the FR. Could you describe the experience you'd like in more detail, e.g. should it happen inline as some kind of auto suggestion or via some command.

logancyang avatar Jan 19 '25 20:01 logancyang

although i am not full developer but concisely solution I can think of: Practical Solution:

  1. Highlight Trigger: When a user highlights a chunk, the tool activates RAG to find semantically related chunks across the vault using the hybrid search and note graph similarity.

  2. Copilot Suggestions: Suggestions for related notes and links appear in the Copilot Chat window, including possible automatic titles/subtitles based on the chunk's context.

  3. One-Click Linking: Users can accept suggestions to create links between the current chunk and related notes. Accepted links are immediately updated in the note and reflected in the note graph.

  4. Dynamic Typing Suggestions: As the user types, the tool dynamically suggests links or related notes in real-time in a dropdown or sidebar, leveraging local index retrieval.

  5. Custom Prompts: Allow users to refine suggestions by using custom prompts stored locally, enabling personalized and specific link generation.

  6. Visual Linking: Display semantic links in the editor (e.g., underlined chunks or color-coded highlights) and reflect connections in the note graph for clarity.

RazyRo avatar Jan 20 '25 10:01 RazyRo

although i am not full developer but concisely solution I can think of: Practical Solution:

  1. Highlight Trigger: When a user highlights a chunk, the tool activates RAG to find semantically related chunks across the vault using the hybrid search and note graph similarity.
  2. Copilot Suggestions: Suggestions for related notes and links appear in the Copilot Chat window, including possible automatic titles/subtitles based on the chunk's context.
  3. One-Click Linking: Users can accept suggestions to create links between the current chunk and related notes. Accepted links are immediately updated in the note and reflected in the note graph.
  4. Dynamic Typing Suggestions: As the user types, the tool dynamically suggests links or related notes in real-time in a dropdown or sidebar, leveraging local index retrieval.
  5. Custom Prompts: Allow users to refine suggestions by using custom prompts stored locally, enabling personalized and specific link generation.
  6. Visual Linking: Display semantic links in the editor (e.g., underlined chunks or color-coded highlights) and reflect connections in the note graph for clarity.

Interesting thoughts! We already have Relevant Notes in the Chat pane, any way to make a design leveraging that?

logancyang avatar Jan 20 '25 20:01 logancyang