Skip to content

Commit e2a1ba7

Browse files
authored
Merge pull request #15397 from nextcloud/multimodal-admin-docs
Mention new models and multimodality
2 parents 08044c3 + 9f2633a commit e2a1ba7

2 files changed

Lines changed: 37 additions & 6 deletions

File tree

admin_manual/ai/app_assistant.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Nextcloud Assistant
66

77
Nextcloud assistant is the primary graphical user interface for interacting with artificial intelligence features in Nextcloud.
88

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.
1010

1111
Find the user documentation here:
1212
`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
106106
* :ref:`llm2<ai-app-llm2>` - Runs open source AI language models locally on your own server hardware (Customer support available upon request)
107107
* `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>`)
108108

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>`)
109118

110119
Voice Chat
111120
~~~~~~~~~~

admin_manual/ai/app_llm2.rst

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,36 @@ The *llm2* app is one of the apps that provide text processing functionality usi
88

99
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.
1010

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.
1212
We thus recommend the following models:
1313

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).
1631

1732
Multilinguality
1833
---------------
1934

2035
This app supports input and output in languages other than English if the underlying model supports the language.
2136

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+
2241
Llama 3.1 `supports the following languages: <https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct#multilingual-benchmarks>`_
2342

2443
* English
@@ -30,7 +49,7 @@ Llama 3.1 `supports the following languages: <https://huggingface.co/meta-llama/
3049
* Hindi
3150
* Thai
3251

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.
3453

3554
Requirements
3655
------------
@@ -69,6 +88,8 @@ This app allows supplying alternate LLM models as *gguf* files in the ``/nc_app_
6988
4. Select the new model in the Nextcloud AI admin settings
7089

7190

91+
.. _ai-app-llm2-configuring-alternate-models:
92+
7293
Configuring alternate models
7394
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7495

@@ -126,12 +147,13 @@ Nextcloud customers should file bugs directly with our Support system.
126147
Known Limitations
127148
-----------------
128149

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)
130151
* Language models can be bad at reasoning tasks
131152
* Language models can be bad at math
132153
* 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.
133154
* Make sure to test the language model you are using it for whether it meets the use-case's quality requirements
134155
* 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
135157
* 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)
136158

137159
Addendum: Running with a fully open model

0 commit comments

Comments
 (0)