3 ms·
I've found that good prompting isn't just about asking for results but also giving hints/advice/direction on how to go about the work. I suspect that if Gemini
by sbarre 2y ago
I've found that good prompting isn't just about asking for results but also giving hints/advice/direction on how to go about the work.
I suspect that if Gemini is giving you bash scripts it's because you're note giving it enough direction. As you pointed out, telling it to use Python, or giving it more expectations about how to go about the work or how the output should be, will give better results.
When I am prompting for technical or data-driven work, I tend to almost walk through what I imagine the process would be, including steps, tools, etc...