Skip to content

send custom prompts with system role#24

Open
rudism wants to merge 1 commit into
deiucanta:mainfrom
rudism:system-prompt
Open

send custom prompts with system role#24
rudism wants to merge 1 commit into
deiucanta:mainfrom
rudism:system-prompt

Conversation

@rudism

@rudism rudism commented Mar 23, 2023

Copy link
Copy Markdown

For your consideration...

Adds a nullable promptId property to the chat database entity to keep track of which prompt a chat was launched from, and changes the behavior of the prompt play button so that it will send the user's prompt with the system role at the beginning of a new prompt-based chat (instead of the current behavior where the user's prompt is immediately sent as a user role message when a prompt play button is clicked).

closes #19

@deiucanta

Copy link
Copy Markdown
Owner

Thanks for the PR!

My vision for this has two parts

  1. When "playing" a prompt, it will create a new chat, and populate the textarea with the prompt message. For this, we need a global store like Zustand.
  2. Inside the OpenAI settings modal, we should have a new field for the default system prompt. This will be stored inside the database, inside the general settings object.

Can you update the PR to do this?

@Supernova3339

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

My vision for this has two parts

  1. When "playing" a prompt, it will create a new chat, and populate the textarea with the prompt message. For this, we need a global store like Zustand.
  2. Inside the OpenAI settings modal, we should have a new field for the default system prompt. This will be stored inside the database, inside the general settings object.

Can you update the PR to do this?

two weeks to a month ( after current workload and big work project ) and I can add in the default system prompt
I'd do it sooner but I'm swamped right now :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Ability to fully customize the system role

3 participants