No description
Find a file
2025-12-23 11:14:37 +01:00
.github fix: use Php 8.4 in phpunit actions 2025-12-23 11:10:59 +01:00
.tx it's alive, alive!!! 2022-12-31 17:57:32 +01:00
appinfo prepare 4.1.0 2025-12-23 10:43:20 +01:00
img docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
l10n fix(l10n): Update translations from Transifex 2025-12-23 00:59:44 +00:00
lib fix: Improve memories prompt 2025-12-11 12:45:34 +01:00
LICENSES ci(reuse): Add reuse check 2025-01-08 19:47:09 +01:00
src Merge pull request #271 from nextcloud/fix/update-default-model 2025-10-13 08:49:57 -04:00
templates docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
tests Fix: Properly fix tests 2025-12-01 15:48:53 +01:00
vendor-bin fix(tests): add composer.lock for phpunit back (#308) 2025-12-09 18:03:31 +05:30
.eslintrc.cjs feat: add monthly quota periods 2025-08-21 10:02:26 -04:00
.gitattributes docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
.gitignore docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
.l10nignore docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
.nextcloudignore fix: include composer dependencies in the release archive, exclude vite and stylelint config files 2025-12-23 10:37:48 +01:00
.php-cs-fixer.dist.php docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
AUTHORS.md alphabetize authors 2025-06-25 09:34:27 -04:00
CHANGELOG.md prepare 4.1.0 2025-12-23 10:43:20 +01:00
composer.json fix(composer): Don't require composer install to be run twice 2025-12-01 14:09:21 +01:00
composer.lock fix: Update copmposer.lock 2025-11-27 13:40:17 +01:00
COPYING it's alive, alive!!! 2022-12-31 17:57:32 +01:00
krankerl.toml fix: include composer dependencies in the release archive, exclude vite and stylelint config files 2025-12-23 10:37:48 +01:00
makefile docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
package-lock.json chore: migrate to vue3 and @nextcloud/vue 9 2025-06-11 12:12:45 +02:00
package.json build: update node and npm engines versions (#259) 2025-08-26 15:32:52 +05:30
psalm.xml refactor: Use new OCP interface for watermarking providers 2025-11-27 11:48:15 +01:00
README.md chore: add openai api info in the readme 2025-09-02 13:42:52 +05:30
REUSE.toml chore(REUSE): Fix REUSE annotations 2025-11-24 12:47:06 +01:00
scoper.inc.php chore(REUSE): Fix REUSE annotations 2025-11-24 12:47:06 +01:00
stylelint.config.cjs docs(reuse): Add SPDX header 2025-01-08 19:47:08 +01:00
vite.config.ts improve vite config 2024-11-18 14:04:49 +01:00

OpenAI integration in Nextcloud

REUSE status

⚠️ The smart pickers have been removed from this app as they are now included in the Assistant app.

This app implements:

  • Text generation providers: Free prompt, Summarize, Headline, Context Write, Chat, and Reformulate (using any available large language model)
  • A Translation provider (using any available language model)
  • A SpeechToText provider (using Whisper)
  • An image generation provider

⚠️ Context Write, Summarize, Headline and Reformulate have mainly been tested with OpenAI. They might work when connecting to other services, without any guarantee.

Instead of connecting to the OpenAI API for these, you can also connect to a self-hosted LocalAI instance or Ollama instance or to any service that implements an API similar to the OpenAI one, for example: IONOS AI Model Hub, Plusserver or MistralAI.
Make sure to use the OpenAI-compatible endpoint instead of the custom ones they provide.

⚠️ This app is mainly tested with OpenAI. We do not guarantee it works perfectly with other services that implement OpenAI-compatible APIs with slight differences.

Improve AI task pickup speed

To avoid task processing execution delay, setup at 4 background job workers in the main server (where Nextcloud is installed). The setup process is documented here: https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html#improve-ai-task-pickup-speed

Ethical AI Rating

Rating for Text generation using ChatGPT via the OpenAI API: 🔴

Negative:

  • The software for training and inference of this model is proprietary, limiting running it locally or training by yourself
  • The trained model is not freely available, so the model can not be run on-premises
  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model's performance and CO2 usage.

Rating for Translation using ChatGPT via the OpenAI API: 🔴

Negative:

  • The software for training and inference of this model is proprietary, limiting running it locally or training by yourself
  • The trained model is not freely available, so the model can not be run on-premises
  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the model's performance and CO2 usage.

Rating for Image generation using DALL·E via the OpenAI API: 🔴

Negative:

  • The software for training and inferencing of this model is proprietary, limiting running it locally or training by yourself
  • The trained model is not freely available, so the model can not be ran on-premises
  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the models performance and CO2 usage.

Rating for Speech-To-Text using Whisper via the OpenAI API: 🟡

Positive:

  • The software for training and inferencing of this model is open source
  • The trained model is freely available, and thus can run on-premise

Negative:

  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the models performance and CO2 usage.

Rating for Text-To-Speech via the OpenAI API: 🔴

Negative:

  • The software for training and inferencing of this model is proprietary, limiting running it locally or training by yourself
  • The trained model is not freely available, so the model can not be ran on-premises
  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the models performance and CO2 usage.

Rating for Text generation via LocalAI: 🟢

Positive:

  • The software for training and inferencing of this model is open source
  • The trained model is freely available, and thus can be ran on-premises
  • The training data is freely available, making it possible to check or correct for bias or optimise the performance and CO2 usage.

Rating for Image generation using Stable Diffusion via LocalAI : 🟡

Positive:

  • The software for training and inferencing of this model is open source
  • The trained model is freely available, and thus can be ran on-premises

Negative:

  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the models performance and CO2 usage.

Rating for Speech-To-Text using Whisper via LocalAI: 🟡

Positive:

  • The software for training and inferencing of this model is open source
  • The trained model is freely available, and thus can be ran on-premises

Negative:

  • The training data is not freely available, limiting the ability of external parties to check and correct for bias or optimise the models performance and CO2 usage.

Learn more about the Nextcloud Ethical AI Rating in our blog.

🔧 Configuration

Admin settings

There is an "Artificial intelligence" section in the admin settings where you can:

  • Choose whether you use OpenAI, a LocalAI instance or another remote service
  • Set a global API key (or basic auth credentials) for the Nextcloud instance
  • Configure default models and quota settings

Personal settings

There is an "Artificial intelligence" section in the personal settings where users can set their personal API key or basic auth credentials, as well as view their usage quota. Users can also choose to disable the Nextcloud Assistant even if the Assistant app is installed.