Content pfp
Content
@
0 reply
0 recast
0 reaction

Agus pfp
Agus
@agus
Tutorials are a great way to learn new tools and APIs but many times developers just want to go right into the code and see real examples that work. This week @ilja and I worked on a feature that generates demo repositories when creating tutorials with Mordisco 🧵
1 reply
0 recast
2 reactions

Agus pfp
Agus
@agus
LLMs are pretty good at generating code, but when it comes to generating a full working project, things get a bit more complicated. Vague prompts will push the LLM to make assumptions of what you are trying to build, what framework, tools, file structure, etc. you want to use.
1 reply
0 recast
0 reaction

Agus pfp
Agus
@agus
Our approach in this area has been to leave LLMs out of most decisions we can make ourselves.
1 reply
0 recast
0 reaction

Agus pfp
Agus
@agus
For instance, if we know you want to build a Discord bot, we will allow you to select a template for that type of project and make the LLM just generate the pieces of code that make your bot different and unique.
1 reply
0 recast
0 reaction

Agus pfp
Agus
@agus
We won’t cover every type of demo out there, but we can probably cover a good chunk of what the platforms we are working with want to generate. Are you building a script, a webhook, a bot, a webapp, a frame, a game? Each of these will have their own templates.
1 reply
0 recast
0 reaction

Agus pfp
Agus
@agus
We will use LLMs just for the actual piece of the code that makes your app different (a bot that translates casts, a webhook that notifies me every time someone mentions my brand, etc.)
1 reply
0 recast
0 reaction