diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-07-24 12:12:06 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-08-09 10:22:31 +0200 |
commit | cc5818f8a9c716fe628d86f3704d0af80c34d396 (patch) | |
tree | f1bf1b44477f590a909ca7f97b4ff29c23830b9c /lib/public | |
parent | ad645c96f3d406206d2fb4aa76b3a96ddbfaa8d3 (diff) | |
download | nextcloud-server-cc5818f8a9c716fe628d86f3704d0af80c34d396.tar.gz nextcloud-server-cc5818f8a9c716fe628d86f3704d0af80c34d396.zip |
First pass at ai admin settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fc9780a41d586e2983f18e128a4095484e5860ac)
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/SpeechToText/ISpeechToTextManager.php | 6 | ||||
-rw-r--r-- | lib/public/TextProcessing/IManager.php | 6 | ||||
-rw-r--r-- | lib/public/Translation/ITranslationManager.php | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/SpeechToText/ISpeechToTextManager.php b/lib/public/SpeechToText/ISpeechToTextManager.php index eff00ec0fa1..96973cfca08 100644 --- a/lib/public/SpeechToText/ISpeechToTextManager.php +++ b/lib/public/SpeechToText/ISpeechToTextManager.php @@ -41,6 +41,12 @@ interface ISpeechToTextManager { public function hasProviders(): bool; /** + * @return ISpeechToTextProvider[] + * @since 27.1.0 + */ + public function getProviders(): array; + + /** * Will schedule a transcription process in the background. The result will become available * with the \OCP\SpeechToText\Events\TranscriptionFinishedEvent * You should add context information to the context array to re-identify the transcription result as diff --git a/lib/public/TextProcessing/IManager.php b/lib/public/TextProcessing/IManager.php index 90e25894d4f..50d012eca68 100644 --- a/lib/public/TextProcessing/IManager.php +++ b/lib/public/TextProcessing/IManager.php @@ -42,6 +42,12 @@ interface IManager { public function hasProviders(): bool; /** + * @return IProvider[] + * @since 27.1.0 + */ + public function getProviders(): array; + + /** * @return class-string<ITaskType>[] * @since 27.1.0 */ diff --git a/lib/public/Translation/ITranslationManager.php b/lib/public/Translation/ITranslationManager.php index 4450f19c424..5b342faea75 100644 --- a/lib/public/Translation/ITranslationManager.php +++ b/lib/public/Translation/ITranslationManager.php @@ -39,6 +39,12 @@ interface ITranslationManager { public function hasProviders(): bool; /** + * @return ITranslationProvider[] + * @since 27.1.0 + */ + public function getProviders(): array; + + /** * @since 26.0.0 */ public function canDetectLanguage(): bool; |