-
Notifications
You must be signed in to change notification settings - Fork 258
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
Feature request: Ability to fully customize the system role #19
Comments
Hi, when you play a different prompt this will change the AI's role. |
I'm referring to this chatpad/src/components/Prompts.tsx Line 109 in 37330d6
The reason being it allows you to give instructions for the session without also retrieving a response to those instructions (as is the case currently). |
that is the preloaded prompt, you can change the scenario by adding your own and hitting the "play" button |
Is that how it's intended to work? Because when I hit the play button on a prompt this is what gets sent to OpenAI when I inpsect the browser request:
Actually maybe the behavior I'm looking for when I press the play button is to, instead of immediately sending two messages to the API (the generic Basically I expected the prompt to set up the chat sessions without having ChatGPT actually respond to the prompt every time. But maybe that wasn't the intent for the "prompt" feature to begin with? Based on this OpenAI community discussion it sounds like it also might matter whether the system message is sent as the first or last one in the array. |
I've opened #24 with some changes that implement what I'm describing here. |
That's what you meant. This is currently not implemented but a PR is
welcome!
…On Thu, Mar 23, 2023 at 1:52 PM Rudis Muiznieks ***@***.***> wrote:
Is that how it's intended to work? Because when I hit the play button on a
prompt this is what gets sent to OpenAI when I inpsect the browser request:
[image: image]
<https://user-images.githubusercontent.com/4787751/227224140-3740f2a5-05aa-4b17-8a11-5be5f16f5d3e.png>
The thing I would like to achieve when I press the play button is, instead
of two messages being sent (a system role message with the generic
prompt, plus a user role message with my custom prompt), I would like
just one message to be sent (a system role message with my custom prompt).
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APESZJTHP2DRSTG6NJ7RDADW5RISJANCNFSM6AAAAAAWEHRZRA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It looks like the system role is either constructed from the personality drop down for regular chats, or hard coded to
You are ChatGPT, a large language model trained by OpenAI
for prompt-based chats. It would be nice if there were also some way to specify a fully customsystem
role for a chat session. Maybe when creating a prompt the user could specify whether that prompt should be sent as a user role or the system role.The text was updated successfully, but these errors were encountered: