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

Overwrite system prompt on load/generate #1879

Open
twsl opened this issue Dec 21, 2024 · 1 comment
Open

Overwrite system prompt on load/generate #1879

twsl opened this issue Dec 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@twsl
Copy link

twsl commented Dec 21, 2024

Currently the prompt style is created on model generation and cannot easily be changed.
However it would make sense to update the system prompt for each generation. to offer more flexibility.
While the PromptStyle format is defined for each supported model architecture, there is no need to enforce the system prompt text itself.
Therefore I suggest an extension to the PromptStyle class to update the system prompt

@twsl twsl added the enhancement New feature or request label Dec 21, 2024
@twsl twsl changed the title Overwrite prompt_style on load/generate Overwrite system prompt on load/generate Dec 21, 2024
@rasbt
Copy link
Collaborator

rasbt commented Jan 8, 2025

Thanks for the suggestion. This is a reasonable extension. Unfortunately, I currently don't have the capacity to work on it, but maybe my colleagues can weigh in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants