mirror of
https://github.com/nextcloud/documentation.git
synced 2025-07-23 00:48:36 +00:00
Merge pull request #13401 from nextcloud/analyze-image
docs for analyze image task type
This commit is contained in:
@ -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
|
||||
^^^^^^^^^^^^
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user