]> source.dussan.org Git - nextcloud-server.git/commitdiff
LLM OCP API: Improve scheduleTask docblock
authorMarcel Klehr <mklehr@gmx.net>
Fri, 7 Jul 2023 10:37:01 +0000 (12:37 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:02:18 +0000 (10:02 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9f405a19f782c88310d8cbe1f02eb4e1e8157115)

lib/public/LanguageModel/ILanguageModelManager.php

index 438ed1ceb00ed910a0704602fe062bcf5f275612..32cc4b788bf39c5b409b4e601d52af84d1927109 100644 (file)
@@ -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