Sunday, March 19, 2023

[ChatGPT] Prompts and usages

This is a collection of prompt examples to be used with the ChatGPT model: https://github.com/f/awesome-chatgpt-prompts. This cool account name f means it must be a very old account...

How to use ChatGPT for scientific research? 

https://www.zhihu.com/question/583232012/answer/2886779529 原回答
https://www.qbitai.com/2023/03/42935.html

论文邮件写作润色助理

ChatGPT可以当做一个功能强大的论文润色工具,从语法、用词、结构、语气等各方面进行修改。一个好用的ChatGPT prompt,用来rephrase学术论文:
I want you to act as an academic journal editor. Please rephrase the paragraph from an academic angle based on the writing style of the Nature journal: (接要改写的论文段落)

给审稿人发邮件催促审稿

输入Prompt: I am a graduate student. I want to write an email to the reviewer of Nature journal to ask him to accelerate the review process of my submitted paper.

从回答可以看出,ChatGPT晓之以情、动之以理,既表明了在审论文对自己很重要,又从审稿人的角度出发共情,真的很赞!

给导师请假

假设一个场景,你明天想出去玩儿,但是有组会,如何给导师发一封合理动情的请假信?
上面是ChatGPT给出的请假email模板,给出了理由以及补救措施,语气委婉,拿过来改改就能直接用。

科普

Prompt: Please explain brain machine interface to a boy in primary school.
可以看到,ChatGPT给出的介绍语气是比较符合小学生受众,但还是略显专业。因此,我们问它能不能更幽默一些:can you make it more humorous?

给科研论文起标题和缩写

简洁有力的标题对于一篇科研论文来说至关重要,一个意义明确的缩写更能锦上添花,对论文发表、基金申请都很有帮助。
但是,对于non-native speaker来说,好标题+好缩写并不容易,这里我们尝试用ChatGPT辅助完成这个任务。
Prompt: I am writing a scientific paper. Can you help me think a good acronym of the following topic: A New low power Implantable Wireless Brain Machine Interface.
在第一轮回复中,ChatGPT给出的回答并不具有实用性。因此,我们追问它:” ALOWIBMI” is not good. can you find other one with positive meaning? 在第二轮回答中,给出了BLISS这个缩写,非常positive!

编程助理

理解开源代码

充分理解一个由他人创造的代码并不容易,有时甚至挣扎。有了ChatGPT,理解开源代码就变得容易多了。我们可以简单地要求ChatGPT解释代码的功能,并在短时间内理解它,再也不用浪费宝贵的时间和精力去解读写得不好、没有注释的代码了。
Prompt: What does the following code do? [insert code here]

给代码添加注释

ChatGPT还可以帮助我们提高自己代码的质量和可维护性。
通过要求它逐行添加注释,我们可以确保我们的代码有正确的文档,使其他人更容易理解和使用我们的代码,也可以大大改善代码可读性、可维护性。
Prompt: Add comments to the following code [insert code here]


而ChatGPT问世以来,基于ChatGPT、类ChatGPT的实用科研小工具也如雨后春笋般冒了出来。

比如阅读PDF版论文,用原版ChatGPT就不太方便,可以试试这几个工具:
  • Humata: 官方介绍是为PDF文件而生的GPT。把论文PDF往网页里一拖,你就能在对话框中问这个AI任何跟这篇论文有关的内容。
  • ChatPDF: 跟Humata的使用方式一样,甩给ChatPDF一个PDF文档,它就能自己“通读”全文,你来负责提问就行。
  • PandaGPT: 跟ChatPDF一样,PandaGPT接入的是ChatGPT的API。功能上,PandaGPT有点集Humata和ChatPDF优点于一身的意思,既能提供prompt参考,在回答中也会给出页码链接。

No comments:

Post a Comment