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

[TaskProcessing] Use taskprocessing in TextProcessing and STT managers #47601

Merged
merged 11 commits into from
Aug 30, 2024

Conversation

julien-nc
Copy link
Member

@julien-nc julien-nc commented Aug 29, 2024

When

  • scheduling a text processing task
  • running a text processing task
  • scheduling a STT task
  • running a STT task

a task processing task actually runs. So these old APIs still benefit from the new task processing providers.

@marcelklehr Like we discussed, it might be good to remove the AI admin settings STT section and adjust the text processing one so it does not show preferences for FreePromptTaskType, HeadlineTaskType, SummaryTaskType and TopicsTaskType.

Also, @marcelklehr Should we only run the task processing task in those manager's "run" methods and get rid of the 2nd part which still runs the task like before in case the task processing task has failed?

@julien-nc
Copy link
Member Author

/backport to stable30

@julien-nc julien-nc force-pushed the enh/noid/use-taskprocessing-in-old-managers branch from 0adf57a to 3d250e5 Compare August 29, 2024 10:24
Copy link
Member

@bigcat88 bigcat88 left a comment

Choose a reason for hiding this comment

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

looks good

@julien-nc julien-nc force-pushed the enh/noid/use-taskprocessing-in-old-managers branch from 3d250e5 to a5218a7 Compare August 29, 2024 11:37
@julien-nc julien-nc force-pushed the enh/noid/use-taskprocessing-in-old-managers branch 2 times, most recently from e709ea5 to ae6f15c Compare August 30, 2024 08:06
julien-nc and others added 10 commits August 30, 2024 10:07
…singManager::runTask

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…rocessingManager::runTask

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
taskprocessing is transparent to STT providers so specific STT settings are obsolete

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…rocessing settings

TaskProcessing is transparent to textprocessing providers and TextProcessing can use Taskprocessing providers so these are unnecessary

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…ilable

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…ethods"

This reverts commit d624c8d.

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the enh/noid/use-taskprocessing-in-old-managers branch from ae6f15c to 95006d2 Compare August 30, 2024 08:07
@marcelklehr
Copy link
Member

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@julien-nc julien-nc merged commit d9ae08b into master Aug 30, 2024
174 checks passed
@julien-nc julien-nc deleted the enh/noid/use-taskprocessing-in-old-managers branch August 30, 2024 11:29
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.

5 participants