aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-07 12:37:01 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-07-07 13:39:10 +0200
commit9f405a19f782c88310d8cbe1f02eb4e1e8157115 (patch)
tree155484843c1d531f5f2aec20439cc9f860c76d85 /lib/public
parentea4dc4cba8c433f7cf3436794706c0d5b1c57bd9 (diff)
downloadnextcloud-server-9f405a19f782c88310d8cbe1f02eb4e1e8157115.tar.gz
nextcloud-server-9f405a19f782c88310d8cbe1f02eb4e1e8157115.zip
LLM OCP API: Improve scheduleTask docblock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/LanguageModel/ILanguageModelManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/LanguageModel/ILanguageModelManager.php b/lib/public/LanguageModel/ILanguageModelManager.php
index 438ed1ceb00..32cc4b788bf 100644
--- a/lib/public/LanguageModel/ILanguageModelManager.php
+++ b/lib/public/LanguageModel/ILanguageModelManager.php
@@ -62,7 +62,8 @@ interface ILanguageModelManager {
/**
* Will schedule an LLM inference process in the background. The result will become available
- * with the \OCP\LanguageModel\Events\TaskFinishedEvent
+ * with the \OCP\LanguageModel\Events\TaskSuccessfulEvent
+ * If inference fails a \OCP\LanguageModel\Events\TaskFailedEvent will be dispatched instead
*
* @throws PreConditionNotMetException If no or not the requested provider was registered but this method was still called
* @since 28.0.0