Merge pull request #13401 from nextcloud/analyze-image

docs for analyze image task type
This commit is contained in:
Lukas Schaefer
2025-07-14 08:26:42 -04:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@ -50,6 +50,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
^^^^^^^^^^^^

View File

@ -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.