You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin_manual/ai/app_assistant.rst
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Nextcloud Assistant
6
6
7
7
Nextcloud assistant is the primary graphical user interface for interacting with artificial intelligence features in Nextcloud.
8
8
9
-
It offers the graphical user interface for the unified AI Task processing API offering features like summarizing text, generating headlines, asking arbitrary questions, transcription of media files, image generation and it integrates with the context_chat app to offer in-context answers about your own data stored in Nextcloud. The assistant app also offers a chat interface to interact with the chosen language model. Nextcloud can provide customer support upon request, please talk to your account manager for the possibilities.
9
+
It offers the graphical user interface for the unified AI Task processing API offering features like summarizing text, generating headlines, asking arbitrary questions, transcription of media files, image generation and it integrates with the context_chat app to offer in-context answers about your own data stored in Nextcloud. The assistant app also offers a chat interface to interact with the chosen language model, including multimodal chat with file attachments when a compatible backend is configured. Nextcloud can provide customer support upon request, please talk to your account manager for the possibilities.
10
10
11
11
Find the user documentation here:
12
12
`AI assistant user documentation <https://docs.nextcloud.com/server/latest/user_manual/ai_assistant.html>`_
@@ -106,6 +106,15 @@ In order to make use of our "Chat with AI" feature you will need any one of the
106
106
* :ref:`llm2<ai-app-llm2>` - Runs open source AI language models locally on your own server hardware (Customer support available upon request)
107
107
* `OpenAI and LocalAI integration (via OpenAI API) <https://apps.nextcloud.com/apps/integration_openai>`_ - Integrates with the OpenAI API to provide AI functionality from OpenAI servers (Customer support available upon request; see :ref:`AI as a Service<ai-ai_as_a_service>`)
108
108
109
+
Multimodal chat
110
+
~~~~~~~~~~~~~~~
111
+
112
+
Multimodal chat extends "Chat with AI" so users can attach files for the language model to analyze in the conversation, such as images and, with some models, audio and video. Text files can also be attached as context.
113
+
114
+
In order to make use of multimodal chat you will need any one of the following backends with a multimodal-capable model:
115
+
116
+
* :ref:`llm2<ai-app-llm2>` - Use a multimodal model such as the shipped Qwen 3.5 9B (vision) or Gemma 4 E4B (vision and audio) (Customer support available upon request)
117
+
* `OpenAI and LocalAI integration (via OpenAI API) <https://apps.nextcloud.com/apps/integration_openai>`_ - Integrates with multimodal models via the OpenAI API (Customer support available upon request; see :ref:`AI as a Service<ai-ai_as_a_service>`)
Copy file name to clipboardExpand all lines: admin_manual/ai/app_llm2.rst
+27-5Lines changed: 27 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,36 @@ The *llm2* app is one of the apps that provide text processing functionality usi
8
8
9
9
This app uses `llama.cpp <https://github.com/abetlen/llama-cpp-python>`_ under the hood and is thus compatible with any model in *gguf* format.
10
10
11
-
However, we only test with Llama 3.1. Output quality will differ depending on which model you use and downstream tasks like summarization or Context Chat may not work on other models.
11
+
However, we primarily test with the models listed below. Output quality will differ depending on which model you use and downstream tasks like summarization or Context Chat may not work on other models.
12
12
We thus recommend the following models:
13
13
14
-
* `Llama3.1 8b Instruct <https://huggingface.co/QuantFactory/Meta-Llama-3.1-8B-Instruct-GGUF>`_ (reasonable quality; fast; good acclaim; comes shipped with the app)
15
-
* `Llama3.1 70B Instruct <https://huggingface.co/bartowski/Meta-Llama-3.1-70B-Instruct-GGUF>`_ (good quality; good acclaim)
14
+
* `Qwen 3.5 9B <https://huggingface.co/unsloth/Qwen3.5-9B-GGUF>`_ (good quality; multimodal vision; comes shipped with the app)
15
+
* `Gemma 4 E4B <https://huggingface.co/google/gemma-4-E4B-it-qat-q4_0-gguf>`_ (fast; multimodal vision and audio; comes shipped with the app)
16
+
* `OLMo 3 7B Instruct <https://huggingface.co/allenai/Olmo-3-7B-Instruct>`_ (fully open; green Ethical AI rating; text only; comes shipped with the app; see addendum below)
17
+
18
+
Multimodal chat
19
+
---------------
20
+
21
+
With a multimodal-capable model, *llm2* supports multimodal chat in the :ref:`Nextcloud Assistant app<ai-app-assistant>`: users can attach images (and with Gemma 4, also audio) to chat messages so the model can reason about their content. Text files can also be attached as context.
22
+
23
+
The following shipped models support multimodality:
24
+
25
+
* **Qwen 3.5 9B** - vision (images)
26
+
* **Gemma 4 E4B** - vision (images) and audio
27
+
28
+
Vision-capable models also register the *Analyze images* and *OCR* task types in addition to the usual text-processing tasks.
29
+
30
+
Multimodal models need a matching multimodal projector (``mmproj``) *gguf* file next to the model file. The projector files for the shipped Qwen 3.5 and Gemma 4 models are downloaded automatically with the models. If you supply your own multimodal model, place its ``mmproj`` file in ``/nc_app_llm2_data`` as well and set ``mmproj_path`` in the model's JSON configuration (see :ref:`Configuring alternate models <ai-app-llm2-configuring-alternate-models>` below).
16
31
17
32
Multilinguality
18
33
---------------
19
34
20
35
This app supports input and output in languages other than English if the underlying model supports the language.
21
36
37
+
Qwen 3.5 supports the following 201 languages: <https://qwen.ai/blog?id=qwen3.5>
38
+
39
+
Gemma 4 provides multilingual support, offering high-quality performance in 35 languages and basic support for 140 languages.
40
+
22
41
Llama 3.1 `supports the following languages: <https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct#multilingual-benchmarks>`_
23
42
24
43
* English
@@ -30,7 +49,7 @@ Llama 3.1 `supports the following languages: <https://huggingface.co/meta-llama/
30
49
* Hindi
31
50
* Thai
32
51
33
-
Note, that other languages may work as well, but only the above languages are guaranteed to work.
52
+
Note that other languages may work as well, but only the above languages are guaranteed to work with Llama 3.1.
34
53
35
54
Requirements
36
55
------------
@@ -69,6 +88,8 @@ This app allows supplying alternate LLM models as *gguf* files in the ``/nc_app_
69
88
4. Select the new model in the Nextcloud AI admin settings
70
89
71
90
91
+
.. _ai-app-llm2-configuring-alternate-models:
92
+
72
93
Configuring alternate models
73
94
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74
95
@@ -126,12 +147,13 @@ Nextcloud customers should file bugs directly with our Support system.
126
147
Known Limitations
127
148
-----------------
128
149
129
-
* We currently only support languages that the underlying model supports; correctness of language use in languages other than English may be poor depending on the language's coverage in the model's training data (We recommended model Llama 3 or other models explicitly trained on multiple languages)
150
+
* We currently only support languages that the underlying model supports; correctness of language use in languages other than English may be poor depending on the language's coverage in the model's training data (We recommend Qwen 3.5 for Asian languages, while Gemma 4 is better for European languages)
130
151
* Language models can be bad at reasoning tasks
131
152
* Language models can be bad at math
132
153
* Language models are likely to generate false information and should thus only be used in situations that are not critical. It's recommended to only use AI at the beginning of a creation process and not at the end, so that outputs of AI serve as a draft for example and not as final product. Always check the output of language models before using it.
133
154
* Make sure to test the language model you are using it for whether it meets the use-case's quality requirements
134
155
* Language models notoriously have a high energy consumption, if you want to reduce load on your server you can choose smaller models or quantized models in exchange for lower accuracy
156
+
* Multimodal features (chat with image or audio attachments, Analyze images, OCR) require a multimodal-capable model and its matching ``mmproj`` file; text-only models such as Llama 3.1 will not process image or audio attachments
135
157
* Customer support is available upon request, however we can't solve false or problematic output, most performance issues, or other problems caused by the underlying model. Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI)
0 commit comments