[HN Gopher] Show HN: Create mind maps to learn new things using AI
       ___________________________________________________________________
        
       Show HN: Create mind maps to learn new things using AI
        
       Enter a topic and get a learning mind map generated by an LLM with
       links to learn more about each subtopic.  You can use it with local
       models (through Ollama) or external models.  If you have any
       feedback, please share it! Hope it's useful  Demo:
       https://youtu.be/Y-9He-tG3aM
        
       Author : arthurtakeda
       Score  : 43 points
       Date   : 2024-10-20 20:01 UTC (2 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | airstrike wrote:
       | I'd say the README should have a pic of the results otherwise I
       | have to install it and run it to see if I want to install it and
       | run it
       | 
       | Also why not host it online and let users bring their own keys?
        
         | arthurtakeda wrote:
         | just updated the readme with the video:
         | https://www.youtube.com/watch?v=Y-9He-tG3aM
         | 
         | I considered that but if I were the user I'd be wary of adding
         | my own keys to a random person's website haha, but now that you
         | mentioned that, since the code it's open-source I guess it's
         | fine, thanks for the feedback!
        
           | cj wrote:
           | That's cool! It would be great if you could easily expand
           | each subtopic into further sub-subtopics.
           | 
           | Was there anything particularly interesting about how you
           | built it or the prompts needed to get decent results?
        
             | arthurtakeda wrote:
             | I noticed that, at least with the models I tested (gpt 3.5,
             | 4o and llama 3.1 8b), to get a response with just the JSON
             | and then have it follow the exact structure so it correctly
             | renders the topic and subtopics was the hardest part.
             | 
             | Ended up having to prompt I think twice (at the beginning
             | and the end) so it finally followed the exact JSON
             | structure.
        
               | airstrike wrote:
               | You can use structured outputs to tell ChatGPT-4o to
               | create specific JSON matching a schema:
               | https://platform.openai.com/docs/guides/structured-
               | outputs/i...
               | 
               | It's a bit annoying because the schema has some
               | limitations but it works with enough elbow grease
        
               | arthurtakeda wrote:
               | interesting, didn't know about that feature, thanks for
               | sharing!
        
           | airstrike wrote:
           | Thanks for that! You can use something like gifski to turn
           | that video into a gif so that you can embed it into the
           | README. Here's an example from the gifski repo:
           | https://github.com/ImageOptim/gifski
           | 
           | You can use the CLI version but they also have executables
           | with a dead simple GUI if you're so inclined. I have only
           | ever used the GUI and it's perfect on a Mac (just drag and
           | drop your video into it). Not sure if it's the exact same on
           | Windows but I imagine it's amazing there too
        
             | arthurtakeda wrote:
             | Nice! Will replace the screenshot with a gif, if that
             | doesn't work for me I guess ffmpeg may be able do that too,
             | thanks!
        
               | furyofantares wrote:
               | Guess what's awesome at giving you ffmpeg commands?
        
       | dr_dshiv wrote:
       | Would be great to have a video of it working so I can see what it
       | does before installing. Thanks!
       | 
       | Also, I'm generally interested in UIUX variations around LLMs.
       | Hoping to see a round up of examples like this, at some point.
        
         | arthurtakeda wrote:
         | just uploaded a demo on youtube:
         | https://www.youtube.com/watch?v=Y-9He-tG3aM thanks for checking
         | out!
        
       | hmottestad wrote:
       | Do you have any examples to look at? All I can see in the readme
       | is a page with a search field and no mind maps.
        
         | arthurtakeda wrote:
         | just uploaded a demo on youtube:
         | https://www.youtube.com/watch?v=Y-9He-tG3aM thanks for checking
         | out!
        
       | afro88 wrote:
       | How do you generate / validate the links to learn more? If
       | they're generated by the LLM there's a really high chance they
       | are hallucinated and won't work.
        
         | arthurtakeda wrote:
         | to be quite honest, I don't, just manually tested with
         | different topics and got working links almost every time but
         | agree, that can definitely happen
        
           | afro88 wrote:
           | You could have a second automatic step that searches the web
           | for the title of the link and validates it or gets the
           | correct one.
           | 
           | Cool project!
        
             | arthurtakeda wrote:
             | good idea, I'll add that to the improvements list, thanks!
        
       | artur_makly wrote:
       | nice work!
       | 
       | hmm...perhaps there could be some compounded synergies with my
       | https://VisualFlows.io
       | 
       | // also made with ReactFLoW. i will DM you..
        
       ___________________________________________________________________
       (page generated 2024-10-20 23:00 UTC)