node-chatgpt-api icon indicating copy to clipboard operation
node-chatgpt-api copied to clipboard

Feature Request: systemMessage

Open eris-webserv opened this issue 2 years ago • 2 comments
trafficstars

Allow us to set the system message sent to Bing Chat! What if I want my chatbot to be named "Jake"?

eris-webserv avatar Mar 10 '23 20:03 eris-webserv

While this is possible, I don't think it'll work consistently due to the way Bing/Sydney's prompt is formatted. Its messages are added to its prompt like this:

[Sydney](#message)
<Sydney's message here>

Then the prompt ends with, "Write Sydney's response to the user..." so if you try to change the name, it could get confused and refuse to adopt the character, which is why I'm piggybacking off the Sydney character instead.

That's my line of thinking, anyway. You can clone the repo, try to modify the jailbreak code yourself, and let me know how it works. I'd be interested in your results.

waylaidwanderer avatar Mar 11 '23 00:03 waylaidwanderer

@waylaidwanderer See #181, I've tried different roles with the injected system prompt and it works well. It seems to me that the idea is feasible and actually works well. That should definitely be a feature request.

KevinKWZheng avatar Mar 11 '23 14:03 KevinKWZheng

I'll do it :)

eris-webserv avatar Mar 15 '23 20:03 eris-webserv

#199

eris-webserv avatar Mar 16 '23 22:03 eris-webserv