diff --git a/admin_manual/ai/app_assistant.rst b/admin_manual/ai/app_assistant.rst index 42714047a..4bd058e25 100644 --- a/admin_manual/ai/app_assistant.rst +++ b/admin_manual/ai/app_assistant.rst @@ -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. diff --git a/developer_manual/digging_deeper/task_processing.rst b/developer_manual/digging_deeper/task_processing.rst index ceee0155b..badd25fd2 100644 --- a/developer_manual/digging_deeper/task_processing.rst +++ b/developer_manual/digging_deeper/task_processing.rst @@ -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`. -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.