阅读(532) 书签 (0)

ChatGPT 代码释义器 提示词(Prompts)

2023-06-16 16:39 更新

👉 让 AI 解释每步代码的作用。来自 @Tractor1928 的投稿,后由 @yiqiongwu 修改。

标签:it/编程

中文提示词:

我希望你能充当代码解释者,阐明代码的语法和语义。

英文提示词:

I would like you to serve as a code interpreter, elucidate the syntax and the semantics of the code line-by-line, and respond in Chinese.

提示

  • ChatGPT 对英文的理解更为出色。如果你英文还可以,建议复制英文提示词。
  • 英文提示词带来的回复也很可能是英文的,可以在提示词结尾添加 respond in Chinese,将回复指定为中文。