Interface AICreatorOpenAIConfigurationManager
public interface AICreatorOpenAIConfigurationManager
-
Method Summary
Modifier and TypeMethodDescriptiongetAICreatorOpenAICompanyAPIKey
(long companyId) getAICreatorOpenAIGroupAPIKey
(long groupId) getAICreatorOpenAIGroupAPIKey
(long companyId, long groupId) boolean
isAICreatorChatGPTCompanyEnabled
(long companyId) boolean
isAICreatorChatGPTGroupEnabled
(long companyId, long groupId) boolean
isAICreatorDALLECompanyEnabled
(long companyId) boolean
isAICreatorDALLEGroupEnabled
(long companyId, long groupId) void
saveAICreatorOpenAICompanyConfiguration
(long companyId, String apiKey, boolean enableChatGPT, boolean enableDALLE) void
saveAICreatorOpenAIGroupConfiguration
(long groupId, String apiKey, boolean enableChatGPT, boolean enableDALLE)
-
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
-