GPT 魔力涌现

GPT

在这里插入图片描述
在这里插入图片描述

二、Prompt 的典型构成

  • 角色:给 AI 定义一个最匹配任务的角色,比如:「你是一位软件工程师」「你是一位小学老师」
  • 指示:对任务进行描述
  • 上下文:给出与任务相关的其它背景信息(尤其在多轮交互中)
  • 例子:必要时给出举例,学术中称为 one-shot learning, few-shot learning 或 in-context learning;实践证明其对输出正确性有很大帮助
  • 输入:任务的输入信息;在提示词中明确的标识出输入
  • 输出:输出的格式描述,以便后继模块自动解析模型的输出结果,比如(JSON、XML)
思考:和人的沟通是不是也是这个结构?得把 AI 当人看
如果没有 ChatGPT Plus,用不了 GPTs,可以用这段神奇的咒语,让 ChatGPT 帮你写 Prompt
  1. 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:1. 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 toimprove the prompt (max of 3). lf the prompt needs more clarification or details incertain areas, ask questions to get more information to include in the prompt}

  1. 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
    这其实就已经触发了传说中的 agent……

相关推荐

最近更新

  1. TCP协议是安全的吗?

    2023-12-16 05:48:07       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-16 05:48:07       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-16 05:48:07       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-16 05:48:07       18 阅读

热门阅读

  1. 10129 - Play on Words (UVA)

    2023-12-16 05:48:07       45 阅读
  2. word如何快速制作简易代码块

    2023-12-16 05:48:07       39 阅读
  3. 「CocoaPods」Podfile文件模板

    2023-12-16 05:48:07       44 阅读
  4. MySQL DQL

    MySQL DQL

    2023-12-16 05:48:07      37 阅读
  5. 【C#】Microsoft C# 之 LINQ 查询语法视频学习总结

    2023-12-16 05:48:07       30 阅读
  6. React Hooks学习指北

    2023-12-16 05:48:07       34 阅读
  7. 下载文件 后端返回给前端 response header 响应头

    2023-12-16 05:48:07       44 阅读
  8. Vue3+Ts项目——登录页面跳转到首页

    2023-12-16 05:48:07       40 阅读
  9. 7.3 lambda函数

    2023-12-16 05:48:07       35 阅读
  10. 快速入门HTML

    2023-12-16 05:48:07       31 阅读