docs(ai): Address review comments

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2024-07-26 13:41:01 +02:00
parent 6b5b1468d6
commit 1c28e793d2
2 changed files with 3 additions and 3 deletions

View File

@@ -173,4 +173,4 @@ run the following occ commands a daemon (you can also spawn multiple, for parall
occ background-job:worker 'OC\TaskProcessing\SynchronousBackgroundJob'
Make sure to restart these daemons regularly. For example once a day.
Make sure to restart these daemons regularly, for example once a day, to make sure the daemon runs the latest code.

View File

@@ -340,8 +340,8 @@ The method ``process`` implements the text processing step. In case execution fa
This class would typically be saved into a file in ``lib/TaskProcessing`` of your app but you are free to put it elsewhere as long as it's loadable by Nextcloud's :ref:`dependency injection container<dependency-injection>`.
Providing supplemental inputs and outputs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Providing additional inputs and outputs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Built-in task types often only specify the most basic input and output slots. If you would like to offer more input options
with your provider you can specify optional inputs and outputs using the ``getOptionalInputShape`` and ``getOptionalOutputShape`` methods.