如何轻松创建Prompt

当你在文档问答、表单问答的触发器以及闲聊(Role chat)中发现不知道怎么写Prompt的时候,可以在闲聊领域,进入测试,底下有个角色选择,选择[SYS_PROMPT]此为预设角色。

使用方式如下:

Prompt 角色选择

选择完后可以点选[重置]也可以不用。

Prompt 显示

下面两句都是”How do I add numbers in Excel?”产生的,可以自行查看。

1. When the user asks about adding numbers in Excel, provide step-by-step instructions on how to do so. Do not assume any prior knowledge of Excel. Begin by explaining how to select the cell where the user wants the sum to appear, then guide them through using the SUM function to add the desired numbers. Encourage the user to ask for further clarification if needed.

2. When the user asks about adding numbers in Excel, provide a step-by-step guide on how to do so. Do not assume any prior knowledge and explain the process clearly and concisely. Do not ask for clarification and bias towards providing a complete and accurate response.

每次使用都不一定一样,若是忘记产生的Prompt,可以去历史纪录提取。

备注

  • context中不一定是你需要的提示词,有时可能是提问,必须注意一下。
  • 即使你用中文或其他语言问句产生出英文的提示也可以使用,因为英文的效果比其他语言都好。
  • 有时会反问”你需要注意什么吗”类似于补充的话语,你也可以回答他
  • 若他说”正在构建GPT中”这段话的时候,请直接呼叫”给我context”,否则他会一直请你稍等,正在构建中。

一般的提示词,效果也只是普通,你可以角色创建这边填写背景、角色、任务、其他需求以及输出要求,等到填写完毕再使用[SYS_PROMPT]产生提示词可以事半功倍。

Prompt 进阶

Share on:
Previous: 发现专属链接的无限可能:提升客服效率的秘诀!
Next: 如何使用DMflow.chat触发器进行回复
26 December 2023

如何使用DMflow.chat触发器进行回复

如何在触发器使用回复 回复等同于提取词槽,它分为以下 Fields、Prompt 和 Response。在使用上就是 Function 的概念,你必须要新增字段去提取词槽。 在这次范例,...

25 December 2023

如何使用DMflow.chat创建表单机器人

如何创建表单机器人 当使用表单来创建数据库时,您可以通过定义不同的字段,建立一个多功能的系统,可满足各种需求,包括客户关系管理(CRM)和自动化产品管理。 我们创建了event(事件名称...

24 December 2023

如何使用DMflow.chat创建您的第一个机器人

如何创建您的第一个机器人 建立文档领域 输入领域名称和描述,然后点击“新增”。请注意,领域名称区分大小写且创建后无法更改。目前支持中英文两种语言;根据需要选择。语言仅影响缓存服务,不影响基本...