feat: add proofread tasktype

Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
This commit is contained in:
Jana Peper
2024-12-19 13:57:46 +01:00
parent dbe9427e5d
commit 652be38584

View File

@@ -110,6 +110,11 @@ The following built-in task types are available:
* ``tone``: ``Enum``
* Output shape:
* ``output``: ``Text``
* ``'core:text2text:proofread'``: This task type is for proofreading a text, checking it for grammar and spelling mistakes. It is implemented by ``\OCP\TaskProcessing\TaskTypes\TextToTextProofread``
* Input shape:
* ``input``: ``Text``
* 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.