# A demo of AI for linking, writing, and thinking with org-roam. Should we build org-roam-ai?

**URL:** <https://org-roam.discourse.group/t/a-demo-of-ai-for-linking-writing-and-thinking-with-org-roam-should-we-build-org-roam-ai/2891>\
**Category:** Development\
**Created:** [December 15, 2022, 3:12pm UTC](https://org-roam.discourse.group/t/a-demo-of-ai-for-linking-writing-and-thinking-with-org-roam-should-we-build-org-roam-ai/2891 "2022-12-15T15:12:07Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![laotang](https://avatars.discourse-cdn.com/v4/letter/l/2acd7d/32.png) [@laotang](https://org-roam.discourse.group/u/laotang)\
**Post date:** [May 3, 2023, 6:28pm UTC](https://org-roam.discourse.group/t/a-demo-of-ai-for-linking-writing-and-thinking-with-org-roam-should-we-build-org-roam-ai/2891/18 "2023-05-03T18:28:14Z")

</div>

I’m currently writing a new function to better surface related notes for my minimalist org-roam v1 clone (see also [here](https://org-roam.discourse.group/t/orgrr-org-roam-ripgrep/3037)). The function collects all notes related to a given note to the second degree - the backlinks for the backlinks and the outgoing links mentioned by outgoing links. To use the image of a family, it considers all parents and grandparents as well as all children and grandchildren of a note. All links to a specific note are counted and the resulting list is ranked by frequency.

The results are really interesting (at least for me). This is a note and its backlinks:

 ![Bildschirmfoto 2023-05-03 um 20.11.16](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/f/fe83e39c02c12a3b01ae830567893c1fbb3bd6bc.jpeg)

This is the same note with org-similarity in the side-window:

 ![Bildschirmfoto 2023-05-03 um 20.10.23](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/0/03dc01dc5e11f8db26e5d4a82d58ba613a9e15dc.jpeg)

And this is the same note with `orgrr-related-notes` (the above teased function, not yet released):

 ![Bildschirmfoto 2023-05-03 um 20.12.10](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/a/a0b793bd48909fe371d466c376e1d2b8fd93ca34.png)

---

_[View the full topic](https://org-roam.discourse.group/t/a-demo-of-ai-for-linking-writing-and-thinking-with-org-roam-should-we-build-org-roam-ai/2891)._
