aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/SpeechToText/SpeechToTextManager.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-241-20/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(stt): add ability to cancel a scheduled transcriptionJulien Veyssier2024-03-151-0/+18
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Use the STT provider's exception message in the RuntimeException that will ↵Julien Veyssier2024-02-141-0/+1
| | | | | | be caught by upper contexts Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* move setting of userId before provider executionAndrey Borysenko2024-01-141-3/+3
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* Introduce ISpeechToTextProviderWithUserIdAndrey Borysenko2024-01-141-0/+6
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* enh(SpeechToText): Allow providers to declare a dynamic ID instead of using ↵Marcel Klehr2023-12-191-2/+8
| | | | | | | | className this allows AppAPI to register anonymous classes as SpeechToText providers Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* AI admin settings: Use config values in AI feature managersMarcel Klehr2023-08-021-1/+14
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Context params: Make userId nullableMarcel Klehr2023-04-191-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* SpeechToTextManager#scheduleFileTranscription: Take context params and ↵Marcel Klehr2023-04-191-2/+7
| | | | | | expose them on the Transcription*Events Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* TranscriptionJob: Add owner argument to simplify filesystem setupMarcel Klehr2023-04-191-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Update lib/private/SpeechToText/SpeechToTextManager.phpMarcel Klehr2023-04-181-2/+2
| | | | Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Fix missing importJoas Schilling2023-04-181-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* SpeechToTextManager#transcribeFile: Try next provider if one failsMarcel Klehr2023-04-171-7/+9
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Update lib/private/SpeechToText/SpeechToTextManager.phpMarcel Klehr2023-04-171-3/+0
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* SpeechToTextManager: Deduplicate transcription jobsMarcel Klehr2023-04-171-0/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Update lib/private/SpeechToText/SpeechToTextManager.phpMarcel Klehr2023-04-131-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Split TranscriptionFinishedEvent into Successful and Failed eventsMarcel Klehr2023-04-131-3/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* ISpeechToTextManager: Take File as input, drop $contextMarcel Klehr2023-04-131-17/+10
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* ISpeechToTextProvider#transcribeFile: Pass \OCP\Files\File instead of pathMarcel Klehr2023-04-121-4/+20
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore(coding style): Run cs:fixMarcel Klehr2023-04-111-1/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* feat(SpeechToText): Add SpeechToText provider APIMarcel Klehr2023-04-111-0/+107
Signed-off-by: Marcel Klehr <mklehr@gmx.net>