Interface AICreatorOpenAIConfigurationManager


public interface AICreatorOpenAIConfigurationManager
  • Method Details

    • getAICreatorOpenAICompanyAPIKey

      String getAICreatorOpenAICompanyAPIKey(long companyId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • getAICreatorOpenAIGroupAPIKey

      String getAICreatorOpenAIGroupAPIKey(long groupId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • getAICreatorOpenAIGroupAPIKey

      String getAICreatorOpenAIGroupAPIKey(long companyId, long groupId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • isAICreatorChatGPTCompanyEnabled

      boolean isAICreatorChatGPTCompanyEnabled(long companyId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • isAICreatorChatGPTGroupEnabled

      boolean isAICreatorChatGPTGroupEnabled(long companyId, long groupId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • isAICreatorDALLECompanyEnabled

      boolean isAICreatorDALLECompanyEnabled(long companyId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • isAICreatorDALLEGroupEnabled

      boolean isAICreatorDALLEGroupEnabled(long companyId, long groupId) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • saveAICreatorOpenAICompanyConfiguration

      void saveAICreatorOpenAICompanyConfiguration(long companyId, String apiKey, boolean enableChatGPT, boolean enableDALLE) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException
    • saveAICreatorOpenAIGroupConfiguration

      void saveAICreatorOpenAIGroupConfiguration(long groupId, String apiKey, boolean enableChatGPT, boolean enableDALLE) throws com.liferay.portal.kernel.module.configuration.ConfigurationException
      Throws:
      com.liferay.portal.kernel.module.configuration.ConfigurationException