ist-dresden / composum-AI

Artificial intelligence services for the Composum Pages CMS and Adobe AEM : content creation and analysis, translation, suggestions, ...
http://ai.composum.com/
MIT License
3 stars 1 forks source link

Configurability for Site or Tenant #14

Closed stoerr closed 1 year ago

stoerr commented 1 year ago

We need a configuration for the OpenAI key per site or tenant for the case that somebody wants to use it seriously. The common key is for trying it out, but shouldn't be used for all time.

While we'r at site specific configurations: It's sensible to add a possibility to configure additional prompts, which could be put there as well.

Open points: the OpenAI key is a secret - how to make sure not every editor can see it?

stoerr commented 1 year ago

This is essentially implemented with https://github.com/ist-dresden/composum-AI/pull/36 using Sling Context Aware Configuration with configuration com.composum.ai.backend.slingbase.model.OpenAIConfig "Composum AI OpenAI Configuration" .