Skip to content

OpenAI integration in Nextcloud, with source code

License

Notifications You must be signed in to change notification settings

Tuanshu/integration_openai

 
 

Repository files navigation

OpenAI integration in Nextcloud

This app includes 3 custom smart pickers for Nextcloud:

  • ChatGPT-like answers
  • Image generation (with DALL·E 2 or LocalAI)
  • Whisper dictation

It also implements

  • A Translation provider (using OpenAI's gpt-3.5-turbo)
  • A SpeechToText provider (using Whisper)

Instead of connecting to the OpenAI API for these, you can also connect to a self-hosted LocalAI instance.

Ethical AI Rating

Rating for Text generation using ChatGPT via 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 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 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 model’s performance and CO2 usage.

Rating for Speech-To-Text using Whisper via 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 model’s 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 model’s 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 model’s performance and CO2 usage.

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

🔧 Configuration

Admin settings

There is a "Connected accounts" admin settings section to set your OpenAI API key.

About

OpenAI integration in Nextcloud, with source code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 40.3%
  • JavaScript 34.0%
  • Vue 24.2%
  • Makefile 1.5%