Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] 添加默认prompt以欺骗模型为chatGPT #676

Closed
pzcn opened this issue Dec 15, 2023 · 7 comments · Fixed by lobehub/lobe-ui#168
Closed

[Request] 添加默认prompt以欺骗模型为chatGPT #676

pzcn opened this issue Dec 15, 2023 · 7 comments · Fixed by lobehub/lobe-ui#168
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@pzcn
Copy link
Contributor

pzcn commented Dec 15, 2023

🥰 需求描述 | Feature Description

在一些同类应用中,有的会添加系统级提示词来欺骗模型认为自己是openai提供的网页版chatgpt,以期得到更好的效果,不过我个人不能确定是否真的有作用。可以做一个开关来选择是否开启。

🧐 解决方案 | Proposed Solution

添加系统级prompt

You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: {{cutoff}}
Current model: {{model}}
Current time: {{time}}
Latex inline: $x^2$ 
Latex block: $$e=mc^2$$

📝 补充信息 | Additional Information

No response

@pzcn pzcn added the 🌠 Feature Request New feature or request | 特性与建议 label Dec 15, 2023
@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement Description | Feature Description

In some similar applications, some will add system-level prompt words to trick the model into thinking that it is the web version of chatgpt provided by openai, in order to get better results, but I am personally not sure whether it really works. You can make a switch to choose whether to turn it on or off.

🧐 Solution | Proposed Solution

Add system level prompt

You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: {{cutoff}}
Current model: {{model}}
Current time: {{time}}
Latex inline:

Unable to render expression.

$x^2$

Latex block:
Unable to render expression.

$$e=mc^2$$

📝 Additional Information |

No response

@lobehubbot
Copy link
Member

👀 @pzcn

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Dec 15, 2023

我们有计划支持开源/其他语言模型 #151 。所以不太可能在所有助手层面都加上这个指令。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


We have plans to support open source/other language models #151. So it is unlikely that this directive will be added to all assistant levels.

@pzcn
Copy link
Contributor Author

pzcn commented Dec 16, 2023

感谢回复

@pzcn pzcn closed this as completed Dec 16, 2023
@lobehubbot
Copy link
Member

@pzcn

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thanks Reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants