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

send custom prompts with system role #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rudism
Copy link

@rudism rudism commented Mar 23, 2023

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
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
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