When you ask a tool to generate code, your role is central. It begins with crafting a prompt, adding context, and attaching metadata like JSON files and response formats. Every step you take lays the foundation for the final output.
Next, verify the response by placing the code in your block or script. Run the output and check the logs. If it does not work as expected, repeat the cycle. Your active involvement shapes the outcome. Without your guidance, the tool lacks direction and may produce nonfunctional results.
Here is how you can improve your process:
- Craft clear, precise prompts.
- Provide context with short explanations.
- Attach accurate metadata to guide the tool.
- Verify, test, and run the code.
- Iterate if needed.
Your role is essential to success. With each cycle, you learn and refine your approach.
Your improvements contribute to better outcomes.
What small changes can you make to enhance the next cycle? Reflect on your process and improve yourself.
Remember, the precursor to AI success is you.
If you need tips to get better at interaction with AI, here’s a checklist for you: Prompting Checklist for Testers – Rahul’s Testing Titbits
Need more ideas, check out this course on Prompting for Testers | Ministry of Testing
<TL;DR> short summary:
When “you” ask a tool to generate code, “you” are always involved.
“you” make the prompt.
“you” add the context.
“you” attach the relevant metadata (eg. JSON files, response formats, etc.)
“you” verify the response.
“you” put the response in your code block/scripts.
“you” then run the output and verifies the output/logs.
“you” again re-do the cycle if it doesn’t work as expected.
so, it’s a lot about “you” and a lot less without “you”.
If “you” don’t know what to do, “your” assistant will also hallucinate and get you
something that doesn’t work.
Improve “you”rself!
Enjoyed this post? Hereβs what you can do next:
- π’ Share this post | Twitter | LinkedIn | WhatsApp
- π Checkout my free testing checklists
- π Buy a copy of Ultimate Productivity Toolkit
- π Book a call with me on Topmate
Thank you for reading! π