From bd43f4ed14e728926656f65c667590aa374d7975 Mon Sep 17 00:00:00 2001 From: Lukas Schaefer Date: Wed, 9 Jul 2025 11:58:48 -0400 Subject: [PATCH] docs for analyze image task type Signed-off-by: Lukas Schaefer --- .../app_upgrade_guide/upgrade_to_32.rst | 1 + developer_manual/digging_deeper/task_processing.rst | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst index 0c6dcac12..810e935ec 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_32.rst @@ -49,6 +49,7 @@ Added APIs - New method ``\OCA\Files\Controller\TemplateController::listTemplateFields`` to list the fields of a template, accessible at ``/ocs/v2.php/apps/files/api/v1/templates/fields/{fileId}``. - New method ``\OCP\Files\Template\BeforeGetTemplatesEvent::shouldGetFields`` to get the event's ``withFields`` property, which should determine whether or not to perform template field extraction on the returned templates. - New interface ``\OCP\OCM\ICapabilityAwareOCMProvider`` to extend the OCM provider with 1.1 and 1.2 extensions of the Open Cloud Mesh Discovery API +- New task processing task type ``OCP\TaskProcessing\AnalyzeImages`` to ask questions about images. Changed APIs ^^^^^^^^^^^^ diff --git a/developer_manual/digging_deeper/task_processing.rst b/developer_manual/digging_deeper/task_processing.rst index a52395ac7..f182a502d 100644 --- a/developer_manual/digging_deeper/task_processing.rst +++ b/developer_manual/digging_deeper/task_processing.rst @@ -121,6 +121,13 @@ The following built-in task types are available: * ``input``: ``Text`` * Output shape: * ``speech``: ``Audio`` + * ``'core:analyze-images'``: This task type is for analyzing images. It is implemented by ``\OCP\TaskProcessing\TaskTypes\AnalyzeImages`` + * Input shape: + * ``input``: ``Text`` + * ``images``: ``ListOfImages`` + * Output shape: + * ``output``: ``Text`` + Task types can be disabled in the AI admin settings so they are not available for the Assistant or other apps even if they are implemented. All implemented Task types are enabled by default.