aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TextProcessing
Commit message (Collapse)AuthorAgeFilesLines
* fix(textprocessing): accept scheduling a task if there are equivalent ↵fix/noid/textprocessing-schedule-taskprocessing-providerJulien Veyssier2024-11-131-1/+5
| | | | | | taskprocessing providers only Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(textprocessing): factorize taskProcessingCompatibleTaskTypesJulien Veyssier2024-10-241-22/+11
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(textprocessing): also list types that are available in task processingJulien Veyssier2024-10-241-0/+29
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-191-2/+2
| | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(BackgroundJobs): Adjust intervals and time sensitivitiesprovokateurin2024-10-081-1/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-193-4/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(TextProcessing): Don't run taskProcessing if task type is not availableMarcel Klehr2024-08-301-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(speech-to-text): SpeechToTextManager::transcribeFile calls ↵Julien Veyssier2024-08-301-4/+7
| | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(textprocessing): TextProcessingManager::runTask calls ↵Julien Veyssier2024-08-301-0/+56
| | | | | | TaskProcessingManager::runTask Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(TextProcessing): use error instead of info for exception loggingAnupam Kumar2024-07-181-1/+1
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-245-90/+10
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix missing return statement, inline returnAndrey Borysenko2024-02-121-3/+2
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* cs:fixMarcel Klehr2023-12-191-3/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Merge branch 'master' into enh/text-processing-provider-with-idMarcel Klehr2023-12-192-36/+81
|\ | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-6/+6
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * fix: Make sure array starts at 0 after array filterMarcel Klehr2023-11-101-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix: Don't try to access undefined array keyMarcel Klehr2023-11-091-1/+5
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update lib/private/TextProcessing/Manager.phpMarcel Klehr2023-11-081-1/+1
| | | | | | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * Update lib/private/TextProcessing/Manager.phpMarcel Klehr2023-11-081-1/+1
| | | | | | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix: split IProvider2 into two more verbose interfacesMarcel Klehr2023-11-071-4/+4
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix(TextProcessing/Manager): add canuseProvider check in getPreferredProvidersMarcel Klehr2023-11-061-3/+1
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * fix(TextProcessing/Manager): Throw TaskFailureException upon failureMarcel Klehr2023-11-061-7/+3
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * enh(TextProcessing): Add IProvider2Marcel Klehr2023-11-032-16/+63
| | | | | | | | | | | | | | - allow providers to obtain current task's userId - allow providers to expose average task runtime Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | enh(TextProcessing): Allow providers and task types to declare a dynamic ID ↵Marcel Klehr2023-10-241-1/+7
|/ | | | | | | | instead of using className this allows AppAPI to register anonymous classes as TextProcessing providers and task types Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* feat: Add delete task APIJulius Härtl2023-08-071-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* change sql where order to match index orderJulien Veyssier2023-08-071-2/+2
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* allow anon text processing schedulingJulien Veyssier2023-08-073-6/+56
| | | | | | | | | add a textprocessing_tasks index convert anotations to method attributes refactor TP manager add mapper methods Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* start implementing ocs endpoint to get task list from user+appId+identifierJulien Veyssier2023-08-072-1/+37
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Migration: Drop llm_tasks table and add textprocessing_tasksMarcel Klehr2023-08-021-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* AI admin settings: Use config values in AI feature managersMarcel Klehr2023-08-021-1/+17
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Fix tests: Adjust constructor signatureMarcel Klehr2023-07-191-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Remove Task::factory methodMarcel Klehr2023-07-191-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Apply suggestions from code reviewMarcel Klehr2023-07-171-1/+1
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-145-0/+494
Signed-off-by: Marcel Klehr <mklehr@gmx.net>