logoalt Hacker News

sidewndr46yesterday at 4:26 PM2 repliesview on HN

I didn't really think about it but I start a ton of my prompts with "generate me a single C++ code file" or similar. There's always 2-3 paragraphs of prose in there. Why is it consuming output tokens on generating prose? I just wanted the code.


Replies

g947oyesterday at 5:33 PM

Didn't expect c++ code generation to be as bad as recipe websites.

show 1 reply
kube-systemyesterday at 5:31 PM

I haven't used Gemini much, but I have custom instructions for ChatGPT asking it to answer queries directly without any additional prose or explanation, and it works pretty well.

show 1 reply