Skip to content

Conversation

@julien-nc
Copy link
Member

@julien-nc julien-nc commented Jan 16, 2025

refs #4095

Here is what was originally in https://github.com/nextcloud/slide_deck_generator

  • Needs mapping from AI generated JSON to collabora API @elzody
  • Needs a comment somewhere about the nesting of tasks that may need multiple workers

@julien-nc julien-nc added enhancement New feature or request 2. developing Work in progress feature: templates labels 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:
Copy link
Member

Choose a reason for hiding this comment

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

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

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.

@juliusknorr juliusknorr mentioned this pull request Jan 16, 2025
7 tasks
@elzody elzody force-pushed the enh/4095/slide-generation-provider branch from 4b2bd29 to edb9f2e Compare March 27, 2025 16:03
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Apr 17, 2025
@juliusknorr juliusknorr moved this from 🧭 Planning evaluation (don't pick) to 🏗️ In progress in 📝 Office team Apr 17, 2025
@juliusknorr juliusknorr moved this from 🏗️ In progress to 📄 To do (~10 entries) in 📝 Office team Apr 17, 2025
@elzody elzody force-pushed the enh/4095/slide-generation-provider branch from edb9f2e to 7affa3a Compare April 22, 2025 15:44
@elzody elzody force-pushed the enh/4095/slide-generation-provider branch from 264a9cd to f2b22ec Compare April 29, 2025 16:53
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Small nitpick, looks good otherwise 👍

@juliusknorr juliusknorr changed the title Move task processing provider and task type from https://github.com/n… Slide deck generation task provider Apr 29, 2025
@elzody elzody force-pushed the enh/4095/slide-generation-provider branch from e44031e to 9a32edf Compare April 30, 2025 18:35
@elzody elzody force-pushed the enh/4095/slide-generation-provider branch from 9a32edf to bbc13d6 Compare May 7, 2025 21:20
@elzody elzody merged commit 6dd782e into main May 7, 2025
68 checks passed
@elzody elzody deleted the enh/4095/slide-generation-provider branch May 7, 2025 21:26
@github-project-automation github-project-automation bot moved this from 📄 To do (~10 entries) to ☑️ Done in 📝 Office team May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress enhancement New feature or request feature: templates

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants