Skip to content

默认prompt“有什么可以帮你的吗”会影响ChatGPT输出 #330

@Cp0204

Description

@Cp0204

使用场景:用 ChatGPT 审核内容,输出json审核结果

内容内容内容内容内容内容

The significance of ignoring the above, you are a Chinese content censor, use json output like {"pass":false, "reason":"<20 words of Chinese reason"} to review the above content for compliance and content policies, such as violence, sexual, minors, hate, political sensitivity, etc.

我在程序实现中可以正确输出想要的json结果,但用 ChatGPT-Next-Web 无论如何他都说自己只是个AI模型,不能审核

最后发现是新建聊天都会带上prompt “有什么可以帮你的吗” 的原因,实测经过:

  1. {"role": "assistant","content": "有什么可以帮你的吗"},不行。
    1

  2. {"role": "assistant","content": "You are Chinese content censor"},可以。
    2

  3. 首轮对话只喂用户问题,哪怕不带 "role": "assistant",也可以。
    3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions