LLM OCP API: Improve scheduleTask docblock

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9f405a19f7)
This commit is contained in:
Marcel Klehr 2023-07-07 12:37:01 +02:00
parent 39d59a10b1
commit 15f08a7487

View 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