←back to thread

169 points arthurtakeda | 4 comments | | HN request time: 0.001s | source

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

Show context
airstrike ◴[] No.41898270[source]
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?

replies(1): >>41898396 #
arthurtakeda ◴[] No.41898396[source]
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!

replies(2): >>41898490 #>>41898702 #
1. cj ◴[] No.41898490[source]
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?

replies(1): >>41898557 #
2. arthurtakeda ◴[] No.41898557[source]
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.

replies(1): >>41898714 #
3. airstrike ◴[] No.41898714[source]
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

replies(1): >>41898911 #
4. arthurtakeda ◴[] No.41898911{3}[source]
interesting, didn’t know about that feature, thanks for sharing!