Class WebjetAiConfigurationService
java.lang.Object
sk.iway.iwcm.components.ai.providers.WebjetAiConfigurationService
Resolves a request-scoped WebJET configuration snapshot for the standalone library.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisConfigured(AiInterface provider) modelCacheDiscriminator(AiInterface provider) Returns a non-secret cache scope that changes when the effective provider configuration changes for the current WebJET domain.modelCacheDiscriminator(AiInterface provider, jakarta.servlet.http.HttpServletRequest request) com.webjetcms.ai.AiProviderConfigresolve(AiInterface provider) com.webjetcms.ai.AiProviderConfigresolve(AiInterface provider, jakarta.servlet.http.HttpServletRequest request) com.webjetcms.ai.AiProviderConfigresolveForDomain(AiInterface provider, String domainName)
-
Constructor Details
-
WebjetAiConfigurationService
public WebjetAiConfigurationService()
-
-
Method Details
-
resolve
-
resolve
public com.webjetcms.ai.AiProviderConfig resolve(AiInterface provider, jakarta.servlet.http.HttpServletRequest request) -
resolveForDomain
-
isConfigured
-
imageNamePrompt
-
auditMaxLength
public int auditMaxLength() -
modelCacheDiscriminator
Returns a non-secret cache scope that changes when the effective provider configuration changes for the current WebJET domain. -
modelCacheDiscriminator
public String modelCacheDiscriminator(AiInterface provider, jakarta.servlet.http.HttpServletRequest request)
-