Slide deck generation task provider#4390
Merged
Merged
Conversation
juliusknorr
reviewed
Jan 16, 2025
|
|
||
| class SlideDeckService { | ||
| public const PROMPT = <<<EOF | ||
| Draft a presentation slide deck with headlines and a maximum of 5 bullet points per headline. Use the following JSON structure for your whole output and output only the JSON array, no introductory text: |
Member
There was a problem hiding this comment.
I just remembered, Daphne raised to me that this likely should support different languages as well (especially German). Is that feasible? Just using different prompts then?
Member
Author
There was a problem hiding this comment.
We should probably add an instruction sentence to make sure the model outputs in the same language as the "presentation text" coming from the user.
The "system" prompt can stay in english. We do it for summary, headlines, topics etc... and it works pretty well with most tested models.
4b2bd29 to
edb9f2e
Compare
edb9f2e to
7affa3a
Compare
264a9cd to
f2b22ec
Compare
juliusknorr
reviewed
Apr 29, 2025
juliusknorr
approved these changes
Apr 29, 2025
juliusknorr
left a comment
Member
There was a problem hiding this comment.
Small nitpick, looks good otherwise 👍
e44031e to
9a32edf
Compare
…extcloud/slide_deck_generator Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
9a32edf to
bbc13d6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refs #4095
Here is what was originally in https://github.com/nextcloud/slide_deck_generator