Commit graph

14 commits

Author SHA1 Message Date
Marcel Klehr
fbcd275acb Context params: Make userId nullable
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:39:39 +02:00
Marcel Klehr
a2f5421fc3 SpeechToTextManager#scheduleFileTranscription: Take context params and expose them on the Transcription*Events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:35:13 +02:00
Marcel Klehr
a8b27c9126 TranscriptionJob: Add owner argument to simplify filesystem setup
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 11:26:04 +02:00
Marcel Klehr
9649f91892
Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 15:24:14 +02:00
Joas Schilling
bef4cf0ad1
Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 10:01:00 +02:00
Marcel Klehr
3f57725a7c SpeechToTextManager#transcribeFile: Try next provider if one fails
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:59:46 +02:00
Marcel Klehr
6e9f260348
Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 15:49:50 +02:00
Marcel Klehr
3779cc3d88 SpeechToTextManager: Deduplicate transcription jobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr
ad66180c34
Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 15:17:17 +02:00
Marcel Klehr
a8d3fff648 Split TranscriptionFinishedEvent into Successful and Failed events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:12:07 +02:00
Marcel Klehr
176f1af26a ISpeechToTextManager: Take File as input, drop $context
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 11:57:23 +02:00
Marcel Klehr
ef7ce88cee ISpeechToTextProvider#transcribeFile: Pass \OCP\Files\File instead of path
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-12 16:52:11 +02:00
Marcel Klehr
a9b5d1f9da chore(coding style): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:04:30 +02:00
Marcel Klehr
317521b607 feat(SpeechToText): Add SpeechToText provider API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 14:59:57 +02:00