Skip to content

Commit 5695752

Browse files
authored
Merge pull request #14083 from nextcloud/client-integration_2
2 parents 0ed9482 + f47e226 commit 5695752

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

developer_manual/client_apis/ClientIntegration/index.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,15 @@ Here is an example of using the Assistant app.
178178
},
179179
},
180180
181-
The Assistant integration has a few endpoints for the client to show and execute. They appear like this on the client side:
181+
The Assistant integration has a few endpoints for the client to show and execute. "Summarize using AI" and "Text-To-Speech using AI" appears at the bottom of each menu on the client side:
182182

183-
.. image:: ../images/client-integration-ios.png
184-
:alt: Client integration on iOS
185-
:scale: 50%
183+
|pic1| |pic2|
186184

187-
.. image:: ../images/client-integration-android.png
188-
:alt: Client integration on Android
189-
:scale: 50%
185+
.. |pic1| image:: ../images/client-integration-ios.png
186+
:width: 45%
187+
188+
.. |pic2| image:: ../images/client-integration-android.png
189+
:width: 45%
190190

191191
Looking at the "Summarize using AI" action, it will only show for files with mimetypes starting with "text/" or the specified document and PDF mimetypes, as described in `mimetype_filters`.
192192
When clicking on the action, the client will send a POST request to the specified URL, replacing {fileId} with the actual file id. The app can then handle the request and for example send a tooltip response back to the client. The client will show the tooltip to the user:
175 KB
Loading

0 commit comments

Comments
 (0)