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

FEATURE: Add initial_prompt support for whispercpp params #156

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andermatt64
Copy link

What does this PR address?

Adding support for setting the initial prompt in whispercpp. I've tested it locally with success.

Should fix #89 ?

Before submitting:

Comment on lines +610 to +615
.def_property(
"initial_prompt", [](Params &self) { return self.get()->initial_prompt; },
[](Params &self, const char *initial_prompt) {
WITH_DEPRECATION("initial_prompt");
self.with_initial_prompt(initial_prompt);
})
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to set this if this doesn't exist beforehand

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.

feat: support prompt param
2 participants