Skip to content

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