Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would you be willing to share an example of the prompt you use to generate it?


The prompt is what the screenshot shows. I give also a small example, and i put the code in the Real Definition. The whole command is shown above [1]. Replace the parse header with the function name/names.

I tried this command with GPT-O-mini, GPT-3.5, GPT-4.0, Llama-3-8b, Llama-3-70b, each one of them generates perfect formatting almost every time. No real differences between any of the models.

Using the factory defaults for formatting, GPT is better than any other model, but as soon as the user can control the formatting then every model performs well. But i like the defaults of GPT better, i agree with the article author about that.

[1] Prompt gist: https://gist.github.com/pramatias/0fa5c9c8145dafd67591f682eb...

EDIT:The browser renders the org markup, so click on Raw button.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: