ctrl-space-labs / gendox-core

Gendox: "Generate. Train. Evolve."
GNU Affero General Public License v3.0
5 stars 0 forks source link

Add ai model keys at organization level #306

Open sekasx opened 3 months ago

sekasx commented 3 months ago

Description

With the creation of WordPress plugin, there is the need to create organization-level model keys. Organizations will have the ability to add their own API keys to optimize billing management. This will simplify billing in a transparent way, helping organizations understand their usage in AI models.

A new association should be added to store these keys per organization in an encrypted way. The completion API should change to require the organization to add an API Key. Only the free models will not require a key.