aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/SpeechToText
Commit message (Collapse)AuthorAgeFilesLines
* feat(stt): add ability to cancel a scheduled transcriptionJulien Veyssier2024-03-151-0/+18
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>
* fix(SpeechToText): Prevent parallel runs of TranscriptionJobMarcel Klehr2023-04-231-0/+1
| | | | 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-192-2/+15
| | | | | | expose them on the Transcription*Events Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* TranscriptionJob: Add owner argument to simplify filesystem setupMarcel Klehr2023-04-192-53/+7
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* TranscriptionJob: Ensure filesystem is setup before trying to retrieve fileMarcel Klehr2023-04-181-2/+54
| | | | 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>
* AbstractTranscriptionEvent: Add File paramMarcel Klehr2023-04-171-0/+8
| | | | 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>
* Add missing strict_types + author + copyrightMarcel Klehr2023-04-131-0/+24
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Split TranscriptionFinishedEvent into Successful and Failed eventsMarcel Klehr2023-04-132-13/+20
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* ISpeechToTextManager: Take File as input, drop $contextMarcel Klehr2023-04-132-18/+14
| | | | 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-112-0/+154
Signed-off-by: Marcel Klehr <mklehr@gmx.net>