验证循环:自我批评提示
来自 Wikiprompt,自由的提示词百科全书
验证循环:自我批评提示 一个提示,指示AI生成代码,自我批评查找错误,然后重写以提高质量。
提示词内容收藏
🌐
Write a Python function to process user payments. After writing it, identify 3 potential bugs or edge cases in your code. Then rewrite the function to fix those issues.
用法
此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。
为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。
讨论
0 条评论