aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/SpeechToText
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-07-26 11:20:46 +0200
committerMarcel Klehr <mklehr@gmx.net>2024-07-26 11:20:46 +0200
commit397b1d1654d543a6cd040f5de31725055c457ad0 (patch)
treec991483dbf2c80a3d53c60760a4d63d169265e02 /lib/public/SpeechToText
parent87dc0614d703536843b878808a2721899df798b4 (diff)
downloadnextcloud-server-397b1d1654d543a6cd040f5de31725055c457ad0.tar.gz
nextcloud-server-397b1d1654d543a6cd040f5de31725055c457ad0.zip
chore: deprecate old AI APIs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/public/SpeechToText')
-rw-r--r--lib/public/SpeechToText/Events/AbstractTranscriptionEvent.php1
-rw-r--r--lib/public/SpeechToText/Events/TranscriptionFailedEvent.php1
-rw-r--r--lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php1
-rw-r--r--lib/public/SpeechToText/ISpeechToTextManager.php1
-rw-r--r--lib/public/SpeechToText/ISpeechToTextProvider.php1
-rw-r--r--lib/public/SpeechToText/ISpeechToTextProviderWithId.php1
-rw-r--r--lib/public/SpeechToText/ISpeechToTextProviderWithUserId.php1
7 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/SpeechToText/Events/AbstractTranscriptionEvent.php b/lib/public/SpeechToText/Events/AbstractTranscriptionEvent.php
index eeb7695b387..6554292d413 100644
--- a/lib/public/SpeechToText/Events/AbstractTranscriptionEvent.php
+++ b/lib/public/SpeechToText/Events/AbstractTranscriptionEvent.php
@@ -13,6 +13,7 @@ use OCP\Files\File;
/**
* @since 27.0.0
+ * @deprecated 30.0.0
*/
abstract class AbstractTranscriptionEvent extends Event {
/**
diff --git a/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php b/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php
index 53eb56c2ea9..4c2b0d52017 100644
--- a/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php
+++ b/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php
@@ -15,6 +15,7 @@ use OCP\Files\File;
/**
* This Event is emitted if a transcription of a media file using a Speech-To-Text provider failed
* @since 27.0.0
+ * @deprecated 30.0.0
*/
class TranscriptionFailedEvent extends AbstractTranscriptionEvent {
/**
diff --git a/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php b/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php
index 1e333fdc3c7..e8e5359a29e 100644
--- a/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php
+++ b/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php
@@ -15,6 +15,7 @@ use OCP\Files\File;
/**
* This Event is emitted when a transcription of a media file happened successfully
* @since 27.0.0
+ * @deprecated 30.0.0
*/
class TranscriptionSuccessfulEvent extends AbstractTranscriptionEvent {
/**
diff --git a/lib/public/SpeechToText/ISpeechToTextManager.php b/lib/public/SpeechToText/ISpeechToTextManager.php
index 27523a69a95..043dac0ba14 100644
--- a/lib/public/SpeechToText/ISpeechToTextManager.php
+++ b/lib/public/SpeechToText/ISpeechToTextManager.php
@@ -17,6 +17,7 @@ use RuntimeException;
/**
* @since 27.0.0
+ * @deprecated 30.0.0
*/
interface ISpeechToTextManager {
/**
diff --git a/lib/public/SpeechToText/ISpeechToTextProvider.php b/lib/public/SpeechToText/ISpeechToTextProvider.php
index a1aca06e2e4..dce4a68ea0a 100644
--- a/lib/public/SpeechToText/ISpeechToTextProvider.php
+++ b/lib/public/SpeechToText/ISpeechToTextProvider.php
@@ -15,6 +15,7 @@ use RuntimeException;
/**
* @since 27.0.0
+ * @deprecated 30.0.0
*/
interface ISpeechToTextProvider {
/**
diff --git a/lib/public/SpeechToText/ISpeechToTextProviderWithId.php b/lib/public/SpeechToText/ISpeechToTextProviderWithId.php
index a1d73d10a58..8020c6c9b96 100644
--- a/lib/public/SpeechToText/ISpeechToTextProviderWithId.php
+++ b/lib/public/SpeechToText/ISpeechToTextProviderWithId.php
@@ -8,6 +8,7 @@ namespace OCP\SpeechToText;
/**
* @since 28.0.0
+ * @deprecated 30.0.0
*/
interface ISpeechToTextProviderWithId extends ISpeechToTextProvider {
diff --git a/lib/public/SpeechToText/ISpeechToTextProviderWithUserId.php b/lib/public/SpeechToText/ISpeechToTextProviderWithUserId.php
index f1b84476b9a..d1bc4216a38 100644
--- a/lib/public/SpeechToText/ISpeechToTextProviderWithUserId.php
+++ b/lib/public/SpeechToText/ISpeechToTextProviderWithUserId.php
@@ -12,6 +12,7 @@ namespace OCP\SpeechToText;
/**
* @since 29.0.0
+ * @deprecated 30.0.0
*/
interface ISpeechToTextProviderWithUserId extends ISpeechToTextProvider {
/**