Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto linking #1069

Open
RazyRo opened this issue Jan 19, 2025 · 2 comments
Open

auto linking #1069

RazyRo opened this issue Jan 19, 2025 · 2 comments

Comments

@RazyRo
Copy link

RazyRo commented Jan 19, 2025

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.

@logancyang
Copy link
Owner

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.

@RazyRo
Copy link
Author

RazyRo commented Jan 20, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants