OpenAI:GPT最佳实践2023.docx
《OpenAI:GPT最佳实践2023.docx》由会员分享,可在线阅读,更多相关《OpenAI:GPT最佳实践2023.docx(45页珍藏版)》请在优知文库上搜索。
1、OpenAI:GPT最佳实践(大白话编译解读版)第一部分六大策略概览六个能提高输出质量的核心提示词策略SixstrategiesforgettingbetterresultsThisguidesharesstrategiesandtacticsforgettingbetterresultsfromGPTs.ThemethodsdescribedherecansometimesbedeployedincombinationforgreatereVect.Weencourageexperimentationtofindthemethodsthatworkbestforyou.这是一份指南。渗们列出
2、了一些策龄和荻耳,它们或许能帮你从GPT中拿到更好的输出结果。我们鼓励你多试一得过自己反复实验找出最热的技巧。SomeoftheexamplesdemonstratedhereCurrentlyworkonlywithourmostcapablemodel,gpt-4.Ifyoudontyethaveaccesstogpt-4Considerjoiningthewaitlist.Ingeneral,ifyoufindthataCPTmodelfailsatataskandamorecapablemodelisavailable,it,soEenworthtryingagainwiththemo
3、recapablemodel.有些用例只在目前地表最强模型gpt-4上生效。记住,模型是第一大影响要素。只要你有更强的模型可用,我们一般都会建议你用更强的模型。知道自己要什么,就展开说01延伸:“展开说说的技巧Write clear instructionsIncludedetailsinyourquerytogetmorerelevantanswers1.1你越讲细节,输出就越好GPTscantreadyourmind.Ifoutputsaretoolong,askforbriefreplies.IfoutputsaretoosiIkftIIitiIfdislike the format,
4、demonstrate the format youd liketosee.The IessCPTs Kavetoguessat whatyou want, the more IikeIyyoutIIget it.清晰地告诉GPT ,你想要什么。CPT不会读心术。你不说,它就猜。所以有时不是能力不行,就 是你没说清,它没猜准。 嫌输出太口?那就直说,要短的。 嫌输出太简单?要求提高,说要专家级 的。 嫌格式不好?给它看个样。你让它猜你的心思猜得越少,结果就越好。Ask the model to adopt a persona1.2 搞角色扮演,一直很好用Usedelimiterstoclear
5、lyindicatedistinct parts ofthe input1.3 使用分隔符号,明确地把话和话区分开来Specify the steps required to complete a task1.4 解题步骤,你自己最好也负责展开Provide examples1.5 多给举几个例子Specify the desired length of the output1.6 说一下你想要多口的答案02给GPT发阅读材料ProvidereferencetextCPTscanconfidentlyinventfakeanswers,especiallywhenaskedaboutesote
6、rictopicsorforcitationsandURLs.IntheSamewaythatasheetofnotescanhelpastudentdobetteronatest,providingreferencetexttoCPTscanhelpInansweringwithfewerfabrications.GPT经常自编答案。瞎编重灾区:比较冷口的问题、需要引用,需要读取链接的问题。我们都知道,最常口的考试题型,是给一大篇阅读材料,要求阅读并回答问题。纯开放式问答对于人和机器来说都比较难。Instructthemodeltoanswerusingareferencetext21要求按
7、阅读材料作答,不开放答Instructthemodeltoanswerwithcitationsfromareferencetext22增加要求:要求GPT直接把阅读材料里的原文引用出来那么同理,把你的“阅读材料”给GPT粘贴过03把复杂任务拆解成子任务SplitcomplextasksintosimplersubtasksJustasitisgoodpracticeinsoEwareengineeringtodecomposeacomplesystemintoasetofmodularcomponents,thesameistrueoftaskssubmittedtoGPTs.Complex



- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- OpenAI GPT 最佳 实践 2023
