nextcloud / integration_openai

OpenAI integration in Nextcloud
GNU Affero General Public License v3.0
52 stars 11 forks source link

OpenAI integration in Nextcloud

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

This app implements:

:warning: 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: Plusserver or MistralAI.

:warning: 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:

Rating for Translation using ChatGPT via the OpenAI API: 🔴

Negative:

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

Negative:

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

Positive:

Negative:

Rating for Text generation via LocalAI: 🟢

Positive:

Rating for Image generation using Stable Diffusion via LocalAI : 🟡

Positive:

Negative:

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

Positive:

Negative:

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

🔧 Configuration

Admin settings

There is a "Artificial intelligence" admin settings section where you can:

Personal settings

There is a "Artificial intelligence" personal settings section to let users set their personal API key or basic auth credentials. Users can also see their quota information there.