top | item 41898396

(no title)

arthurtakeda | 1 year ago

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!

discuss

order

airstrike|1 year ago

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|1 year ago

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!

cj|1 year ago

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|1 year ago

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.