NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Feature] 建议部署时增加环境变量,配置是否注入系统级提示消息

Open Scorpio-xu opened this issue 2 years ago • 9 comments

建议部署时增加环境变量,配置是否注入系统级提示消息 我使用的是 Gemini 模型,分享给别人后,别人老是说我这是 ChatGPT,是因为系统发了一条“you are chatgpt……”的消息,然后我就得告诉他在设置中把“注入系统级提示消息”这个设置项关掉。 能不能把这个设置项改到环境变量里啊,或者默认关闭,谢谢大佬

Scorpio-xu avatar Dec 27 '23 12:12 Scorpio-xu

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature] It is recommended to add environment variables during deployment and configure whether to inject system-level prompt messages

It is recommended to add environment variables during deployment and configure whether to inject system-level prompt messages I use the Gemini model. After sharing it with others, they always say that this is ChatGPT because the system sends a message "you are chatgpt...", and then I have to tell them to inject the system level in the settings. The prompt message is turned off. Can you change this setting item to an environment variable, or turn it off by default? Thank you, boss

Issues-translate-bot avatar Dec 27 '23 12:12 Issues-translate-bot

works fine now for me

image

been working on this https://github.com/H0llyW00dzZ/ChatGPT-Next-Web/commit/b9ed66141d46b77e33cc7d63bbb20292c2fdcdef

H0llyW00dzZ avatar Dec 27 '23 15:12 H0llyW00dzZ

@Scorpio-xu injecting system message is useful in most cases, I guess we might need to support different system default message in the future to adjust different model provider

kaaanata avatar Dec 27 '23 15:12 kaaanata

@Scorpio-xu injecting system message is useful in most cases, I guess we might need to support different system default message in the future to adjust different model provider

yeah not right now, gemini still unstable I've been testing on it

H0llyW00dzZ avatar Dec 27 '23 17:12 H0llyW00dzZ

@Scorpio-xu injecting system message is useful in most cases, I guess we might need to support different system default message in the future to adjust different model provider

can i set these system messages via environment variables?

walterclozet avatar Dec 28 '23 02:12 walterclozet

works fine now for me

image

been working on this H0llyW00dzZ@b9ed661

@H0llyW00dzZ Thank you for your image. The image falsely claims to be ChatGPT, but in reality, it is not.

Scorpio-xu avatar Dec 28 '23 02:12 Scorpio-xu

@Scorpio-xu injecting system message is useful in most cases, I guess we might need to support different system default message in the future to adjust different model provider

@fredliang44 Yes, it is indeed useful, but I didn't say to turn it off. Instead, I suggested adding an environment variable to control it, allowing the service provider to decide whether to enable it. After adding this sentence, he claimed to be ChatGPT, but he clearly is not, causing a misunderstanding.

Scorpio-xu avatar Dec 28 '23 02:12 Scorpio-xu

i have the same issue, when i use gemini pro, the system injects system-level prompt messages that says you are chatgpt. How can I turn it off when i use gemini pro?

PaperPlaneDeemo avatar Dec 28 '23 05:12 PaperPlaneDeemo

i have the same issue, when i use gemini pro, the system injects system-level prompt messages that says you are chatgpt. How can I turn it off when i use gemini pro?

in chat settings

image

H0llyW00dzZ avatar Dec 28 '23 12:12 H0llyW00dzZ

同意,至少应该默认为不注入

QAbot-zh avatar Dec 30 '23 02:12 QAbot-zh

Bot detected the issue body's language is not English, translate it automatically.


Agree, at least the default should be no injection

Issues-translate-bot avatar Dec 30 '23 02:12 Issues-translate-bot