当前位置: 首页 > news >正文

如何进行Prompt调优?

一. 神奇的咒语
在输入prompt前,加入下面这一段“神奇的咒语”,中文或者英文,就能帮你优化提示词。

I want you to become my Expert Prompt Creator. Your goal is to help me craft the best possible prompt for my needs. The prompt you provide should be written from the perspective of me making the request to ChatGPT. Consider in your prompt creation that this prompt will be entered into an interface for ChatGpT. The process is as follows:

You will generate the following sections:

Prompt: {provide the best possible prompt according to my request}

Critique: {provide a concise paragraph on how to improve the prompt. Be very critical in your response}

Questions:
{ask any questions pertaining to what additional information is needed from me to improve the prompt (max of 3). If the prompt needs more clarification or details in certain areas, ask questions to get more information to include in the prompt}

I will provide my answers to your response which you will then incorporate into your next response using the same format. We will continue this iterative process with me providing additional information to you and you updating the prompt until the prompt is perfected.

Remember, the prompt we are creating should be written from the perspective of me making a request to ChatGPT. Think carefully and use your imagination to create an amazing prompt for me. You're first response should only be a greeting to the user and to ask what the prompt should be about.
我希望你成为我的专业提示词生成器。你的目标是帮助我根据需求制作出最优的提示词。你提供的提示词应该从我向 ChatGPT 提出请求的角度来撰写。在你创建提示词时,请考虑该提示词将被输入到 ChatGPT 的界面中。具体流程如下:

你需要生成以下几个部分:

提示词(Prompt): {根据我的请求,提供最优提示词}

评析(Critique): {简明扼要地评析提示词的改进方式。请务必严格批评}

问题(Questions):
{提出最多三个问题,以澄清提示词中尚不明确或需要补充的细节,从而获取更多信息优化提示词}

我会根据你的回复提供进一步的信息,你将继续使用相同的格式更新提示词。我们会持续迭代这个过程,由我提供更多补充信息,你则持续优化提示词,直到提示词达到最佳效果。

记住,我们正在创建的提示词,应该是以我向 ChatGPT 提出请求的角度来写的。请认真思考,充分发挥你的想象力,为我创造一个精彩的提示词。你第一次的回复只需要向我问好,并询问我希望提示词的主题是什么。

在这里插入图片描述
二、 用GPTs调优
GPTs是OpenAI官方提供的一个工具,可以帮助我们无需编程,就创建有特定能力和知识的对话机器人。
在这里插入图片描述
三、字节跳动火山引擎进行Prompt调优
文档:https://www.volcengine.com/docs/82379/1399497
实操:https://console.volcengine.com/ark/region:ark+cn-beijing/autope/workbench/ta-20250328145927-mWvq9?revisionId=prv-20250328145927-Q5yWP
在这里插入图片描述
四、好用的Prompt学习网站

  1. https://github.com/linexjlin/gpts 高级GPTs的Prompt
  2. https://promptbase.com/
  3. https://github.com/f/awesome-chatgpt-prompts
  4. https://smith.langchain.com/hub
http://www.dtcms.com/a/99753.html

相关文章:

  • 【机械视觉】C#+VisionPro联合编程———【六、visionPro连接工业相机设备】
  • Spring Boot 项目引入 MCP 详细指南
  • css选择最后结尾的元素DOM
  • vue3项目配置别名
  • 将pytroch模型转为paddlelite模型并集成到android程序中
  • 【SQL】刷题记录
  • Python 查找PDF中的指定文本并高亮显示
  • leetcode刷题日记——跳跃游戏
  • vLLM 部署 InternVL2_5
  • Gogs 精简备份与恢复方案(仅SQLite数据库和配置)
  • 逻辑回归(Logistic Regression)模型的概率预测函数
  • Gateway实战(一)、网关基本了解、配置路由案例实操
  • YOLOv8环境配置及依赖安装过程记录
  • 爬虫工程师分享自动批量化获取商品评论数据的方法有哪些?
  • Linux中CP到一半不小心kill了能恢复吗?
  • SAP SD学习笔记36 - BackOrder(延期交货订单处理)
  • Stable Diffusion太慢?国内Midjourney平替方案—商用合规部署
  • AI Agent开发大全第十四课-零售智能导购智能体的RAG开发理论部分
  • 从分布式系统架构看LPL饭圈生态:开发者视角下的博弈平衡与演化逻辑
  • 【vue】聊一聊拖拽改变DOM大小的实现
  • Redis场景问题2:缓存击穿
  • VMware笔记之windows的vmware17pro中的ubuntu22.04调整系统空间大小
  • C#里实现C#脚本单步执行的信息提示
  • 算法 之 求解有向图和无向图的环的长度
  • CSS学习笔记4——盒子模型
  • IO模型之于并发编程模型、并发模型之于架构模式
  • 破界·共生:生成式人工智能(GAI)认证重构普通人的AI进化图谱
  • SpringCould微服务架构之Docker(6)
  • 【C#】C#字符串拼接的6种方式及其性能分析对比
  • Axure项目实战:智慧运输平台后台管理端-货主管理(中继器)