A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages

A

AbstractGPTServletOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.AbstractGPTServletOperation
 
accept(String) - Method in class com.composum.ai.backend.base.service.StringstreamSlowdown
 
activate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
activate(AutoTranslateConfig) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
activate(GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig, BundleContext) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
activate(GPTDictationServiceImpl.GPTDictationServiceConfig) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
activate(GPTTranslationServiceImpl.Config) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
activate(GetPageMarkdownAITool.Config) - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
activate(ModifyPageReadTool.Config) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
activate(ModifyPageWriteTool.Config) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
activate(SearchPageAITool.Config) - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
activate(ApproximateMarkdownServiceImpl.Config) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
activate(HtmlToApproximateMarkdownServicePlugin.Config) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
activate(MarkdownSlingCacheImpl.Config) - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
activate(SlingCaConfigPluginImpl.Config) - Method in class com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl
 
activate(GPTPermissionConfiguration) - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginFactoryImpl
 
activate(GPTPermissionConfiguration) - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginImpl
 
activate(GPTPromptLibrary) - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIPromptlibConfigurationPluginImpl
 
activate(BundleContext) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
activate(BundleContext) - Method in class com.composum.ai.backend.slingbase.AIDictationServlet
 
activate(BundleContext) - Method in class com.composum.ai.composum.bundle.AIServlet
 
activate(ComponentContext) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
adaptTo(Class<AdapterType>) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
addContentPaths(Resource, Map<String, String>) - Method in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
We look for content paths in the component and it's parent.
addCookie(Cookie) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
additionalInstructions - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
Optionally, additional instructions to add to the system prompt.
additionalInstructions() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
additionalInstructions() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
additionalInstructions() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
 
addMessage(GPTChatMessage) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Builder style adding of messages.
addMessage(GPTMessageRole, String) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Builder style adding of messages.
addMessages(List<GPTChatMessage>) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Builder style adding of messages.
addTool(AITool) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
addWholeResponseListener(Consumer<String>) - Method in class com.composum.ai.backend.slingbase.EventStream
 
addWholeResponseListener(Consumer<String>) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
ADMISSIBLE_PATH_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
We allow generating markdown for subpaths of /content, /public and /preview .
admissibleKey(String) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
admissibleValue(Object) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
We do not print pure numbers, booleans and some special strings since those are likely attributes determining the component layout, not actual text that is printed.
AemAIConfigurationPlugin - Class in com.composum.ai.aem.core.impl
Implements AEM specific methods of AIConfigurationPlugin.
AemAIConfigurationPlugin() - Constructor for class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
 
AemAITranslationMergeServlet - Class in com.composum.ai.aem.core.impl
Servlet with functionality for the AI Translation Merge tool.
AemAITranslationMergeServlet() - Constructor for class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
 
AemApproximateMarkdownServicePlugin - Class in com.composum.ai.aem.core.impl
Special handling for cq:PageContent and components
AemApproximateMarkdownServicePlugin() - Constructor for class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
AemContentCreationPromptsServlet - Class in com.composum.ai.aem.core.impl
Datasource for the prompts of the content creation dialog.
AemContentCreationPromptsServlet() - Constructor for class com.composum.ai.aem.core.impl.AemContentCreationPromptsServlet
 
AemContentCreationSelectorsServlet - Class in com.composum.ai.aem.core.impl
Servlet that reads the content selectors from a JSON file, adds links in the content and provides that to the dialog.
AemContentCreationSelectorsServlet() - Constructor for class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
 
AemSidePanelPromptsServlet - Class in com.composum.ai.aem.core.impl
Datasource for the prompts of the sidebar AI dialog.
AemSidePanelPromptsServlet() - Constructor for class com.composum.ai.aem.core.impl.AemSidePanelPromptsServlet
 
AI_NEW_ORIGINAL_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Suffix for the property name of an inheritance cancelled property that saves the original value of the property as it is currently in the translation source, as an indicator what needs to be merged.
AI_NEW_TRANSLATED_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Suffix for the property name of an inheritance cancelled property that saves the
AI_ORIGINAL_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Suffix for the property name of a property that saves the original value of the property as it has been used to create a translation, to track when it has to be re-translated.
AI_PREFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Prefix for property names of saved values.
AI_TRANSLATED_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Suffix for the property name of a property that saves the translated value of the property, to track whether it has been manually changed after automatic translation and as used as translation when the translation source is still the same as saved in AITranslatePropertyWrapper.AI_ORIGINAL_SUFFIX.
AI_TRANSLATION_ERRORMARKER - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Attribute that is set on jcr:content of a page when the translation of a page failed, to make it easy to find such pages.
AIConfigurationPlugin - Interface in com.composum.ai.backend.slingbase
 
aiConfigurationService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
aiConfigurationService - Variable in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
aiConfigurationService - Variable in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
AIConfigurationService - Interface in com.composum.ai.backend.slingbase
This is the primary service interface that provides methods to check which AI services are allowed.
AIConfigurationServiceImpl - Class in com.composum.ai.backend.slingbase.impl
Collects the configurations from AIConfigurationPlugins and aggregates them.
AIConfigurationServiceImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
AIConfigurationServlet - Class in com.composum.ai.backend.slingbase
AIConfigurationServlet provides access to AI configurations.
AIConfigurationServlet() - Constructor for class com.composum.ai.backend.slingbase.AIConfigurationServlet
 
AICreateServlet - Class in com.composum.ai.backend.slingbase
Servlet providing the various services from the backend as servlet, which are useable for the authors.
AICreateServlet() - Constructor for class com.composum.ai.backend.slingbase.AICreateServlet
 
AIDialogServlet - Class in com.composum.ai.composum.bundle
Servlet that serves the dialogs.
AIDialogServlet() - Constructor for class com.composum.ai.composum.bundle.AIDialogServlet
 
AIDialogServlet.Extension - Enum in com.composum.ai.composum.bundle
 
AIDialogServlet.Operation - Enum in com.composum.ai.composum.bundle
 
AIDialogServlet.ShowDialogOperation - Class in com.composum.ai.composum.bundle
Shows the corresponding dialog.
AIDictationServlet - Class in com.composum.ai.backend.slingbase
Servlet providing a dictation service - returns a transcribed text from an audio file.
AIDictationServlet() - Constructor for class com.composum.ai.backend.slingbase.AIDictationServlet
 
AIServlet - Class in com.composum.ai.composum.bundle
Servlet providing the various services from the backend as servlet, which are useable for the authors.
AIServlet() - Constructor for class com.composum.ai.composum.bundle.AIServlet
 
AIServlet.AbstractGPTServletOperation - Class in com.composum.ai.composum.bundle
 
AIServlet.CreateOperation - Class in com.composum.ai.composum.bundle
Implements the content creation operation.
AIServlet.DescriptionOperation - Class in com.composum.ai.composum.bundle
Servlet representation of GPTContentCreationService.generateDescription(String, int, GPTConfiguration) with arguments text and maxwords.
AIServlet.Extension - Enum in com.composum.ai.composum.bundle
 
AIServlet.KeywordsOperation - Class in com.composum.ai.composum.bundle
Servlet representation of GPTContentCreationService.generateKeywords(String, GPTConfiguration) with argument text.
AIServlet.Operation - Enum in com.composum.ai.composum.bundle
 
AIServlet.PromptOnTextOperation - Class in com.composum.ai.composum.bundle
Servlet representation of GPTContentCreationService.executePromptOnText(String, String, GPTChatRequest) with arguments prompt, text and maxwords.
AIServlet.PromptOperation - Class in com.composum.ai.composum.bundle
Servlet representation of GPTContentCreationService.executePrompt(String, GPTChatRequest) with arguments prompt and maxwords.
AIServlet.StreamResponseOperation - Class in com.composum.ai.composum.bundle
Returns an event stream that was prepared by a previous operation with parameter AIServlet.PARAMETER_STREAMING set.
AIServlet.TranslateOperation - Class in com.composum.ai.composum.bundle
Servlet representation of GPTTranslationService, specifically GPTTranslationService.singleTranslation(String, String, String, GPTConfiguration) and the streaming version, with arguments text, sourceLanguage, targetLanguage, "richText", pagePath .
AITemplatingRetryableException(String) - Constructor for exception com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.AITemplatingRetryableException
 
aiTemplatingService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
 
AITemplatingService - Interface in com.composum.ai.backend.slingbase.experimential
Experimential service to provide page templating functionality: a page / component contains various prompts in it's properties which are replaced by the response of the AI.
AITemplatingServiceImpl - Class in com.composum.ai.backend.slingbase.experimential.impl
This implementation uses the markers: A field that is a prompt begins with PROMPTFIELD: A field that is referenced by other fields begins with PROMPTFIELD#ID: where ID is a unique identifier for the field A URL source is added as SOURCEURL(https://example.com/) after that. A prompt that applies to the whole page can be put into a multi line field; it begins on a line with PAGEPROMPT:
AITemplatingServiceImpl() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
AITemplatingServiceImpl.AITemplatingRetryableException - Exception in com.composum.ai.backend.slingbase.experimential.impl
An exception that says something is wrong with the response, but that might be temporary and can be retried.
AITemplatingServiceImpl.Replacement - Class in com.composum.ai.backend.slingbase.experimential.impl
 
AITemplatingServlet - Class in com.composum.ai.backend.slingbase.experimential
Servlet providing services related to templating.
AITemplatingServlet() - Constructor for class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
 
AITemplatingServlet.Method - Enum in com.composum.ai.backend.slingbase.experimential
 
AITool - Interface in com.composum.ai.backend.slingbase.experimential
An action the AI can perform - likely from the sidebar chat.
AITranslatePropertyWrapper - Class in com.composum.ai.aem.core.impl.autotranslate
 
AITranslatePropertyWrapper(ValueMap, ModifiableValueMap, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
ALL - com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
The ai is visible.
allAiKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
allGeneralKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
allKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
allLcKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
allowDenyCheck(String, Pattern, Pattern) - Static method in class com.composum.ai.backend.slingbase.impl.AllowDenyMatcherUtil
Check whether a value matches the allowPattern but not the denyPattern.
AllowDenyMatcherUtil - Class in com.composum.ai.backend.slingbase.impl
Utilities for matching allow / deny String[] pattern collections.
AllowDenyMatcherUtil() - Constructor for class com.composum.ai.backend.slingbase.impl.AllowDenyMatcherUtil
 
allowedAttributeRegexes - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
allowedAttributeRegexes() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
allowedComponents() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
allowedPageTemplates() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
allowedPaths() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
allowedPathsRegex() - Method in annotation type com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool.Config
 
allowedPathsRegex() - Method in annotation type com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool.Config
 
allowedPathsRegex() - Method in annotation type com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool.Config
 
allowedResourceTypePattern - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
allowedResourceTypes() - Method in annotation type com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.Config
 
allowedServices(SlingHttpServletRequest, String) - Method in class com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl
 
allowedServices(SlingHttpServletRequest, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationPlugin
Determines the allowed services based on the provided request, content path, and editor URL.
allowedServices(SlingHttpServletRequest, String) - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginImpl
 
allowedServices(SlingHttpServletRequest, String, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationService
Method to check which services are allowed, based on the path and editor URL provided.
allowedServices(SlingHttpServletRequest, String, String) - Method in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
Union of the plugin's results.
allowedUsers() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
allowedViews() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
allows(String, String) - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
Checks whether this allows the given service for the given resourceType
allows(String, String) - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
 
annotationType() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
apiKey - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
The OpenAI Key for accessing ChatGPT; system default if not given in request.
approximateMarkdown(Resource, PrintWriter, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
Generates a text formatted with markdown that heuristically represents the text content of a page or resource, mainly for use with the AI.
approximateMarkdown(Resource, PrintWriter, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
approximateMarkdown(Resource, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
Generates a text formatted with markdown that heuristically represents the text content of a page or resource, mainly for use with the AI.
approximateMarkdown(Resource, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
approximateMarkdownService - Variable in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
ApproximateMarkdownService - Interface in com.composum.ai.backend.slingbase
A service to create markdown with an approximate text content from a page or resource, for use with querying the AI about it.
ApproximateMarkdownService.Link - Class in com.composum.ai.backend.slingbase
A link from a component.
ApproximateMarkdownServiceImpl - Class in com.composum.ai.backend.slingbase.impl
Implementation for ApproximateMarkdownService.
ApproximateMarkdownServiceImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
ApproximateMarkdownServiceImpl.Config - Annotation Type in com.composum.ai.backend.slingbase.impl
Configuration class Config that allows us to configure TEXT_ATTRIBUTES.
ApproximateMarkdownServicePlugin - Interface in com.composum.ai.backend.slingbase
Implements special treatment for some resources, depending on the actual system.
ApproximateMarkdownServicePlugin.PluginResult - Enum in com.composum.ai.backend.slingbase
Result of the plugin execution.
ApproximateMarkdownServlet - Class in com.composum.ai.backend.slingbase
Renders an approximate markdown representation of the text content of a page / resource.
ApproximateMarkdownServlet() - Constructor for class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
 
ASSISTANT - com.composum.ai.backend.base.service.chat.GPTMessageRole
The assistant messages help store prior responses.
ASSISTANT - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
 
ATTRIBUTE_AIVISIBLE - Static variable in class com.composum.ai.composum.bundle.model.LabelExtensionModel
Additional attribute for a widget whether the ai should be visible or not.
ATTRIBUTE_TO_MARKDOWN_PREFIX - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
attributeToMarkdown(Resource, String, String) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
authenticate(HttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
autoPageTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
autoPageTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
autoPageTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 
AutoPageTranslateService - Interface in com.composum.ai.aem.core.impl.autotranslate
Actual logic for translating a livecopy.
AutoPageTranslateService.Stats - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoPageTranslateServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
Translated would normally be properties that "obviously" contain text, like jcr:title, jcr:description, text, title etc.
AutoPageTranslateServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule - Class in com.composum.ai.aem.core.impl.autotranslate
Simple implementation of this for content translation rules.
AutoPageTranslateServiceImpl.PropertyToTranslate - Class in com.composum.ai.aem.core.impl.autotranslate
 
autoSave - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
If true the changes are saved (ResourceResolver.commit()) after each page.
AutoTranslateCaConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
This serves both as OSGI configuration (default for the configurations) and, if used, as Sling CAConfig configuration.
autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 
autoTranslateConfigService - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
AutoTranslateConfigService - Interface in com.composum.ai.aem.core.impl.autotranslate
Serves the configurations for the automatic translation.
AutoTranslateConfigServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
Serves the configurations for the automatic translation service.
AutoTranslateConfigServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
AutoTranslateListModel - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateListModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
AutoTranslateLiveAction - Interface in com.composum.ai.aem.core.impl.autotranslate.rollout
Action to translate a resource in a live copy with the automatic translation service.
AutoTranslateLiveActionFactory - Class in com.composum.ai.aem.core.impl.autotranslate.rollout
AutoTranslateLiveActionFactory() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
AutoTranslateLiveActionImpl - Class in com.composum.ai.aem.core.impl.autotranslate.rollout
Implementation for the rollout configuration.
AutoTranslateLiveActionImpl(ValueMap, BaseActionFactory<? extends LiveAction>, AutoPageTranslateService, AIConfigurationService, AutoTranslateService) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
AutoTranslateMergeModel - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateMergeModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
AutoTranslateMergeService - Interface in com.composum.ai.aem.core.impl.autotranslate
Service for handling merge operations related to auto-translation.
AutoTranslateMergeService.AutoTranslateProperty - Class in com.composum.ai.aem.core.impl.autotranslate
Represents a translated property associated with a resource.
AutoTranslateMergeServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
Implementation of the AutoTranslateMergeService.
AutoTranslateMergeServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
AutoTranslateProperty(String, AITranslatePropertyWrapper, String, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
AutoTranslateRuleConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
A rule to be added to the Composum AI Automatic Translation Configuration with translation instructions for pages matching the rule.
AutoTranslateRuleConfigContentRule(String, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
AutoTranslateRunModel - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateRunModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
 
autoTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
autoTranslateService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
AutoTranslateService - Interface in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateService.TranslationPage - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateService.TranslationParameters - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateService.TranslationRun - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateService.TranslationStatus - Enum in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
A service that provides automatic translation of AEM pages.
AutoTranslateServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
AutoTranslateServiceImpl.TranslationPageImpl - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateServiceImpl.TranslationRunImpl - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateStateService - Interface in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateStateServiceImpl - Class in com.composum.ai.aem.core.impl.autotranslate
Makes sure we have a global state of all translation runs.
AutoTranslateStateServiceImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateServiceImpl
 
AutoTranslateTranslationTableConfig - Annotation Type in com.composum.ai.aem.core.impl.autotranslate
Configures a translation table for the automatic translation - an XLS or CSV file of terms and their translations.
AutoTranslateWorkflowProcess - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
Deprecated.
AutoTranslateWorkflowProcess() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 

B

basicCheck(GPTPermissionConfiguration, SlingHttpServletRequest, String, String) - Method in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
Determines whether the configuration allows access wrt.
blacklistedResourceType - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
ResourceTypes we ignore since their rendering uses unsupported methods.
blacklistedResourceTypeCleanupTime - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
buildException(Integer, String) - Static method in exception com.composum.ai.backend.base.service.GPTException
 
buildResult() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
bundleContext - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
bundleContext - Variable in class com.composum.ai.backend.slingbase.AICreateServlet
 
bundleContext - Variable in class com.composum.ai.backend.slingbase.AIDictationServlet
 
bundleContext - Variable in class com.composum.ai.composum.bundle.AIServlet
 

C

cacheDir - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
cacheMarkdown(Resource, String) - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
cacheMarkdown(Resource, String) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin
An optional way to cache calculated markdowns - if a plugin implements this, it can retrieve that on ApproximateMarkdownServicePlugin.maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse).
cacheResponse(String, GPTChatRequest, String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
cacheRootPath() - Method in annotation type com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl.Config
 
callback - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
cancel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
 
cancel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
cancel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 
cancel__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
 
cancel__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run
 
cancel__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.cancel__002e__html
 
cancel__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.cancel__002e__html
 
cancelInheritance(Resource, Resource, AutoPageTranslateServiceImpl.PropertyToTranslate) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
cancelled() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.EnsureResultFutureCallback
 
CANCELLED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
CANCELLING - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
capacityIncrement() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
captureHtmlTags(String) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
CapturingResponse(SlingHttpServletResponse, PrintWriter, String) - Constructor for class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
CATEGORIZE - com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
Matches the categorize dialog
categorizeDialog - com.composum.ai.composum.bundle.AIDialogServlet.Operation
 
CategorizeDialogModel - Class in com.composum.ai.composum.bundle.model
Model for rendering the categorize dialog.
CategorizeDialogModel() - Constructor for class com.composum.ai.composum.bundle.model.CategorizeDialogModel
 
CERTAINLY_TRANSLATABLE_PROPERTIES - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
List of properties that should always be translated.
changeSessionId() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
chars1 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
 
chars2 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
 
CHAT - com.composum.ai.backend.base.service.chat.GPTConfiguration.Mode
Uses a system prompt appropriate for a chat.
CHAT - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
CHAT_COMPLETION_URL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
ChatCompletionChoice - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents a choice in the chat completion response.
ChatCompletionChoice() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
ChatCompletionChoiceMessage - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents the message content in a chat completion choice, including the role (e.g., user, assistant) and the actual text content of the message.
ChatCompletionChoiceMessage() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
ChatCompletionFunctionCallDetails - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents the a call of a function used as a tool in the chat completion request.
ChatCompletionFunctionCallDetails() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
ChatCompletionFunctionDetails - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents the details of a function used as a tool in the chat completion request.
ChatCompletionFunctionDetails() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
ChatCompletionMessage - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents a message in a chat completion request, containing the role of the speaker (user, assistant, or system) and the message content, which may include text or other parts.
ChatCompletionMessage() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
ChatCompletionMessagePart - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents a part of a chat completion message, which may be a text or an image URL.
ChatCompletionMessagePart() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
ChatCompletionMessagePart.ChatCompletionMessagePartListDeSerializer - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
ChatCompletionMessagePart.ChatCompletionMessageUrlPart - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Encodes URL part: { "url": "https://example.com/somepicture.jpg" }
ChatCompletionMessagePart.ImageDetail - Enum in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
ChatCompletionMessagePart.Type - Enum in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
ChatCompletionMessagePartListDeSerializer() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessagePartListDeSerializer
 
ChatCompletionMessageUrlPart() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessageUrlPart
 
ChatCompletionRequest - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents a request to the OpenAI chat completion API, including model, messages, and optional parameters like max tokens, temperature, and response format.
ChatCompletionRequest() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
ChatCompletionRequest.ResponseFormat - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
ChatCompletionRequest.ResponseFormatType - Enum in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
ChatCompletionRequest.Role - Enum in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
ChatCompletionResponse - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents the response from the OpenAI chat completion API, containing details about the generated choices, token usage, and metadata like the model used and creation time.
ChatCompletionResponse() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
ChatCompletionResponse.FinishReason - Enum in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
chatCompletionService - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
chatCompletionService - Variable in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
ChatCompletionToolCall - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents a tool call generated by the model in a chat completion response.
ChatCompletionToolCall() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
chatCompletionUrl - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
chatCompletionUrl() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
ChatCompletionUsage - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents the token usage details in a chat completion response, including the number of tokens used for the prompt, the completion, and the total.
ChatCompletionUsage() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
chatService - Variable in class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
 
ChatTool - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
Represents a tool in the OpenAI chat completion request, currently limited to functions.
ChatTool() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatTool
 
checkDisabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
 
checkEnabled() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
checkEnabled(GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
checkTokenCount(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
checkUrlAdmissible(URI) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
cleanupBlacklist() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
clone() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
 
close() - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
Notifies that the request is completely finished / closed, nothing more will arrive.
close() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
close() - Method in class com.composum.ai.backend.base.service.StringstreamSlowdown
 
collectApplicableTranslationRules(String, List<AutoPageTranslateServiceImpl.PropertyToTranslate>, List<AutoTranslateRuleConfig>) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
collectBackgroundInfoPaths(SlingHttpServletRequest, SlingHttpServletResponse, List<URI>) - Method in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
If some of the URLs are paths, we read the markdown for those pages.
collectedAdditionalInstructions - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
collectLinks(Resource, List<ApproximateMarkdownService.Link>) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
Collects links from a resource and its children.
collectPages(Resource, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
collectPathsToRollout(Resource, List<String>, TriggerRolloutWorkflowProcess.TriggerRolloutParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
collectPossibleReplacements(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
collectPrompts(List<AITemplatingServiceImpl.Replacement>, Map<String, AITemplatingServiceImpl.Replacement>, Map<String, String>) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
collectPropertiesToTranslate(Resource, List<AutoPageTranslateServiceImpl.PropertyToTranslate>, AutoPageTranslateService.Stats, AutoTranslateService.TranslationParameters, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Searches for properties we have to translate.
collectResponseProblems(List<GPTResponseCheck>, String, String) - Static method in interface com.composum.ai.backend.base.service.chat.GPTResponseCheck
Finds problems of translation wrt.
collectSearchKeywords(String, Resource) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
Processes a query to have the AI suggest a couple of search keywords for use with the other methods that might find the most relevant results.
collectSearchKeywords(String, Resource) - Method in interface com.composum.ai.backend.slingbase.RAGService
Processes a query to have the AI suggest a couple of search keywords for use with the other methods that might find the most relevant results.
collectTools(Resource, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
collectTranslationTables(AutoTranslateCaConfig, Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
com.composum.ai.aem.core.impl - package com.composum.ai.aem.core.impl
 
com.composum.ai.aem.core.impl.autotranslate - package com.composum.ai.aem.core.impl.autotranslate
 
com.composum.ai.aem.core.impl.autotranslate.rollout - package com.composum.ai.aem.core.impl.autotranslate.rollout
 
com.composum.ai.aem.core.impl.autotranslate.workflow - package com.composum.ai.aem.core.impl.autotranslate.workflow
 
com.composum.ai.backend.base - package com.composum.ai.backend.base
Composum ChatGPT Base : Base classes for the ChatGPT backend.
com.composum.ai.backend.base.impl - package com.composum.ai.backend.base.impl
 
com.composum.ai.backend.base.service - package com.composum.ai.backend.base.service
 
com.composum.ai.backend.base.service.chat - package com.composum.ai.backend.base.service.chat
 
com.composum.ai.backend.base.service.chat.impl - package com.composum.ai.backend.base.service.chat.impl
 
com.composum.ai.backend.base.service.chat.impl.chatmodel - package com.composum.ai.backend.base.service.chat.impl.chatmodel
 
com.composum.ai.backend.slingbase - package com.composum.ai.backend.slingbase
 
com.composum.ai.backend.slingbase.experimential - package com.composum.ai.backend.slingbase.experimential
 
com.composum.ai.backend.slingbase.experimential.impl - package com.composum.ai.backend.slingbase.experimential.impl
 
com.composum.ai.backend.slingbase.impl - package com.composum.ai.backend.slingbase.impl
 
com.composum.ai.backend.slingbase.model - package com.composum.ai.backend.slingbase.model
 
com.composum.ai.composum.bundle - package com.composum.ai.composum.bundle
Composum ChatGPT Composum Bundle : Composum interface to the ChatGPT backend.
com.composum.ai.composum.bundle.model - package com.composum.ai.composum.bundle.model
 
com.composum.ai.composum.bundle.service - package com.composum.ai.composum.bundle.service
 
comment() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
comment() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
comment() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
 
comment() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
 
CompareModel - Class in com.composum.ai.aem.core.impl.autotranslate
Model for comparing a page with its live relationship source.
CompareModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.CompareModel
 
comparetool__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool
 
comparetool__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool.comparetool__002e__html
 
compileContentPattern(String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
The content match can be a word or phrase that must be present in the content of the page for the rule to match.
completed(Void) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.EnsureResultFutureCallback
 
ComponentDescription() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool.ComponentDescription
 
ComponentProperty(String, String) - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool.ComponentProperty
 
ComposumAIConfigurationPlugin - Class in com.composum.ai.composum.bundle.service
Implements Composum specific methods of AIConfigurationPlugin.
ComposumAIConfigurationPlugin() - Constructor for class com.composum.ai.composum.bundle.service.ComposumAIConfigurationPlugin
 
ComposumApproximateMarkdownServicePlugin - Class in com.composum.ai.composum.bundle.service
Special handling for composum/pages/components/page and components
ComposumApproximateMarkdownServicePlugin() - Constructor for class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
 
config - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
config - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
configurationOrOverride(boolean, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Allows a boolean configuration to be overridden with an optional value from the context-aware configuration.
configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
configurationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
configurationService - Variable in class com.composum.ai.backend.slingbase.AICreateServlet
 
configurationService - Variable in class com.composum.ai.backend.slingbase.AIDictationServlet
 
configurationService - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
configurationService - Variable in class com.composum.ai.composum.bundle.AIServlet
 
connectionTimeout - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
connectionTimeout() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
containsQuery(Resource, String, int) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
CONTENT_FILTER - com.composum.ai.backend.base.service.chat.GPTFinishReason
Omitted content due to a flag from our content filters.
CONTENT_FILTER - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
 
contentcreation__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation
 
contentcreation__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.contentcreation__002e__html
 
contentCreationPromptsPath() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPromptLibrary
 
contentCreationService - Variable in class com.composum.ai.backend.slingbase.AICreateServlet
 
contentCreationService - Variable in class com.composum.ai.composum.bundle.AIServlet
 
CONTENTFRAGMENT_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
contentPattern() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
contentPattern() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
 
convert(String) - Method in class com.composum.ai.backend.base.service.chat.impl.HtmlToMarkdownConverter
 
convertChildren(Node) - Method in class com.composum.ai.backend.base.service.chat.impl.HtmlToMarkdownConverter
 
copy() - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Returns a copy; the messages list is shallowly copied, but configuration is the same object.
copyOriginalPage(SlingHttpServletRequest, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
Make a copy of the original page for comparison purposes.
cosineSimilarity(float[], float[]) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
countTokens(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Counts the number of tokens for the text for the normally used model.
countTokens(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
create - com.composum.ai.composum.bundle.AIServlet.Operation
 
CREATE - com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
Matches the creation dialog.
CreateDialogModel - Class in com.composum.ai.composum.bundle.model
 
CreateDialogModel() - Constructor for class com.composum.ai.composum.bundle.model.CreateDialogModel
 
createJsonRequest(GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
CreateOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.CreateOperation
 
createRun() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
createsAction() - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
creationDialog - com.composum.ai.composum.bundle.AIDialogServlet.Operation
 

D

data(CharBuffer, boolean) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
deactivate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
deactivate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
deactivate() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateServiceImpl
 
deactivate() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
deactivate() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
deactivate() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
deactivate() - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
deactivate() - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
deactivate() - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
deactivate() - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginFactoryImpl
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginImpl
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIPromptlibConfigurationPluginImpl
 
deactivate() - Method in class com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl
 
deactivate(ComponentContext) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
DEBUG - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
If set, the AI services will not call the AI but return the JSON request as response, for debugging purposes.
decodeFloatArray(String) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
decodePropertyName(String, String, String, Resource) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Inverts AITranslatePropertyWrapper.encodePropertyName(String, String, String) by replacing _ with : if the property isn't present.
DEFAULT_EMBEDDINGS_MODEL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULT_HIGH_INTELLIGENCE_MODEL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULT_IMAGE_MODEL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULT_MAX_REQUEST_SIZE - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
DEFAULT_MODEL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULT_MODEL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
DEFAULT_TRANSLATION_RULE_PATTERN - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
defaultModel - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
defaultModel() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
DEFAULTVALUE_CONNECTIONTIMEOUT - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULTVALUE_REQUESTS_PER_DAY - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULTVALUE_REQUESTS_PER_DAY - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
DEFAULTVALUE_REQUESTS_PER_HOUR - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULTVALUE_REQUESTS_PER_HOUR - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
DEFAULTVALUE_REQUESTS_PER_MINUTE - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
DEFAULTVALUE_REQUESTS_PER_MINUTE - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
DEFAULTVALUE_REQUESTTIMEOUT - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
delegate - Variable in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
DELETE - com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
 
deniedAttributesRegexes - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
deniedAttributesRegexes() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
deniedComponents() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
deniedPageTemplates() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
deniedPaths() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
deniedResourceTypePattern - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
deniedResourceTypes - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
deniedResourceTypes() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
deniedResourceTypes() - Method in annotation type com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.Config
 
deniedUsers() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
deniedViews() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
descendantsStream(Resource) - Static method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
Returns a stream that goes through all descendants of a resource, parents come before their children.
descendantsStream(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
descendantsStream(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
descendantsStream(Resource) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
Returns a stream that goes through all descendants of a resource, parents come before their children.
description - com.composum.ai.composum.bundle.AIServlet.Operation
 
DescriptionOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.DescriptionOperation
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessagePartListDeSerializer
 
determineConfiguration(Resource, AutoTranslateCaConfig, AutoTranslateService.TranslationParameters, AutoPageTranslateService.Stats) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
determineLanguageResource(Resource, String) - Method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
 
determineResource(Resource) - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Determines the resource for the model.
dictationService - Variable in class com.composum.ai.backend.slingbase.AIDictationServlet
 
Diff(DiffMatchPatch.Operation, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
Constructor.
diff_bisect(String, String, long) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Find the 'middle snake' of a diff, split the problem in two and return the recursively constructed diff.
diff_charsToLines(List<DiffMatchPatch.Diff>, List<String>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Rehydrate the text in a diff from a string of line hashes to real lines of text.
diff_cleanupEfficiency(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Reduce the number of edits by eliminating operationally trivial equalities.
diff_cleanupMerge(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Reorder and merge like edit sections.
diff_cleanupSemantic(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Reduce the number of edits by eliminating semantically trivial equalities.
diff_cleanupSemanticLossless(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Look for single edits surrounded on both sides by equalities which can be shifted sideways to align the edit to a word boundary.
diff_commonOverlap(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Determine if the suffix of one string is the prefix of another.
diff_commonPrefix(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Determine the common prefix of two strings
diff_commonSuffix(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Determine the common suffix of two strings
Diff_EditCost - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Cost of an empty edit operation in terms of edit characters.
diff_fromDelta(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Given the original text1, and an encoded string which describes the operations required to transform text1 into text2, compute the full diff.
diff_halfMatch(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Do the two texts share a substring which is at least half the length of the longer text? This speedup can produce non-minimal diffs.
diff_levenshtein(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.
diff_linesToChars(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Split two texts into a list of strings.
diff_main(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Find the differences between two texts.
diff_main(String, String, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Find the differences between two texts.
diff_prettyHtml(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Convert a Diff list into a pretty HTML report.
diff_text1(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Compute and return the source text (all equalities and deletions).
diff_text2(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Compute and return the destination text (all equalities and insertions).
Diff_Timeout - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Number of seconds to map a diff before giving up (0 for infinity).
diff_toDelta(List<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Crush the diff into an encoded string which describes the operations required to transform text1 into text2.
diff_xIndex(List<DiffMatchPatch.Diff>, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
loc is a location in text1, compute and return the equivalent location in text2.
DiffMatchPatch - Class in com.composum.ai.aem.core.impl.autotranslate
Class containing the diff, match and patch methods.
DiffMatchPatch() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
 
DiffMatchPatch.Diff - Class in com.composum.ai.aem.core.impl.autotranslate
Class representing one diff operation.
DiffMatchPatch.LinesToCharsResult - Class in com.composum.ai.aem.core.impl.autotranslate
Internal class for returning results from diff_linesToChars().
DiffMatchPatch.Operation - Enum in com.composum.ai.aem.core.impl.autotranslate
The data structure representing a diff is a Linked list of Diff objects: {Diff(Operation.DELETE, "Hello"), Diff(Operation.INSERT, "Goodbye"), Diff(Operation.EQUAL, " world.")} which means: delete "Hello", add "Goodbye" and keep " world."
DiffMatchPatch.Patch - Class in com.composum.ai.aem.core.impl.autotranslate
Class representing one patch operation.
diffs - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
 
diffToCopyUrl() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
If a translate copy is present, this would open a diff view.
disabled - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
disabled() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
disabled() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
disabled() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
disabled() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl.Config
 
disabled() - Method in annotation type com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl.Config
 
diskCache() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl.Config
 
doExecute(Resource, Resource, LiveRelationship, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
Returns an event stream that was prepared by a previous operation, as a second request after a POST request returning a 202 with a 'Location' header to this servlet, since only GET requests are supported by the EventStream class in browser.
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AIDictationServlet
Returns whether dictation is enabled for the content in the suffix: status code OK means it's available, otherwise 404.
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.RAGServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemContentCreationPromptsServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemSidePanelPromptsServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AIConfigurationServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
 
doIt(SlingHttpServletRequest, SlingHttpServletResponse, ResourceHandle) - Method in class com.composum.ai.composum.bundle.AIDialogServlet.ShowDialogOperation
 
doIt(SlingHttpServletRequest, SlingHttpServletResponse, ResourceHandle) - Method in class com.composum.ai.composum.bundle.AIServlet.StreamResponseOperation
 
doIt(SlingHttpServletRequest, SlingHttpServletResponse, ResourceHandle) - Method in class com.composum.ai.composum.bundle.AIServlet.AbstractGPTServletOperation
Frame implementation with common code
DONE_WITH_ERRORS - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
Implements the content creation operation.
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AIDictationServlet
Implements the transcription operation.
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
Handles POST requests to the servlet.
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
 
doRollback(ResourceResolver, AutoTranslateServiceImpl.TranslationRunImpl) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 

E

editorUrl() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
 
EmbeddingObject() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingObject
 
EmbeddingRequest() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
EmbeddingResponse() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingResponse
 
embeddingService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
embeddingsLimiter - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Rate limiter for embeddings.
embeddingsModel - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
embeddingsModel() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
embeddingsUrl - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
embeddingsUrl() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
embedsearch__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch
 
embedsearch__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch.embedsearch__002e__html
 
EmptyRequestParameterMap() - Constructor for class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.EmptyRequestParameterMap
 
enabled - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
enabled() - Method in annotation type com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl.Config
 
enc - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Tokenizer used for GPT-4 variants.
encodeFloatArray(float[]) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
encodePropertyName(String, String, String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Searches for properties
ensureEmptyOrEndsWith(String) - Method in class com.composum.ai.backend.base.service.chat.impl.HtmlToMarkdownConverter
We ensure sb is either empty or that it ends with the given suffix.
ensureEnabled() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
EnsureResultFutureCallback(CompletableFuture<Void>) - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.EnsureResultFutureCallback
 
entrySet() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.EmptyRequestParameterMap
 
EQUAL - com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
 
equals(Object) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
Is this Diff equivalent to another Diff?
equals(Object) - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
 
equals(Object) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
 
equals(Object) - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
equals(Object) - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration.GPTContextInfo
 
equals(Object) - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
 
equals(Object) - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
 
equals(Object) - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
ERROR - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
errorStatusCode - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
If set, we collect the data for the error message, of false we process it as stream.
EventStream - Class in com.composum.ai.backend.slingbase
 
EventStream - Class in com.composum.ai.composum.bundle
Deprecated.
use slingbase EventStream
EventStream() - Constructor for class com.composum.ai.backend.slingbase.EventStream
 
EventStream() - Constructor for class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
example__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
 
example__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.example__002e__html
 
execute(WorkItem, WorkflowSession, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 
execute(WorkItem, WorkflowSession, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
 
execute(WorkItem, WorkflowSession, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
execute(String, GPTCompletionCallback.GPTToolExecutionContext) - Method in interface com.composum.ai.backend.base.service.chat.GPTTool
Executes the tool call and returns the result to present to the AI.
execute(String, Resource, GPTCompletionCallback.GPTToolExecutionContext) - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
Executes the tool call and returns the result to present to the AI.
execute(String, Resource, GPTCompletionCallback.GPTToolExecutionContext) - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
Does a query with lucene and then rates the results with the embedding.
execute(String, Resource, GPTCompletionCallback.GPTToolExecutionContext) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
execute(String, Resource, GPTCompletionCallback.GPTToolExecutionContext) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
execute(String, Resource, GPTCompletionCallback.GPTToolExecutionContext) - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
Does a query with lucene and then rates the results with the embedding.
execute(ResourceResolver) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
Translate the pages; close the resolver when done.
executePlugins(Resource, PrintWriter, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
executePrompt(String, GPTChatRequest) - Method in interface com.composum.ai.backend.base.service.chat.GPTContentCreationService
Executes a given prompt from the user using ChatGPT.
executePrompt(String, GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
executePromptOnText(String, String, GPTChatRequest) - Method in interface com.composum.ai.backend.base.service.chat.GPTContentCreationService
Executes a given prompt from the user using ChatGPT, using the given text as context.
executePromptOnText(String, String, GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
executePromptOnTextStreaming(String, String, GPTChatRequest, GPTCompletionCallback) - Method in interface com.composum.ai.backend.base.service.chat.GPTContentCreationService
Executes a given prompt from the user using ChatGPT, using the given text as context.
executePromptOnTextStreaming(String, String, GPTChatRequest, GPTCompletionCallback) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
executePromptStreaming(String, GPTChatRequest, GPTCompletionCallback) - Method in interface com.composum.ai.backend.base.service.chat.GPTContentCreationService
Executes a given prompt from the user using ChatGPT.
executePromptStreaming(String, GPTChatRequest, GPTCompletionCallback) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
executeReplacements(Map<String, String>, Map<String, AITemplatingServiceImpl.Replacement>) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
expandSelection(boolean[], int) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Also include 2 items before those already set, and 2 items after those already set, to have some context.
EXPERIENCEFRAGMENT_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
extractPagePrompts(List<AITemplatingServiceImpl.Replacement>) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
extractParts(String) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Splits the response at the %%%%%%%% ID %%%%%%%% separators and puts the items into a map.
extractRetryableException(Throwable) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
extractRules(Resource, int, int, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
Extracts translation rules from a spreadsheet.
extractRulesFromCsv(Resource, int, int, int, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
Reads the data from a CSV file.
extractRulesFromXlsx(Resource, int, int, int, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
Reads the data from a spreadsheet.
extractSourceUrls(List<AITemplatingServiceImpl.Replacement>) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 

F

factoryList - Variable in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginImpl
 
failed(Exception) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.EnsureResultFutureCallback
 
failed(Exception) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
fakeTranslation() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl.Config
 
fakeTranslation(String) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
This turns the capitalization of every odd letter in each word on it's head.
findElementLabels(Resource, Map<String, String>, Map<String, Integer>) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
Looks for the cq:model and determines the labels.
findLanguage(Resource) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
Determines the language this resource is in by searching for an ancestor resource with jcr:language set, or for an ancestor that looks like a language code.
findMostRelated(String, List<String>, int, GPTConfiguration, GPTEmbeddingService.EmbeddingsCache) - Method in interface com.composum.ai.backend.base.service.chat.GPTEmbeddingService
Determines the at most limit to query semantically closest of the comparedStrings according to the embedding service.
findMostRelated(String, List<String>, int, GPTConfiguration, GPTEmbeddingService.EmbeddingsCache) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
FINISHED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
flush() - Method in class com.composum.ai.backend.base.service.StringstreamSlowdown
 
flushBuffer() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
fragmentedTranslation(List<String>, String, GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTTranslationService
Translates the texts into the target language.
fragmentedTranslation(List<String>, String, GPTConfiguration, AtomicInteger, List<GPTResponseCheck>) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
fragmentedTranslation(List<String>, String, GPTConfiguration, List<GPTResponseCheck>) - Method in interface com.composum.ai.backend.base.service.chat.GPTTranslationService
Translates the texts into the target language.
fragmentedTranslation(List<String>, String, GPTConfiguration, List<GPTResponseCheck>) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
We join all text fragments we have to translate into one big texts separated with separators like `%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 573472 %%%%%%%%%%%%%%%%` and then translate that.
fragmentedTranslationDivideAndConquer(List<String>, String, GPTConfiguration, AtomicInteger, List<GPTResponseCheck>) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
We try to translate the whole lot of texts.
from(GPTPermissionConfiguration) - Static method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
 
from(GPTPermissionConfiguration) - Static method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
Reads out the services and component regex information, the other stuff has to be checked elsewhere.
fromChatGPT(String) - Static method in enum com.composum.ai.backend.base.service.chat.GPTFinishReason
 
FULLY_IGNORED_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
If a resource renders as a resource type matching that pattern, we ignore it completely, including child nodes.
FUNCTION_CALL - com.composum.ai.backend.base.service.chat.GPTFinishReason
Deprecated.
FUNCTION_CALL - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
Deprecated.
future - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 

G

GENERATE - com.composum.ai.backend.base.service.chat.GPTConfiguration.Mode
Uses a system prompt appropriate for text generation.
GENERATE - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
generateDescription(String, int, GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTContentCreationService
Generates a description from the given text.
generateDescription(String, int, GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
generateKeywords(String, GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTContentCreationService
Generates a list of keywords from the given text.
generateKeywords(String, GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
getAdditionalInstructions() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Optionally, additional instructions to add to the system prompt.
getAIConfigurationService() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
getAIConfigurationService() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
getAllowedComponents() - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
Regular expressions for allowed components.
getAnswerType() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
The type of answer we want from the LLM.
getApiKey() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
The API key to use with ChatGPT or another service.
getApproximateMarkdownService() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
getArguments() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
A JSON for the arguments the function is called with.
getArguments() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
getAssetInputStream(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
 
getAsyncContext() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getAttribute(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getCachedEmbedding(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTEmbeddingService.EmbeddingsCache
 
getCachedResponse(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
getChatCompletionService() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
getChoices() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getCompletionTokens() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
getComponentLinks(Resource) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
Returns a number of links that are saved in the component or siblings of the component that could be used as a proposal for the user to be used as source for the AI via markdown generation etc.
getComponentLinks(Resource) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
Returns a number of links that are saved in the component or siblings of the component that could be used as a proposal for the user to be used as source for the AI via markdown generation etc.
getComponentName() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getComponentName(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
Determines the jcr:title of the current component, as found by sling:resourceType
getComponentPath() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
getComponentTitle() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getComponentTitle(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
Determines the jcr:title , title or text of the component by searching upwards for such a property.
getConfig() - Method in interface com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginFactory
 
getConfig() - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginFactoryImpl
 
getConfiguration() - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Sets the LLM configuration
getContent() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
The content of the message, be that an answer of the assistant or a question of the user.
getContent() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
getContent() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
getContentSelectors() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
getContentSelectors() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
getContexts() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Additional context information to provide to the AI.
getCreated() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getCurrentCategories() - Method in class com.composum.ai.composum.bundle.model.CategorizeDialogModel
Returns the categories that are currently assigned.
getCurrentTimeMillis() - Method in class com.composum.ai.backend.base.impl.RateLimiter
Provides the possibility to fake time, for easy unittests.
getCurrentValue() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getData() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingResponse
 
getDebug() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
If this is set, then the services will not call the AI and return the JSON request instead of the AI response.
getDelta() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
Alternative to ChatCompletionChoice.getMessage() if it's a response chunk.
getDeniedComponents() - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
Regular expressions for denied components.
getDescription() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionDetails
A brief description of what the function does.
getDescription() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
getDescription(Locale) - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
Human readable description.
getDescription(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
getDescription(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
getDescription(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
getDescription(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
getDetail() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessageUrlPart
 
getDimensions() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
getEmbedding() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingObject
 
getEmbeddings(List<String>, GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Calculates embeddings for the given list of texts.
getEmbeddings(List<String>, GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getEmbeddings(List<String>, GPTConfiguration, GPTEmbeddingService.EmbeddingsCache) - Method in interface com.composum.ai.backend.base.service.chat.GPTEmbeddingService
Get embeddings for the given texts.
getEmbeddings(List<String>, GPTConfiguration, GPTEmbeddingService.EmbeddingsCache) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
getEmbeddingsCache(Map<String, Resource>) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
getEmbeddingsImpl(List<String>, GPTConfiguration, long) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getEmbeddingsImplDivideAndConquer(List<String>, GPTConfiguration, long) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getEmbeddingsModel() - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
getEmbeddingsModel() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getEncodingFormat() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
getError() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
getFieldType() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Whether it is field type rich or just text.
getFinishReason() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
getFinishReason() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
getFunction() - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
The function being called by the model, including its name and arguments.
getFunction() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
getFunction() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatTool
 
getGetTemplateStreamFromBundle(Bundle, String) - Static method in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
 
getGetTemplateStreamFromClassloader(ClassLoader, String) - Static method in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
 
getGPTConfiguration(ResourceResolver, String) - Method in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
getGPTConfiguration(ResourceResolver, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationPlugin
Reads the GPTConfiguration from sling context aware configurations.
getGPTConfiguration(ResourceResolver, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationService
Reads the GPTConfiguration from sling context aware configurations.
getGPTConfiguration(ResourceResolver, String) - Method in class com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl
 
getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIPromptlibConfigurationPluginImpl
This method tries to parse the mapPath as JSON.
getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
 
getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationPlugin
 
getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationService
Decodes the map from the given mapPath, as determined from the appropriate method of AIConfigurationService.getGPTPromptLibraryPaths(SlingHttpServletRequest, String).
getGPTConfigurationMap(SlingHttpServletRequest, String, String) - Method in class com.composum.ai.composum.bundle.service.ComposumAIConfigurationPlugin
 
getGPTPromptLibraryPaths(SlingHttpServletRequest, String) - Method in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
getGPTPromptLibraryPaths(SlingHttpServletRequest, String) - Method in class com.composum.ai.backend.slingbase.impl.OsgiAIPromptlibConfigurationPluginImpl
 
getGPTPromptLibraryPaths(SlingHttpServletRequest, String) - Method in class com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl
 
getGPTPromptLibraryPaths(SlingHttpServletRequest, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationPlugin
Reads the GPTPromptLibrary from sling context aware configurations or OSGI configurations, falling back to default values.
getGPTPromptLibraryPaths(SlingHttpServletRequest, String) - Method in interface com.composum.ai.backend.slingbase.AIConfigurationService
Reads the GPTPromptLibrary from sling context aware configurations, falling back to OSGI configurations, falling back to default values.
getGPTPromptLibraryPathsDefault() - Method in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
 
getGPTPromptLibraryPathsDefault() - Method in interface com.composum.ai.backend.slingbase.AIConfigurationPlugin
getGPTPromptLibraryPathsDefault() - Method in class com.composum.ai.composum.bundle.service.ComposumAIConfigurationPlugin
 
getHasCurrentCategories() - Method in class com.composum.ai.composum.bundle.model.CategorizeDialogModel
 
getHeight() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
For rendering as richttext widget - the height in the inline style.
getHelpUrl() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
getId() - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
The ID of the tool call.
getId() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getId() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
getImageUrl() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
The URL with the content of the image to be analyzed.
getImageUrl() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
getImageUrl(Resource) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
getImageUrl(Resource) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
Retrieves the imageURL in a way useable for ChatGPT - usually data:image/jpeg;base64,{base64_image}
getImageUrl(Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
Retrieves the imageURL in a way useable for ChatGPT - usually data:image/jpeg;base64,{base64_image}
getImageUrl(Resource) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
Retrieves the imageURL in a way useable for ChatGPT - usually data:image/jpeg;base64,{base64_image}
getImageUrl(Resource) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin
Retrieves the imageURL in a way useable for ChatGPT - usually data:image/jpeg;base64,{base64_image} If the plugin cannot handle this resource, it should return null.
getImageUrl(Resource) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
getIndex() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
getIndex() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
getIndex() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingObject
 
getInput() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
getInstance() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getInstance() - Method in interface com.composum.ai.backend.base.service.chat.impl.GPTInternalOpenAIHelper
Returns a helper for implementation in this package.
getIsRichText() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
Whether it is field type rich or just text.
getLanguageKey() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
Returns the language key.
getLanguageName() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
Returns the language name.
getLanguageName(String, Locale) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
 
getLanguageSiblings(Resource, String) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
We look in the resource path for a path element that SelectorUtils.isLocaleName(String) and try to replace it by language as it is or language with a country suffix ([-_][a-zA-Z]{2}) removed.
getLastModified(Resource) - Static method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
getLcOriginal() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getLcTranslated() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getLinkedPage(Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
getMandatoryParameter(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
getMandatoryParameter(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class com.composum.ai.backend.slingbase.AIDictationServlet
 
getMarkdown(String) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
Returns a markdown representation of an attribute value, which might be plain text or HTML.
getMarkdown(String) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
getMarkdown(URI) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
Retrieves the text content for an URL.
getMarkdown(URI) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
getMasterLinks(Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
getMasterLinks(Resource) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin
If applicable: this returns links to the master from which the current page was created - e.g.
getMaxTokens() - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Optionally the maximum number of tokens (approx.
getMaxTokens() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getMessage() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
getMessageLineBlocks(Iterator<String>) - Static method in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
split the lines into blocks of lines where the first line is matching MESSAGE_SEPARATOR
getMessages() - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Returns the chat messages set with GPTChatRequest.addMessage(GPTMessageRole, String).
getMessages() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getMessages(Map<String, String>) - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
Returns a list of messages with the placeholders replaced.
getMethod() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
We render with GET, obviously.
getMode() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
getModel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
 
getModel() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getModel() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getModel() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
getName() - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
getName() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
The name of the function to be called.
getName() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionDetails
The name of the function to be called.
getName() - Method in interface com.composum.ai.backend.base.service.chat.GPTTool
The name of the tool - must be exactly the name given in GPTTool.getToolDeclaration().
getName() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
getName() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
getName(Locale) - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
Human readable name.
getName(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
getName(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
getName(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
getName(Locale) - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
getNewOriginalCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getNewOriginalCopyInsertionsMarked() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getNewTranslatedCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getObject() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getOperations() - Method in class com.composum.ai.composum.bundle.AIDialogServlet
 
getOperations() - Method in class com.composum.ai.composum.bundle.AIServlet
 
getOptionalInt(Status, SlingHttpServletRequest, String) - Method in class com.composum.ai.composum.bundle.AIServlet.AbstractGPTServletOperation
 
getOptionalInt(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
getOptionalInt(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class com.composum.ai.backend.slingbase.AIDictationServlet
 
getOrCreateCacheResource(ResourceResolver, String, boolean) - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
getOrganizationId() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
The organization id to use with ChatGPT.
getOriginal() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getOriginalCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getOriginalCopyDiffsHTML() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getOriginalCopyInsertionsMarked() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getOutputStream() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
getPageCachedValue(String, Resource) - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
getPageCachedValue(String, Resource) - Method in interface com.composum.ai.backend.slingbase.PageCachedValueService
Reads a value that was cached with that property name from the cache.
getPageContentResourcePath() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
getPageLanguage() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
GetPageMarkdownAITool - Class in com.composum.ai.backend.slingbase.experimential.impl
 
GetPageMarkdownAITool() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
GetPageMarkdownAITool.Config - Annotation Type in com.composum.ai.backend.slingbase.experimential.impl
 
getPagePath() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
getPagePath() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
Path to the current page.
getPageResource() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
Finds the content resource for the page that is in the request suffix.
getParameters() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionDetails
The parameters accepted by the function, defined as an arbitrary JSON schema object.
getParameters() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
getParameters(WorkItem, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
getPath() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getPath() - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
getPathInPage() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
Returns the path to the resource within the page - that is, after the jcr:content node.
getPredefinedPrompts() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
getPredefinedPrompts() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
getPromptTokens() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
getProperties() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
getProperties(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
Recursively finds all properties from the given resource and its children that have names starting with AITranslatePropertyWrapper.AI_NEW_TRANSLATED_SUFFIX and creates the AI Translate Property Wrapper for each.
getProperties(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
getProperty() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
The property of the current resource which the widget edits, for instance "jcr:title", "title", "text".
getPropertyEditHandle() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Returns the property edit handle.
getPropertyI18nPath() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
The path where the property is actually saved according to our i18n method, e.g.
getPropertyI18nPath() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
getPropertyName() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getPropertyName() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Returns the property name.
getRawRules(AutoTranslateTranslationTableConfig, Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
getRequest() - Method in class com.composum.ai.backend.slingbase.model.SlingGPTExecutionContext
 
getRequestDispatcher(String, RequestDispatcherOptions) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getRequestDispatcher(Resource) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getRequestParameter(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getRequestParameterList() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getRequestParameterMap() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getRequestParameters(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getResponse() - Method in class com.composum.ai.backend.slingbase.model.SlingGPTExecutionContext
 
getResponseFormat() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getResult() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
getRole() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
Function of the message in the dialog.
getRole() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
getRole() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
getRunningTranslations() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService
 
getRunningTranslations() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
getSeed() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
getSeed() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getServiceConfiguration() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
getServicePermissions() - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
List of service permissions.
getServices() - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
The name of the service this applies to - one of the SERVICE_ constants.
getSession() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getSession(boolean) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
getSingleChatCompletion(GPTChatRequest) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
The simplest case: give some messages and get a single response.
getSingleChatCompletion(GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getSingleSourceClass() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Returns "singlesource" if there is only one source language, so that we can hide the checkbox.
getSources() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Returns the list of sources.
getSourceValue() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
 
getStatus() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
getStrict() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionDetails
Whether to enforce strict schema adherence for the parameters.
getStrict() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
getSuggestedCategories() - Method in class com.composum.ai.composum.bundle.model.CategorizeDialogModel
This uses the ApproximateMarkdownService on the current page and feeds that to ChatGPT for keywording.
getSystemFingerprint() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getTargetValue() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
 
getTemperature() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
The sampling temperature, between 0 and 1.
getTemperature() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getTemplate(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Retrieves a (usually cached) chat template with that name.
getTemplate(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getText() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration.GPTContextInfo
 
getText() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
getText() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
For rendering as richtext widget - this is used as initial value for the text.
getText() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
Returns the text.
getTextLengths() - Method in class com.composum.ai.composum.bundle.model.CreateDialogModel
 
getThreadPool() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
getTime() - Method in class com.composum.ai.backend.base.service.StringstreamSlowdown
 
getTitle() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration.GPTContextInfo
 
getTitle() - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
getToolCallId() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
The ID of a prior tool call.
getToolCallId() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
getToolCalls() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
The tool calls that were made in the context of this message.
getToolCalls() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
getToolCalls() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
getToolCalls() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
getToolDeclaration() - Method in interface com.composum.ai.backend.base.service.chat.GPTTool
The description to use for the OpenAI tool call.
getToolDeclaration() - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
The description to use for the OpenAI tool call.
getToolDeclaration() - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
getToolDeclaration() - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
getToolDeclaration() - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
getToolDeclaration() - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
getToolExecutionContext() - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
For tool calls: set the context to execute actions in.
getToolExecutionContext() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
getToolExecutionContext() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
getToolExecutionContext() - Method in class com.composum.ai.backend.slingbase.EventStream
 
getToolName() - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
Name for the purpose of calling - must match AITool.getToolDeclaration().
getToolName() - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
getToolName() - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
getToolName() - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
getToolName() - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
getTools() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
A list of tools the Model could use.
getTools() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
getTotalTokens() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
getTranslatedCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getTranslatedPages() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
getTranslatedPages() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 
getTranslationParameters(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 
getTranslationRuns() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
getTranslationRuns() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
Retrieves all currently running translation processes.
getTranslationRuns() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
getTranslationRuns() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateService
 
getTranslationRuns() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateStateServiceImpl
 
getType() - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
The type of the tool, currently only "function" is supported.
getType() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
getType() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormat
 
getType() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
getType() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatTool
 
getUrl() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessageUrlPart
 
getUrl(String, boolean, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
 
getUrl1() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
If the request contained a valid path as "path" or suffix, this is the URL of the page.
getUrl2() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
If the request contained a valid path as "path" or suffix, this is the URL of the page that is the source of the live relationship.
getUsage() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
getUser() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
getValue(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.EmptyRequestParameterMap
 
getValueForLanguage(Language) - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
getValueForLanguage(String) - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
getValues(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.EmptyRequestParameterMap
 
getWholeResponse() - Method in class com.composum.ai.backend.slingbase.EventStream
Returns the whole response, but only if it was received completely, otherwise null.
getWholeResponse() - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
Returns the whole response, but only if it was received completely, otherwise null.
getWidgetType() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
getWrapper() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getWriter() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
gptChatCompletionService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
GPTChatCompletionService - Interface in com.composum.ai.backend.base.service.chat
Raw abstraction of the ChatGPT chat interface, with only the details that are needed.
GPTChatCompletionServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
Implements the actual access to the ChatGPT chat API.
GPTChatCompletionServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
GPTChatCompletionServiceImpl.EnsureResultFutureCallback - Class in com.composum.ai.backend.base.service.chat.impl
Makes doubly sure that result is somehow set after the call.
GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig - Annotation Type in com.composum.ai.backend.base.service.chat.impl
 
GPTChatCompletionServiceImpl.RetryableException - Exception in com.composum.ai.backend.base.service.chat.impl
Thrown when we get a 429 rate limiting response.
GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer - Class in com.composum.ai.backend.base.service.chat.impl
 
GPTChatMessage - Class in com.composum.ai.backend.base.service.chat
A chat message in a dialog with ChatGPT.
GPTChatMessage(GPTMessageRole, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessage
 
GPTChatMessage(GPTMessageRole, String, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessage
 
GPTChatMessage(GPTMessageRole, String, String, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessage
 
GPTChatMessage(GPTMessageRole, String, String, String, List<GPTToolCall>) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessage
 
GPTChatMessagesTemplate - Class in com.composum.ai.backend.base.service.chat
A template for chat messages, with placeholders.
GPTChatMessagesTemplate(InputStream, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
Reads the template from the stream, which is closed afterwards.
GPTChatMessagesTemplate(ClassLoader, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
Reads the template from the classloader.
GPTChatMessagesTemplate(Bundle, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
Reads the template from an OSGI bundle.
GPTChatRequest - Class in com.composum.ai.backend.base.service.chat
A request to ChatGPT.
GPTChatRequest() - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatRequest
 
GPTChatRequest(GPTConfiguration) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatRequest
 
GPTChatRequest(List<GPTChatMessage>) - Constructor for class com.composum.ai.backend.base.service.chat.GPTChatRequest
 
GPTCompletionCallback - Interface in com.composum.ai.backend.base.service.chat
For a streaming mode this is given as parameter for the method call and receives the streamed data; the method returns only when the response is complete.
GPTCompletionCallback.GPTCompletionCallbackWrapper - Class in com.composum.ai.backend.base.service.chat
Forwards all methods to a delegate.
GPTCompletionCallback.GPTCompletionCollector - Class in com.composum.ai.backend.base.service.chat
A simple collector that just takes note of things.
GPTCompletionCallback.GPTToolExecutionContext - Interface in com.composum.ai.backend.base.service.chat
For tool calls: context to execute actions in.
GPTCompletionCallbackWrapper(GPTCompletionCallback) - Constructor for class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
GPTCompletionCollector() - Constructor for class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
GPTConfiguration - Class in com.composum.ai.backend.base.service.chat
A configuration to use for accessing the external LLM service.
GPTConfiguration(String, String, GPTConfiguration.AnswerType) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double, Integer) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double, Integer, List<GPTConfiguration.GPTContextInfo>) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(String, String, GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double, Integer, List<GPTConfiguration.GPTContextInfo>, List<GPTTool>) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration.AnswerType - Enum in com.composum.ai.backend.base.service.chat
 
GPTConfiguration.GPTContextInfo - Class in com.composum.ai.backend.base.service.chat
Gives the conversation a history - additional assistant - user message pair.
GPTConfiguration.Mode - Enum in com.composum.ai.backend.base.service.chat
 
GPTContentCreationService - Interface in com.composum.ai.backend.base.service.chat
Service to generate content (keywords / descriptions from a text, and so forth.)
GPTContentCreationServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
Building on GPTChatCompletionService this implements generating keywords.
GPTContentCreationServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
GPTContextInfo(String, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration.GPTContextInfo
 
GPTContextLengthExceededException(String) - Constructor for exception com.composum.ai.backend.base.service.GPTException.GPTContextLengthExceededException
 
GPTDictationService - Interface in com.composum.ai.backend.base.service.chat
Services related to dictation.
GPTDictationServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
 
GPTDictationServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
GPTDictationServiceImpl.GPTDictationServiceConfig - Annotation Type in com.composum.ai.backend.base.service.chat.impl
Configures whether it's enabled (default false), the model and the request counts, and the maximum request size.
GPTDictationServiceImpl.LimitedInputStream - Class in com.composum.ai.backend.base.service.chat.impl
 
GPTEmbeddingService - Interface in com.composum.ai.backend.base.service.chat
Methods related to embeddings.
GPTEmbeddingService.EmbeddingsCache - Interface in com.composum.ai.backend.base.service.chat
Optional cache for embedding values.
GPTEmbeddingServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
 
GPTEmbeddingServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTEmbeddingServiceImpl
 
GPTException - Exception in com.composum.ai.backend.base.service
Any kind of error when accessing GPT.
GPTException(String) - Constructor for exception com.composum.ai.backend.base.service.GPTException
 
GPTException(String, Throwable) - Constructor for exception com.composum.ai.backend.base.service.GPTException
 
GPTException(Throwable) - Constructor for exception com.composum.ai.backend.base.service.GPTException
 
GPTException.GPTContextLengthExceededException - Exception in com.composum.ai.backend.base.service
{ "error": { "message": "This model's maximum context length is 4097 tokens.
GPTException.GPTRetryableResponseErrorException - Exception in com.composum.ai.backend.base.service
An exception that is thrown when the response from the GPT service is not as expected.
GPTException.GPTUserNotificationException - Exception in com.composum.ai.backend.base.service
A special exception if the user should be notified about something instead of completing the task.
GPTFinishReason - Enum in com.composum.ai.backend.base.service.chat
 
GPTFunctionCallDetails - Class in com.composum.ai.backend.base.service.chat
Represents the a call of a function used as a tool in the chat completion request.
GPTFunctionCallDetails(String, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
Creates the object
GPTFunctionDetails - Class in com.composum.ai.backend.base.service.chat
Represents the details of a function used as a tool in the chat completion request.
GPTFunctionDetails(String, String, Object, Boolean) - Constructor for class com.composum.ai.backend.base.service.chat.GPTFunctionDetails
Creates the object
GPTInternalOpenAIHelper - Interface in com.composum.ai.backend.base.service.chat.impl
Helpers for implementation in this package.
GPTInternalOpenAIHelper.GPTInternalOpenAIHelperInst - Class in com.composum.ai.backend.base.service.chat.impl
 
GPTInternalOpenAIHelperInst() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTInternalOpenAIHelper.GPTInternalOpenAIHelperInst
 
gptLimiter - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
If set, this tells the limits of ChatGPT API itself.
GPTMessageRole - Enum in com.composum.ai.backend.base.service.chat
Role of a GPTChatMessage in a dialog with ChatGPT.
GPTPermissionConfiguration - Annotation Type in com.composum.ai.backend.slingbase.model
Serves both as OSGI configuration for OsgiAIConfigurationPluginImpl as well as Sling Context Aware Configuration, since they both do the same thing, OSGI serving as a fallback or the single global configuration if SlingCAC is not used.
GPTPermissionInfo - Class in com.composum.ai.backend.slingbase.model
Permission information that can be used to determine whether a page or component permits services as the side panel AI or the content creation assistant.
GPTPermissionInfo() - Constructor for class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
 
GPTPermissionInfo.GPTPermissionInfoItem - Class in com.composum.ai.backend.slingbase.model
One set of permissions.
GPTPermissionInfoItem() - Constructor for class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
 
GPTPromptLibrary - Annotation Type in com.composum.ai.backend.slingbase.model
 
GPTResponseCheck - Interface in com.composum.ai.backend.base.service.chat
An additional check that verifies whether the translation was carried out right - such as paths in HTML weren't translated.
GPTRetryableResponseErrorException(String) - Constructor for exception com.composum.ai.backend.base.service.GPTException.GPTRetryableResponseErrorException
 
GPTTool - Interface in com.composum.ai.backend.base.service.chat
An action the AI can perform - likely from the sidebar chat.
GPTToolCall - Class in com.composum.ai.backend.base.service.chat
Represents a tool call generated by the model in a chat completion response.
GPTToolCall(String, String, GPTFunctionCallDetails) - Constructor for class com.composum.ai.backend.base.service.chat.GPTToolCall
Creates the object
GPTTranslationService - Interface in com.composum.ai.backend.base.service.chat
Building on GPTChatCompletionService this implements translation.
GPTTranslationServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
Building on GPTChatCompletionService this implements translation.
GPTTranslationServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
GPTTranslationServiceImpl.Config - Annotation Type in com.composum.ai.backend.base.service.chat.impl
 
GPTUserNotificationException(String) - Constructor for exception com.composum.ai.backend.base.service.GPTException.GPTUserNotificationException
 
gson - Static variable in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
 
gson - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 
gson - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
 
gson - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
gson - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
gson - Variable in class com.composum.ai.backend.slingbase.AICreateServlet
 
gson - Variable in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
 
gson - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
gson - Variable in class com.composum.ai.backend.slingbase.impl.OsgiAIPromptlibConfigurationPluginImpl
 
gson - Variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
 
gson - Variable in class com.composum.ai.composum.bundle.AIServlet
 

H

hadInvalidOperation - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
handle - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel
The property edit handle for the property.
handleCheck(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
Handles the 'check' operation to verify if a resource has unmerged translations.
handleCodeblock(Resource, PrintWriter, boolean) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
handleContentFragment(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
Creates markdown for core/wcm/components/contentfragment/v1/contentfragment and derived components.
handleContentReference(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
 
HANDLED_ALL - com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin.PluginResult
The plugin handled the current resource and it's children - no need to continue.
HANDLED_ATTRIBUTES - com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin.PluginResult
The plugin handled the attributes of the resource, but not it's children.
handleExperienceFragment(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
Creates markdown for core/wcm/components/experiencefragment/v1/experiencefragment and derived components.
handleImage(Resource, PrintWriter, SlingHttpServletResponse) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
Handle resource that is a jcr:content of type nt:resource with a jcr:mimeType starting with image/ as a markdown image reference to that path.
handleLabeledAttributes(Resource, PrintWriter, boolean) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
handleMerge(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
Handles the 'merge' operation to merge translations.
handleResource(Resource, PrintWriter, boolean) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
handles(Resource, Resource, LiveRelationship, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
handleSave(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
Handles the 'save' operation to save a translation.
handleStreamingEvent(GPTCompletionCallback, long, String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Handle a single line of the streaming response.
handleTeaser(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
Creates markdown for core/wcm/components/teaser/v1/teaser and derived components.
HAS_WHITESPACE - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
hasChanges() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
hashCode() - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
Create a numeric hash value for a Diff.
hashCode() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
 
hashCode() - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
 
hashCode() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration.GPTContextInfo
 
hashCode() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
hashCode() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
 
hashCode() - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
 
hashCode() - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
hasSavedTranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
HEADER_IMAGEPATH - Static variable in interface com.composum.ai.backend.slingbase.ApproximateMarkdownService
An additional header for the response that tells that the path is actually an image and gives its path.
help__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help
 
help__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help
 
help__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help.help__002e__html
 
help__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help.help__002e__html
 
HIGH - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ImageDetail
 
HIGH_INTELLIGENCE - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Requests slower and more expensive "high intelligence" model - use sparingly.
highIntelligenceModel - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
highIntelligenceModel() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
highIntelligenceNeededIsSet() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
If true, this requires to uses the slower and more expensive high intelligence model - use sparingly for more challenging tasks.
highIntelligenceNeededIsUnset() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
If true, there is no information whether a "high intelligence model" is used - uses the default.
html - com.composum.ai.composum.bundle.AIDialogServlet.Extension
 
HTML - com.composum.ai.backend.base.service.chat.GPTConfiguration.AnswerType
Real HTML or, more likely, richtext as simplified HTML.
HTML - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
HTML_TAG_AT_START - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
HTML_TAG_OR_COMMENT_PATTERN - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
Matches a HTML tag or endtag or HTML comment.
HTML_TAG_PATTERN - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
Matches an opening or closing HTML tag.
HTML_WHITESPACE_PATTERN - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
Several kinds of whitespace in HTML.
htmltags - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
HtmlToApproximateMarkdownServicePlugin - Class in com.composum.ai.backend.slingbase.impl
A plugin for the ApproximateMarkdownService that transforms the rendered HTML to markdown.
HtmlToApproximateMarkdownServicePlugin() - Constructor for class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
HtmlToApproximateMarkdownServicePlugin.CapturingResponse - Class in com.composum.ai.backend.slingbase.impl
We wrap a response to capture the content, forwarding all but modifying methods to the original response.
HtmlToApproximateMarkdownServicePlugin.Config - Annotation Type in com.composum.ai.backend.slingbase.impl
 
HtmlToApproximateMarkdownServicePlugin.EmptyRequestParameterMap - Class in com.composum.ai.backend.slingbase.impl
 
HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper - Class in com.composum.ai.backend.slingbase.impl
Wraps the request to make sure nothing is modified.
HtmlToApproximateMarkdownServicePlugin.UnsupportedOperationCalled - Exception in com.composum.ai.backend.slingbase.impl
Thrown when unsupported operation was called that requires blacklisting.
htmlToMarkdown(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Helper for preprocessing HTML so that it can easily read by ChatGPT.
htmlToMarkdown(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
HtmlToMarkdownConverter - Class in com.composum.ai.backend.base.service.chat.impl
A quick HTML markdown converter that handles the tags [a, strong, code, em, p, br, u, ul, li, ol] used in rich text editor.
HtmlToMarkdownConverter() - Constructor for class com.composum.ai.backend.base.service.chat.impl.HtmlToMarkdownConverter
 
httpAsyncClient - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
httpClient - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
HUGE_TRESHOLD - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
Somewhat arbitrary treshold: if a single property is more than that number of tokens we don't try to translate it.

I

id - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
id - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
ignoreAssetsExceptContentFragments() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
IGNORED_ATTRIBUTE_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
Pattern for several kinds of ignored keys.
IGNORED_NODE_NAMES - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
We ignore nodes named i18n or renditions and nodes starting with rep:, dam:, cq:
IGNORED_PROPERTIES - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
A pattern for property names which we ignore.
IGNORED_PROPERTIES - Static variable in class com.composum.ai.composum.bundle.model.LabelExtensionModel
For now we explicitly exclude some properties where AI is wrong, later we'll use LabelExtensionModel.ATTRIBUTE_AIVISIBLE, but that requires changing Pages.
IGNORED_PROPERTIES_PATTERNS - Static variable in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
IGNORED_VALUE_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
Ignored values for labelled output: "true"/ "false" / single number (int / float) attributes or array of numbers attributes, or shorter than 3 digits or path, or array or type date or boolean or {Date} or {Boolean} , inherit, blank, html tags, target .
IMAGE_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
IMAGE_URL - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.Type
 
imageModel - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
imageModel() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
imageUrl(String) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
inAdaptTo - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
includeExistingTranslationsInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
includeExistingTranslationsInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
includeExistingTranslationsInRetranslation() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
If true, we when retranslating a page with some changes we provide the existing translations of that page to the AI as well as additional context with examples.
includeExistingTranslationsInRetranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
includeFullPageInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
includeFullPageInRetranslation() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
includeFullPageInRetranslation() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
If true, we do not only provide changed texts to the AI during re-translating a page with some changes, but give the entire page to provide better context.
includeFullPageInRetranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
init() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
 
init() - Method in class com.composum.ai.composum.bundle.AIDialogServlet
 
init() - Method in class com.composum.ai.composum.bundle.AIServlet
 
initialize(BeanContext, Resource) - Method in class com.composum.ai.composum.bundle.model.CategorizeDialogModel
Initializes the model.
initialize(BeanContext, Resource) - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
Initializes the model.
initializeWithResource(Resource) - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
inProgress() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
INSERT - com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
 
insertText(String) - Method in class com.composum.ai.backend.base.service.chat.impl.HtmlToMarkdownConverter
Split text into lines to add indentation before each line.
intelligentMerge(String, Resource, String, String, String, String) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
 
intelligentMerge(String, Resource, String, String, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
INTERRUPTED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
isAiTranslateProperty(String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Checks whether a property was created by us and must not be translated etc.
isAllowedFor(Resource) - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
Whether the tool is enabled for the given resource.
isAllowedFor(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.GetPageMarkdownAITool
 
isAllowedFor(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
isAllowedFor(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
isAllowedFor(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
isAlreadyCorrectlyTranslated - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
True if the source value wasn't changed since the last translation - that is, the target value still has a correct translation and should not be modified.
isApplicable(AutoTranslateRuleConfig, String, List<AutoPageTranslateServiceImpl.PropertyToTranslate>) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Returns whether the rule is applicable.
isAvailable(GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTDictationService
Whether the service is enabled and properly configured.
isAvailable(GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
isBecauseOfUnsupportedOperation(Throwable) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
isCancelled - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
Whether the inheritance is cancelled for that property.
isCancelled(Resource, String, LiveRelationship) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
isContentCreationButtonVisible() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
The content creation button is visible always for widgettypes textfield, textarea, codearea, richtext, and only if multi="false".
isDisabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
isDisabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
isEmpty(Void) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
isEmpty(Void) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
isEnabled() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
 
isEnabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
isEnabled() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
 
isEnabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
isEnabled() - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Whether ChatGPT completion is enabled.
isEnabled() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
isEnabled() - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
isEnabled() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
isEnabled() - Method in class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
isEnabled(GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Checks whether GPTChatCompletionService.isEnabled() and whether gptConfig enables executing GPT calls.
isEnabled(GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
isEnabled(GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.impl.GPTInternalOpenAIHelper
Checks whether ChatGPT is generally and whether gptConfig enables executing GPT calls.
isHeuristicallyTranslatableProperty(String, Object) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
Checks whether the property is one of jcr:title, jcr:description, title, alt, cq:panelTitle, shortDescription, actionText, accessibilityLabel, pretitle, displayPopupTitle, helpMessage , or alternatively don't have a colon in the name, have a String value, don't start with /{content,apps,libs,mnt}/ in the value and the value has a whitespace and at least one 4 letter sequence.
isHtml() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
isHtmlButNotRichtext(String, Object) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
Heuristic check whether this is actually HTML that shouldn't be translated.
isHuge(String, Object) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
This recognizes huge values that we shouldn't even attempt to translate since that would very likely fail and block translation of the rest of the properties.
isIgnoredNode(Resource) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
We start with depth 3 since the higher nodes often contain headers, navigation and such that don't help for ChatGPT.
isIgnoredProperty() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
isInProgress() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
isLocaleName(String) - Static method in class com.composum.ai.aem.core.impl.SelectorUtils
 
isMergeNeeded() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
A merge is needed if the property is inheritance cancelled and this is true: there is a new original and a new translated copy.
isModified(Resource, ValueMap, String) - Static method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
isNeedsVision() - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
isOriginalAsWhenLastTranslating() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
isPageCategoriesButtonVisible() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
The pagecategories button is visible only for the categories of the page, which is a multi textfield for property "category" : cpp:widget label="Category" property="category" type="textfield" multi="true.
isPocUiEnabled() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
Whether the debugging UI is enabled.
isPocUiEnabled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
isReset(WorkItem, MetaDataMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
 
isRichText() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Tries to guess whether the property is richtext.
isServiceEnabled(String) - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
isStream() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
isTranslatableResource(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
 
isTranslatableResource(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
isTranslateButtonVisible() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
The translation button is visible only for widgettypes textfield, textarea, richtext, and only if there are texts in other languages than the current one, and if i18n="true" and multi="false".
isTranslationPossible() - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
isUseHighIntelligenceModel() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
If true, the translator will use the 'high-intelligence model' (see OpenAI config) for translation.
isUseHighIntelligenceModel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
isVisible() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
If anything at all is visible.
isVisible(String, LabelExtensionVisibilityKey) - Static method in enum com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
Checks whether the item is visible; returns null if the rule doesn't say whether it is.
isVisionEnabled() - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Returns true if vision is enabled.
isVisionEnabled() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 

J

joinPatternsIntoAnyMatcher(String[]) - Static method in class com.composum.ai.backend.slingbase.impl.AllowDenyMatcherUtil
Makes a pattern that matches whenever one of the patterns matches the input.
joinText(Map<String, String>) - Static method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
joinTexts(List<String>, List<String>) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
json - com.composum.ai.composum.bundle.AIDialogServlet.Extension
 
json - com.composum.ai.composum.bundle.AIServlet.Extension
 
JSON - com.composum.ai.backend.base.service.chat.GPTConfiguration.AnswerType
JSON is not yet supported by all models, so a bit dangerous.
JSON - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
JSON - Static variable in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
JSON_OBJECT - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormatType
 

K

KEEP_HREF_TRANSLATION_CHECK - Static variable in interface com.composum.ai.backend.base.service.chat.GPTResponseCheck
A check that all href attributes in richtext appear in the translation.
keyColumn() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
 
keywords - com.composum.ai.composum.bundle.AIServlet.Operation
 
KeywordsOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.KeywordsOperation
 

L

labeledAttributePatternAllow - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
A pattern which attributes have to be output with a label: the attribute name, a colon and a space and then the trimmed attribute value followed by newline.
labeledAttributePatternDeny - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
LabelExtensionModel - Class in com.composum.ai.composum.bundle.model
Businesslogic for extending the label of a widget with the various buttons.
LabelExtensionModel() - Constructor for class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
LabelExtensionVisibilityKey - Enum in com.composum.ai.composum.bundle.model
labelledAttributeOrder - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
A list of labelled attributes that come first if they are present, in the given order.
labelledAttributeOrder() - Method in annotation type com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl.Config
 
labelledAttributePatternAllow() - Method in annotation type com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl.Config
 
labelledAttributePatternDeny() - Method in annotation type com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl.Config
 
languageKey - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
 
languageName - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
 
lastGptLimiterCreationTime - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
LASTID - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
LC_PREFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Prefix for property names changed to language copies.
LENGTH - com.composum.ai.backend.base.service.chat.GPTFinishReason
The response is not complete, but the maximum length has been reached.
LENGTH - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
 
length1 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
 
length2 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
 
LimitedInputStream(InputStream, long) - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.LimitedInputStream
 
limiter - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Limiter that maps the financial reasons to limit.
limiter - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
lineArray - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
 
LinesToCharsResult(String, String, List<String>) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.LinesToCharsResult
 
Link(String, String, boolean) - Constructor for class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
list__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
 
list__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list
 
list__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list
 
list__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.list__002e__html
 
list__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list.list__002e__html
 
list__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.list__002e__html
 
listModelResources(List<Resource>, Resource) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
liveRelationshipManager - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
LOCALE_NAMES - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
 
LOCALE_PATTERN - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
 
LOG - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
LOG - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
LOG - Static variable in class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
 
LOG - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
logAndThrow(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
logAndThrow(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
login(String, String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
logout() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
logUnhandledAttributes(Resource) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
LOW - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ImageDetail
 

M

make(GPTChatMessage) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
make(GPTFunctionCallDetails) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
make(GPTMessageRole) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
 
make(String) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormatType
 
make(List<GPTToolCall>) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
makeAdditionalParameters(int, String, Status, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.CreateOperation
 
makeAdditionalParameters(int, String, HttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
makeExecuteOnTextRequest(String, String, GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
makeExecutePromptRequest(String, GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
makeGPTTool(Resource, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface com.composum.ai.backend.slingbase.experimential.AITool
The form useable by GPTChatCompletionService.
makePropertyEditHandle(BeanContext, String) - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
makeRequest(String, GPTConfiguration, String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
makeRequest(Resource, List<String>, List<String>, Map<String, String>, String) - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
markAsAiTranslated(Resource, LiveRelationship, AutoTranslateService.TranslationParameters, GPTConfiguration) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
markAsError(Resource) - Static method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
Make it easy to find pages with errors by marking page with AI_TRANSLATION_ERRORMARKER.
MARKDOWN - com.composum.ai.backend.base.service.chat.GPTConfiguration.AnswerType
The default if nothing is requested - markdown is the "native" output form at least of ChatGPT.
MARKDOWN - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
markdownService - Variable in class com.composum.ai.backend.slingbase.AICreateServlet
 
markdownService - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
markdownService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
markdownService - Variable in class com.composum.ai.composum.bundle.AIServlet
 
MarkdownSlingCacheImpl - Class in com.composum.ai.backend.slingbase.impl
Implements a cache for markdown of pages.
MarkdownSlingCacheImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
MarkdownSlingCacheImpl.Config - Annotation Type in com.composum.ai.backend.slingbase.impl
 
markdownToHtml(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
markdownToHtml(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
MARKER_DEBUG_ADDITIONAL_INSTRUCTIONS - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
match_alphabet(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Initialise the alphabet for the Bitap algorithm.
match_bitap(String, String, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Locate the best instance of 'pattern' in 'text' near 'loc' using the Bitap algorithm.
Match_Distance - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
How far to search for a match (0 = exact location, 1000+ = broad match).
match_main(String, String, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Locate the best instance of 'pattern' in 'text' near 'loc'.
Match_Threshold - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
At what point is no match declared (0.0 = perfection, 1.0 = very loose).
matchesAny(String, String[]) - Static method in class com.composum.ai.backend.slingbase.impl.AllowDenyMatcherUtil
 
matchesAny(String, List<String>) - Static method in class com.composum.ai.backend.slingbase.impl.AllowDenyMatcherUtil
 
maxDepth - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
Maximum depth of the recursion.
maximumTokensPerRequest - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
maximumTokensPerRequest() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
maximumTokensPerResponse - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
maximumTokensPerResponse() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
maxRequestSize - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
maxRequestSize() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
MAXTOKENS - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
To respect limits of ChatGPT we replace in texts longer than this many words we replace the middle with [...] TODO: use an intelligent algorithm to determine this limit, but that's pretty hard for executePromptOnText.
MAXTRIES - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
The maximum number of retries.
maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
 
maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
 
maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin
Checks whether the resource should be handled by this plugin and if so, handles it by printing an appropriate markdown representation to the PrintWriter.
maybeHandle(Resource, PrintWriter, ApproximateMarkdownService, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
maybeIncludeAlreadyTranslatedTextAsExample(List<AutoPageTranslateServiceImpl.PropertyToTranslate>, AutoTranslateCaConfig, GPTConfiguration) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
If configured, we include the already translated parts of the page as example.
merge(GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Creates a configuration that joins the values.
merge(GPTConfiguration, boolean) - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Creates a configuration that joins the values.
merge(GPTConfiguration, GPTConfiguration) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
mergeAdditively(GPTPermissionInfo, GPTPermissionInfo) - Static method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
Joins the permission informations additively.
mergeDelta(GPTFunctionCallDetails) - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
 
mergeDelta(GPTToolCall) - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
When streaming, this merges the delta received during the stream.
mergeDelta(ChatCompletionFunctionCallDetails) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
mergeDelta(ChatCompletionToolCall) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
mergeDelta(List<GPTToolCall>, List<GPTToolCall>) - Static method in class com.composum.ai.backend.base.service.chat.GPTToolCall
When streaming, this merges the delta received during the stream.
mergeDelta(List<ChatCompletionToolCall>, List<ChatCompletionToolCall>) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
mergeIn(GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Merges in additional parameters: maxtokens overwrites, if there is a system message it's appended to the current one, and the other messages are added at the back.
MESSAGE_SEPARATOR - Static variable in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
matches the lines like ---------- system ---------- that separate the individual messages in the template
messages - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
migratePathsToLanguageCopy(Resource, String, AutoPageTranslateService.Stats) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Traverses the resource tree looking for paths pointing to /content/dam/ and /content/experience-fragments/ and changes them if there is an unique language copy in our language.
model - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
model() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
modified(GPTDictationServiceImpl.GPTDictationServiceConfig) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
modifiedButRetranslatedProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
Properties that have manually been modified after translation, but were now changed to automatic translation because of a change in the source.
ModifyPageReadTool - Class in com.composum.ai.backend.slingbase.experimential.impl
 
ModifyPageReadTool() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
 
ModifyPageReadTool.ComponentDescription - Class in com.composum.ai.backend.slingbase.experimential.impl
 
ModifyPageReadTool.ComponentProperty - Class in com.composum.ai.backend.slingbase.experimential.impl
 
ModifyPageReadTool.Config - Annotation Type in com.composum.ai.backend.slingbase.experimential.impl
 
ModifyPageReadTool.PageProperties - Class in com.composum.ai.backend.slingbase.experimential.impl
 
ModifyPageWriteTool - Class in com.composum.ai.backend.slingbase.experimential.impl
 
ModifyPageWriteTool() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageWriteTool
 
ModifyPageWriteTool.Config - Annotation Type in com.composum.ai.backend.slingbase.experimential.impl
 
MULTITRANSLATION_SEPARATOR_END - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
End of separator like `573472 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%` .
MULTITRANSLATION_SEPARATOR_PATTERN - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
Regexp matching separator like `%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 573472 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%` (group "id" matches the number).
MULTITRANSLATION_SEPARATOR_START - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
Start of separator like `%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 573472 %%%%%%%%%%%%%%%%` .

N

NAME - Static variable in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl
 
newActionInstance(ValueMap) - Method in class com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionFactory
 
NONE - com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
The ai is not visible.
NonModifyingRequestWrapper(SlingHttpServletRequest, String) - Constructor for class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
normalize(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
 
normalize(String) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
Turn it into a query for the words mentioned in there - that is, remove all meta characters for CONTAINS queries: AND, OR, words prefixed with -, quotes, backslashes.
normalize(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
normalizeForDiff(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
Remove stuff that makes trouble with diffs.
NOT_HANDLED - com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin.PluginResult
 
NULLCFG - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 

O

of(String) - Static method in class com.composum.ai.backend.base.impl.RateLimiter
Tries to find something like "Limit: 3 / min." in errorbody and returns a RateLimiter for that.
ofAdditionalInstructions(String) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
ofContext(String, String) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
ofContexts(List<GPTConfiguration.GPTContextInfo>) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
ofHighIntelligenceNeeded(Boolean) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
ofMaxTokens(Integer) - Static method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Returns a new request with either maxTokens set if that's given, or just an empty request.
ofRichText(boolean) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Returns GPTConfiguration.HTML if richText is true, GPTConfiguration.MARKDOWN otherwise.
ofTemperature(Double) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
ofTools(List<GPTTool>) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
onError(Throwable) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
onError(Throwable) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
onError(Throwable) - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
Called when an error occurs.
onError(Throwable) - Method in class com.composum.ai.backend.slingbase.EventStream
Puts an 'exception' event into the stream with data JSON like this: {"success":false,"title":"Internal error","messages":[{"level":"error","text":"something happened"}]}
onError(Throwable) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
onFinish(GPTFinishReason) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
onFinish(GPTFinishReason) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
onFinish(GPTFinishReason) - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
This is called when the response is complete to specify the reason (e.g.
onFinish(GPTFinishReason) - Method in class com.composum.ai.backend.slingbase.EventStream
Successfull conclusion; puts event 'finished' into the stream with data JSON like this: {"success":true,"data":{"result":{"finishreason":"STOP"}}}
onFinish(GPTFinishReason) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
onNext(String) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
onNext(String) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
onNext(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
Called when a couple of characters come in.
onNext(String) - Method in class com.composum.ai.backend.slingbase.EventStream
 
onNext(String) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
OPENAI_API_KEY - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Environment variable where we take the key from, if not configured directly.
OPENAI_API_KEY_SYSPROP - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
System property where we take the key from, if not configured directly.
OPENAI_EMBEDDINGS_URL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
openAiApiKey() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
openAiApiKey() - Method in annotation type com.composum.ai.backend.slingbase.model.OpenAIConfig
 
openAiApiKeyFile() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
OpenAIConfig - Annotation Type in com.composum.ai.backend.slingbase.model
 
OpenAIEmbeddings - Interface in com.composum.ai.backend.base.service.chat.impl.chatmodel
Request and response for OpenAI embeddings API.
OpenAIEmbeddings.EmbeddingObject - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
OpenAIEmbeddings.EmbeddingRequest - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
OpenAIEmbeddings.EmbeddingResponse - Class in com.composum.ai.backend.base.service.chat.impl.chatmodel
 
openAIHelper - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
openAiOrganizationId() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
openAiOrganizationId() - Method in annotation type com.composum.ai.backend.slingbase.model.OpenAIConfig
 
operation - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
One of: INSERT, DELETE or EQUAL.
operations - Variable in class com.composum.ai.composum.bundle.AIDialogServlet
 
operations - Variable in class com.composum.ai.composum.bundle.AIServlet
 
orderByEmbedding(String, List<Resource>, SlingHttpServletRequest, SlingHttpServletResponse, Resource) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
Finds the resources whose markdown approximation has embeddings that are the most similar to the querytext embedding.
orderByEmbedding(String, List<Resource>, SlingHttpServletRequest, SlingHttpServletResponse, Resource) - Method in interface com.composum.ai.backend.slingbase.RAGService
Finds the resources whose markdown approximation has embeddings that are the most similar to the querytext embedding.
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag
 
org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating
 
organizationId - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
OsgiAIConfigurationPluginFactory - Interface in com.composum.ai.backend.slingbase.impl
OsgiAIConfigurationPluginFactoryImpl - Class in com.composum.ai.backend.slingbase.impl
OsgiAIConfigurationPluginFactoryImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginFactoryImpl
 
OsgiAIConfigurationPluginImpl - Class in com.composum.ai.backend.slingbase.impl
This implementation sources its configurations from the OSGI environment, specifically from instances of GPTPermissionConfiguration.
OsgiAIConfigurationPluginImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.OsgiAIConfigurationPluginImpl
 
OsgiAIPromptlibConfigurationPluginImpl - Class in com.composum.ai.backend.slingbase.impl
This implementation sources the global GPTPromptLibrary configuration from the OSGI environment.
OsgiAIPromptlibConfigurationPluginImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.OsgiAIPromptlibConfigurationPluginImpl
 

P

pageAllowed(SlingHttpServletRequest, String, GPTPermissionConfiguration) - Method in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
pageCachedValueService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
PageCachedValueService - Interface in com.composum.ai.backend.slingbase
Service to cache some values that depend on a page content but are computationally intensive to calculate, like the markdown representation or embeddings or a machine generated summary.
pageHandling(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
Prints title and meta attributes, then continues to normal handling.
pageHandling(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
Prints title and meta attributes, then continues to normal handling.
pagePath - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
 
PAGEPROMPT - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Pattern for a PAGEPROMPT: ...
PageProperties() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool.PageProperties
 
PageTemplatingWorkflowProcess - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
Triggers a call of the AITemplatingService on the current page.
PageTemplatingWorkflowProcess() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.PageTemplatingWorkflowProcess
 
PARAM_ADDITIONAL_PROMPT - Static variable in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
Parameter that gives an additional prompt to add to the AI request.
PARAM_ADDITIONAL_URLS - Static variable in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
Parameter that gives additional URLs or paths to pages with background information to provide data to the AI.
PARAM_BACKGROUND_INFORMATION - Static variable in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
Parameter that gives additional background information to provide data to the AI (not a prompt!).
PARAM_EDITORURL - Static variable in class com.composum.ai.backend.slingbase.AIConfigurationServlet
Parameter that gives the editor URL to check the permissions for.
PARAM_EMBEDDINGORDER - Static variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
Boolean parameter - if true, the results will be ordered by comparing the embedding with the query embedding.
PARAM_LIMIT - Static variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
Maximum number of results from the search that are ranked with the embedding.
PARAM_LIMITRAGTEXTS - Static variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
For query answering (ragAnswer): the maximum number of pages that are given to the AI to answer.
PARAM_PATH - Static variable in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
Parameter with path to a page / page resource for which we compare live relationship source and the containing page.
PARAM_PREPROCESS_QUERY - Static variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
Boolean parameter - if true, the query will be preprocessed before searching to generate likely keywords.
PARAM_QUERY - Static variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
The actual search query.
PARAM_RESOURCE_PATH - Static variable in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
Parameter that gives the page to transform.
PARAM_URL - Static variable in class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
If this is given with an URL instead of a suffix, we retrieve the HTML from the given source.
PARAMETER_AUDIO_STREAM - Static variable in class com.composum.ai.backend.slingbase.AIDictationServlet
Parameter to transmit the audio stream to be transcribed.
PARAMETER_CHAT - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Parameter to transmit additional chat after the first prompt AICreateServlet.PARAMETER_PROMPT.
PARAMETER_CHAT - Static variable in class com.composum.ai.composum.bundle.AIServlet
Parameter to transmit additional chat after AIServlet.PARAMETER_PROMPT.
PARAMETER_CONFIGBASEPATH - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Parameter containing the path of the page, for determining the configuration.
PARAMETER_CONFIGBASEPATH - Static variable in class com.composum.ai.composum.bundle.AIServlet
Parameter containing the path of the page, for determining the configuration.
PARAMETER_CONTENT_TYPE - Static variable in class com.composum.ai.backend.slingbase.AIDictationServlet
Parameter to transmit the content type of the audio, e.g.
PARAMETER_INPUT_IMAGE_PATH - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Parameter to transmit a path to an image instead of a text.
PARAMETER_INPUT_IMAGE_PATH - Static variable in class com.composum.ai.composum.bundle.AIServlet
Parameter to transmit a path to an image instead of a text.
PARAMETER_LANGUAGE - Static variable in class com.composum.ai.backend.slingbase.AIDictationServlet
Parameter to transmit the language code to use, e.g.
PARAMETER_MAXTOKENS - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Optional numerical parameter limiting the number of tokens (about 3/4 english word on average) to be generated.
PARAMETER_MAXTOKENS - Static variable in class com.composum.ai.composum.bundle.AIServlet
Optional numerical parameter limiting the number of tokens (about 3/4 english word on average) to be generated.
PARAMETER_MAXWORDS - Static variable in class com.composum.ai.composum.bundle.AIServlet
Optional numerical parameter limiting the number of words to be generated.
PARAMETER_PATH - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
Parameter defining the path to the resource we work on.
PARAMETER_PATH - Static variable in class com.composum.ai.composum.bundle.AIServlet
The path to a resource, given as parameter.
PARAMETER_PROMPT - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Parameter to transmit a prompt on which ChatGPT is to operate - that is, the instructions.
PARAMETER_PROMPT - Static variable in class com.composum.ai.backend.slingbase.AIDictationServlet
Parameter to transmit an optional prompt to give the AI some context, e.g.
PARAMETER_PROMPT - Static variable in class com.composum.ai.composum.bundle.AIServlet
Parameter to transmit a prompt on which ChatGPT is to operate - that is, the instructions.
PARAMETER_PROPERTY - Static variable in class com.composum.ai.composum.bundle.AIServlet
Property name, given as parameter.
PARAMETER_RICHTEXT - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Optional boolean parameter that indicates the inputText and response are in HTML, not Markdown.
PARAMETER_RICHTEXT - Static variable in class com.composum.ai.composum.bundle.AIServlet
 
PARAMETER_SOURCE - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Parameter to transmit a text on which ChatGPT is to operate - not as instructions but as data.
PARAMETER_SOURCEPATH - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Parameter with a JCR path that is used as input text on which ChatGPT is to operate - not as instructions but as data.
PARAMETER_STREAMID - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
The ID of the stream.
PARAMETER_STREAMID - Static variable in class com.composum.ai.composum.bundle.AIServlet
Transmits the ID of the stream to AIServlet.StreamResponseOperation.
PARAMETER_STREAMING - Static variable in class com.composum.ai.composum.bundle.AIServlet
If set to true for operations that support it, the actual response can be streamed with AIServlet.StreamResponseOperation in a followup GET request.
PARAMETER_TEXT - Static variable in class com.composum.ai.composum.bundle.AIServlet
Parameter to transmit a text on which ChatGPT is to operate - not as instructions but as data.
PARAMETER_TEXTLENGTH - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Description of intended response (generated text) length, optionally including maximum number of tokens, as e.g.
parseColumnName(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
 
Patch() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
Constructor.
patch_addContext(DiffMatchPatch.Patch, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Increase the context until it is unique, but don't let the pattern expand beyond Match_MaxBits.
patch_addPadding(LinkedList<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Add some padding on text start and end so that edges can match something.
patch_apply(LinkedList<DiffMatchPatch.Patch>, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Merge a set of patches onto the text.
patch_deepCopy(LinkedList<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Given an array of patches, return another array that is identical.
Patch_DeleteThreshold - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
When deleting a large block of text (over ~64 characters), how close do the contents have to be to match the expected contents.
patch_fromText(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Parse a textual representation of patches and return a List of Patch objects.
patch_make(String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Compute a list of patches to turn text1 into text2.
patch_make(String, String, LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Deprecated.
Prefer patch_make(String text1, LinkedList diffs).
patch_make(String, LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Compute a list of patches to turn text1 into text2.
patch_make(LinkedList<DiffMatchPatch.Diff>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Compute a list of patches to turn text1 into text2.
Patch_Margin - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Chunk size for context length.
patch_splitMax(LinkedList<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Look through the patches and break up any which are longer than the maximum limit of the match algorithm.
patch_toText(List<DiffMatchPatch.Patch>) - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch
Take a list of patches and return a textual representation.
path() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
 
PATH_CONTENTSELECTORS - Static variable in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
JCR path to a JSON with the basic content selectors supported by the dialog.
pathRegex() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
pathRegex() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRuleConfig
 
paths - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
PATTERN_HAS_LETTER - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
PATTERN_HAS_LETTER - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
PATTERN_HAS_WHITESPACE - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
PATTERN_HAS_WORD - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
As additional heuristic - the text should have at least one word with >= 5 letters.
PATTERN_HTML_TAG - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
PATTERN_IGNORED_SUBNODE_NAMES - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
PATTERN_LIMIT_ERROR - Static variable in class com.composum.ai.backend.base.impl.RateLimiter
 
PATTERN_SEPARATE_WHITESPACE - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
Separate whitespace at the beginning and end from the non-whitespace text.
PATTERN_TRY_AGAIN - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
PATTERN_TWO_SEPARATE_WHITESPACE - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool
Heuristic to detect text attributes.
performCallAsync(CompletableFuture<Void>, long, SimpleHttpRequest, GPTCompletionCallback, int, long) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Executes a call with retries.
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.AbstractGPTServletOperation
 
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.CreateOperation
 
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.DescriptionOperation
 
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.KeywordsOperation
 
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.PromptOnTextOperation
 
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.PromptOperation
 
performOperation(Status, SlingHttpServletRequest, SlingHttpServletResponse, GPTConfiguration) - Method in class com.composum.ai.composum.bundle.AIServlet.TranslateOperation
 
performRolloutForPage(Resource, TriggerRolloutWorkflowProcess.TriggerRolloutParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
performRollouts(Resource, TriggerRolloutWorkflowProcess.TriggerRolloutParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
Triggers a rollout for the jcr:content cq:Page or all such subnodes if TriggerRolloutWorkflowProcess.TriggerRolloutParameters.recursive.
PLACEHOLDER_MARKER - Static variable in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
If that's in a string, it likely contains placeholders.
PLACEHOLDER_PATTERN - Static variable in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
 
PLACEHOLDER_TARGETLANGUAGE - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
Special placeholder in prompts that is replaced by the language of the page.
PLACEHOLDER_TEXT - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
PLACEHOLDER_WORDCOUNTLIMIT - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
plugins - Variable in class com.composum.ai.backend.slingbase.impl.AIConfigurationServiceImpl
 
plugins - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
pocUiEnabled() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
preferHighIntelligenceModel() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
preferStandardModel() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
PREFIX_INFORMATIONALLY - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
PREFIX_PROMPT - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
processBlocks(List<List<String>>) - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
 
prompt - com.composum.ai.composum.bundle.AIServlet.Operation
 
PROMPTFIELD - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Matches a text with PROMPTFIELD start and determines the id if there is one given.
PromptOnTextOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.PromptOnTextOperation
 
PromptOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.PromptOperation
 
property - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.Replacement
 
PROPERTY_AI_ADDINSTRUCTIONS - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
PageContent only property: saves the additional instructions the page was translated with.
PROPERTY_AI_TRANSLATED_BY - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Saves user who triggered the automatic translation of the resource.
PROPERTY_AI_TRANSLATED_DATE - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Saves the date when a resource was automatically translated.
PROPERTY_AI_TRANSLATED_MODEL - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Informationally, saves the model that was used.
PROPERTY_MARKDOWN - Static variable in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
The property in the cache tree where the markdown is stored.
PROPERTY_PREFIX_PROMPT - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Property prefix: if a property contains a prompt, it's copied into a property with this prefix so that we can redo and undo the process.
propertyI18nPath - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel
The path where the property is actually saved according to our i18n method, e.g.
propertyName - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
 
propertyName - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel
The name of the property for which the translation dialog is opened, e.g.
PropertyToTranslate() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
 
prototype__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype
 
prototype__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.prototype__002e__html
 
putCachedEmbedding(String, String) - Method in interface com.composum.ai.backend.base.service.chat.GPTEmbeddingService.EmbeddingsCache
 
putPageCachedValue(String, Resource, String) - Method in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
putPageCachedValue(String, Resource, String) - Method in interface com.composum.ai.backend.slingbase.PageCachedValueService
Writes a value that should be cached with that property name to the cache.

Q

QUEUED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
QUEUEEND - Static variable in class com.composum.ai.backend.slingbase.EventStream
Special message in the EventStream.queue that signals that we are done.
QUEUEEND - Static variable in class com.composum.ai.composum.bundle.EventStream
Deprecated.
Special message in the EventStream.queue that signals that we are done.

R

rag__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag
 
rag__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag.rag__002e__html
 
ragAnswer(String, List<Resource>, SlingHttpServletRequest, SlingHttpServletResponse, Resource, int) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
Answer a question with RAG from the given resources, e.g.
ragAnswer(String, List<Resource>, SlingHttpServletRequest, SlingHttpServletResponse, Resource, int) - Method in interface com.composum.ai.backend.slingbase.RAGService
Answer a question with RAG from the given resources, e.g.
ragAnswer(ResourceResolver, Resource, String, int, boolean, SlingHttpServletRequest, SlingHttpServletResponse, int, boolean) - Method in class com.composum.ai.backend.slingbase.impl.RAGServlet
 
ragService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServlet
 
RAGService - Interface in com.composum.ai.backend.slingbase
Basic services for retrieval augmented generation (RAG).
RAGServiceImpl - Class in com.composum.ai.backend.slingbase.impl
Basic services for retrieval augmented generation (RAG).
RAGServiceImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
RAGServlet - Class in com.composum.ai.backend.slingbase.impl
Servlet providing various RAG supported services.
RAGServlet() - Constructor for class com.composum.ai.backend.slingbase.impl.RAGServlet
 
RateLimiter - Class in com.composum.ai.backend.base.impl
This class is used to limit the rate of requests to the chat service.
RateLimiter(RateLimiter, int, int, TimeUnit) - Constructor for class com.composum.ai.backend.base.impl.RateLimiter
Constructs a rate limiter with a parent.
read() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.LimitedInputStream
 
read(byte[], int, int) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.LimitedInputStream
 
readPredefinedContentSelectors(SlingHttpServletRequest) - Method in class com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet
 
recalculateDelay(String, long) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
If the response body contains a string like "Please try again in 20s." (number varies) we return a value of that many seconds, otherwise just use iterative doubling.
recursive - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
Translate subpages as well.
recursive - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess.TriggerRolloutParameters
 
reducePropertiesToTranslate(List<AutoPageTranslateServiceImpl.PropertyToTranslate>, AutoTranslateCaConfig) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Collects the values we need to translate.
reenableInheritance(Resource, String, LiveRelationship) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
registry - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
related(ResourceResolver, Resource, String, int, boolean, SlingHttpServletRequest, SlingHttpServletResponse, boolean) - Method in class com.composum.ai.backend.slingbase.impl.RAGServlet
Does a plain search for the terms, without actual RAG.
releaseResources() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
relocatedPaths - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
remapPaths(String, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
We find all href="path" patterns
remapPaths(List<String>, String, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
Checks whether there are href="path" in the translatedValues where path is within blueprintPath and replaces those with the according path in the live copy.
removeAttribute(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
removeTool(AITool) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.example__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.list__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.rollback__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.cancel__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.rollback__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.run__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.list.list__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.cancel__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.run__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.list__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.contentcreation__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.contentcreation.help.help__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.help.help__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.sidepanel__002d__ai__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.comparetool.comparetool__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.embedsearch.embedsearch__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.prototype__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.rag.rag__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating.templating__002e__html
 
renderDamAssets(Resource, PrintWriter, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
If the resource is a dam:Asset or a dam:AssetContent jcr:content then we return an image link
renderedAsHTML(Resource, SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin
We render the resource into a mock response and capture and return the generated HTML.
renderReferencedContentFragment(Resource, PrintWriter, ApproximateMarkdownService, Resource, String, String, String[]) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
replaceContexts(List<GPTConfiguration.GPTContextInfo>) - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Returns a copy with the contexts replaced.
Replacement(Resource, String, String) - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.Replacement
 
replacePromptsInResource - com.composum.ai.backend.slingbase.experimential.AITemplatingServlet.Method
 
replacePromptsInResource(Resource, String, List<URI>, String) - Method in interface com.composum.ai.backend.slingbase.experimential.AITemplatingService
Replaces all prompts in the resource with the response of the AI.
replacePromptsInResource(Resource, String, List<URI>, String) - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
replacePromptsInResource(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
 
requestCounter - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
requestCounter - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
requestsPerDay() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
requestsPerDay() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
requestsPerHour() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
requestsPerHour() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
requestsPerMinute() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
requestsPerMinute() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
requestTimeout - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
requestTimeout() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
reset() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
resetBuffer() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
resetToPrompts - com.composum.ai.backend.slingbase.experimential.AITemplatingServlet.Method
 
resetToPrompts(Resource) - Method in interface com.composum.ai.backend.slingbase.experimential.AITemplatingService
Undo #replacePromptsInResource.
resetToPrompts(Resource) - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Sets all properties from its backup copies starting with AITemplatingServiceImpl.PROPERTY_PREFIX_PROMPT and removes the backups.
resetToPrompts(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
 
resizeToMaxSize(byte[], String, int) - Method in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
We resize the image to a maximum width and height of maxSize, keeping the aspect ratio.
resizeToMaxSize(byte[], String, int) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
We resize the image to a maximum width and height of maxSize, keeping the aspect ratio.
resource - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.Replacement
 
resourceRendersAsComponentMatching(Resource, Pattern) - Method in interface com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin
Returns true when the sling:resourceType or one of the sling:resourceSuperType of the sling:resourceType match the pattern.
resourceResolverFactory - Variable in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
 
ResponseFormat() - Constructor for class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormat
 
responseProblem(String, String) - Method in interface com.composum.ai.backend.base.service.chat.GPTResponseCheck
Performs a check, and if the check fails it returns additional instructions with which the request is retried.
result - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.EnsureResultFutureCallback
 
result - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
resultBuilder - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
resultCount() - Method in annotation type com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool.Config
 
RESULTKEY - Static variable in class com.composum.ai.composum.bundle.AIServlet
Key for Status.data(String) - toplevel key in the servlet result.
RESULTKEY_DESCRIPTION - Static variable in class com.composum.ai.composum.bundle.AIServlet
Key in the result that transmits the generated description.
RESULTKEY_FINISHREASON - Static variable in class com.composum.ai.composum.bundle.AIServlet
Used to transmit whether the response was complete (finishreason GPTFinishReason.STOP or length restriction GPTFinishReason.LENGTH).
RESULTKEY_KEYWORDS - Static variable in class com.composum.ai.composum.bundle.AIServlet
Key in the result that transmits the generated list of keywords.
RESULTKEY_STREAMID - Static variable in class com.composum.ai.composum.bundle.AIServlet
Alternative to AIServlet.RESULTKEY_TEXT when the response will be streamed.
RESULTKEY_TEXT - Static variable in class com.composum.ai.composum.bundle.AIServlet
Key in the result that transmits the generated text.
RESULTKEY_TRANSLATION - Static variable in class com.composum.ai.composum.bundle.AIServlet
Key in the result that transmits a list of translations (currently only one, but might be extended later.)
retranslatedProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
Were already translated, but translation source had changed.
retrieveForwardFragment() - Method in class com.composum.ai.backend.base.service.StringstreamSlowdown
Returns the longest fragment of StringstreamSlowdown.collected ending in a whitespace or punctuation character.
retrieveOpenAIKey(GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
retrieveStream(String, SlingHttpServletRequest) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
retrieveStream(String, SlingHttpServletRequest) - Method in class com.composum.ai.composum.bundle.AIServlet
 
RetryableException(String) - Constructor for exception com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.RetryableException
 
RICHTEXT_PATTERN - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Heuristics to identify richtext properties: start and end with a HTML tag.
rollback() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
rollback() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
 
rollback(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService
Rolls everything back in the resource - mostly for testing purposes.
rollback(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
rollback(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
Rolls the translation results at this resource back - mostly for debugging.
rollback(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
rollback(ResourceResolver) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
rollback(ResourceResolver) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 
rollback__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list
 
rollback__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
 
rollback__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.list.rollback__002e__html
 
rollback__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.rollback__002e__html
 
rolloutManager - Variable in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
rootPath - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
rules - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
Optionally, a number of rules that give additional instructions for translation if certain words or phrases are present in the page.
rules() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
run__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run
 
run__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run
 
run__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate__002d__experiments.run.run__002e__html
 
run__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslate.run.run__002e__html
 
RUNNING - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
 
runningTranslations - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 

S

saveStream(EventStream, SlingHttpServletRequest) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
Saves stream for streaming responses into session, to be retrieved with AICreateServlet.retrieveStream(String, SlingHttpServletRequest).
saveStream(EventStream, SlingHttpServletRequest) - Method in class com.composum.ai.composum.bundle.AIServlet
Saves stream for streaming requests into session, to be retrieved with AIServlet.retrieveStream(String, SlingHttpServletRequest) during a AIServlet.StreamResponseOperation.
saveTranslation(Resource, String, String, boolean) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
Saves the new content to a property.
saveTranslation(Resource, String, String, boolean) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
sb - Variable in class com.composum.ai.backend.base.service.chat.impl.HtmlToMarkdownConverter
 
scheduledExecutorService - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
SearchPageAITool - Class in com.composum.ai.backend.slingbase.experimential.impl
 
SearchPageAITool() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool
 
SearchPageAITool.Config - Annotation Type in com.composum.ai.backend.slingbase.experimential.impl
 
searchRelated(Resource, String, int) - Method in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
searchRelated(Resource, String, int) - Method in interface com.composum.ai.backend.slingbase.RAGService
Returns a list of up to limit paths that might be related to the query.
seed - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
seed - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
seed() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
seed() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl.Config
 
SelectorUtils - Class in com.composum.ai.aem.core.impl
Some utility methods for this.
SelectorUtils() - Constructor for class com.composum.ai.aem.core.impl.SelectorUtils
 
sendError(int) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
sendError(int, String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
sendRedirect(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
separateResultTexts(String, List<String>, List<String>, String) - Static method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
SEPARATOR_PATTERN - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
serialize(List<ChatCompletionMessagePart>, Type, JsonSerializationContext) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessagePartListDeSerializer
To save space: if there is only one element in src that also is a text message, we serialize it as a string, otherwise as object list.
SERVICE_CATEGORIZE - Static variable in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
Only for composum: service name for categorization.
SERVICE_CREATE - Static variable in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
Service name for Content Creation Dialog
SERVICE_KEY - Static variable in class com.composum.ai.composum.bundle.AIServlet
 
SERVICE_SIDEPANEL - Static variable in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
Service name for Side Panel AI
SERVICE_TRANSLATE - Static variable in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
Only for Composum: service name for translation.
services() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPermissionConfiguration
 
SERVLET_PATH - Static variable in class com.composum.ai.composum.bundle.AIDialogServlet
 
SESSIONKEY_STREAMING - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
Session contains a map at this key that maps the streamids to the streaming handle.
SESSIONKEY_STREAMING - Static variable in class com.composum.ai.composum.bundle.AIServlet
Session contains a map at this key that maps the streamids to the streaming handle.
setAiTranslatedBy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setAiTranslatedDate(Calendar) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setAiTranslatedModel(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setAllowedComponents(List<String>) - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
 
setArguments(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
setAttribute(String, Object) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
setBufferSize(int) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setCharacterEncoding(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setCharacterEncoding(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
setChoices(List<ChatCompletionChoice>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setCompletionTokens(int) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
setConfiguration(GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Optionally, sets the configuration.
setContent(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
setContent(List<ChatCompletionMessagePart>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
setContentLength(int) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setContentLengthLong(long) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setContentType(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setContext(SlingGPTExecutionContext) - Method in class com.composum.ai.backend.slingbase.EventStream
 
setCreated(long) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setCurrentValue(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setData(List<OpenAIEmbeddings.EmbeddingObject>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingResponse
 
setDateHeader(String, long) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setDelta(ChatCompletionChoiceMessage) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
setDeniedComponents(List<String>) - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
 
setDescription(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
setDetail(ChatCompletionMessagePart.ImageDetail) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessageUrlPart
 
setDimensions(Integer) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
setEmbedding(float[]) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingObject
 
setEncodingFormat(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
setFinishReason(ChatCompletionResponse.FinishReason) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
setFunction(ChatCompletionFunctionCallDetails) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
setFunction(ChatCompletionFunctionDetails) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatTool
 
setHeader(String, String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setId(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setId(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
setId(String) - Method in class com.composum.ai.backend.slingbase.EventStream
 
setId(String) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
setImageUrl(ChatCompletionMessagePart.ChatCompletionMessageUrlPart) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
setIndex(int) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
setIndex(int) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
setIndex(Integer) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingObject
 
setInput(List<String>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
setIntHeader(String, int) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setLcOriginal(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setLcTranslated(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setLocale(Locale) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setLoggingId(String) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
setLoggingId(String) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
setLoggingId(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
For debugging: this sets the internal ID that is used for logging purposes.
setLoggingId(String) - Method in class com.composum.ai.backend.slingbase.EventStream
 
setLoggingId(String) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
setMaxTokens(Integer) - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
Optionally, sets the maximum number of tokens (approx.
setMaxTokens(Integer) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setMessage(ChatCompletionChoiceMessage) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoice
 
setMessages(List<ChatCompletionMessage>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setModel(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setModel(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setModel(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
setName(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
setName(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
setNewOriginalCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setNewTranslatedCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setObject(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setOriginalCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setParameters(Object) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
setPromptTokens(int) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
setPropertyI18nPath(String) - Method in class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
setRequest(String) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
setRequest(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
For debugging - the request that was sent to ChatGPT as JSON.
setResponseFormat(ChatCompletionRequest.ResponseFormat) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setRole(ChatCompletionRequest.Role) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
setRole(ChatCompletionRequest.Role) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
setSeed(Integer) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setService(List<String>) - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
 
setServicePermissions(List<GPTPermissionInfo.GPTPermissionInfoItem>) - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
 
setStatus(int) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setStatus(int, String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.CapturingResponse
 
setStream(Boolean) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setStrict(Boolean) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionDetails
 
setSystemFingerprint(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setTemperature(Double) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setText(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
setToolCallId(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
setToolCalls(List<ChatCompletionToolCall>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
setToolCalls(List<ChatCompletionToolCall>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessage
 
setTools(List<ChatTool>) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest
 
setTotalTokens(int) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionUsage
 
setTranslatedCopy(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setType(ChatCompletionMessagePart.Type) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
setType(ChatCompletionRequest.ResponseFormatType) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormat
 
setType(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
setType(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatTool
 
setUrl(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ChatCompletionMessageUrlPart
 
setUsage(ChatCompletionUsage) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
 
setUser(String) - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.OpenAIEmbeddings.EmbeddingRequest
 
sheetIndex() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
 
shorten(String, int) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Helper method to shorten texts by taking out the middle if too long.
shorten(String, int) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
ShowDialogOperation(AIDialogServlet.Operation, String) - Constructor for class com.composum.ai.composum.bundle.AIDialogServlet.ShowDialogOperation
 
sidebarDialog - com.composum.ai.composum.bundle.AIDialogServlet.Operation
 
SidebarDialogModel - Class in com.composum.ai.composum.bundle.model
Model for the sidebar AI dialog.
SidebarDialogModel() - Constructor for class com.composum.ai.composum.bundle.model.SidebarDialogModel
 
sidepanel__002d__ai__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai
 
sidepanel__002d__ai__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.sidepanel__002d__ai.sidepanel__002d__ai__002e__html
 
sidePanelPromptsPath() - Method in annotation type com.composum.ai.backend.slingbase.model.GPTPromptLibrary
 
singleTranslation(String, String, String, GPTConfiguration) - Method in interface com.composum.ai.backend.base.service.chat.GPTTranslationService
Translate the text from the target to destination language, either Java locale name or language name.
singleTranslation(String, String, String, GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
Translate the text from the target to destination language, either Java locale name or language name.
siteLevel() - Method in annotation type com.composum.ai.backend.slingbase.experimential.impl.SearchPageAITool.Config
 
sleep(long) - Method in class com.composum.ai.backend.base.impl.RateLimiter
Provides the possibility to fake time, for easy unittests.
SlingCaConfigPluginImpl - Class in com.composum.ai.backend.slingbase.impl
Reads configurations using Sling context aware configuration.
SlingCaConfigPluginImpl() - Constructor for class com.composum.ai.backend.slingbase.impl.SlingCaConfigPluginImpl
 
SlingCaConfigPluginImpl.Config - Annotation Type in com.composum.ai.backend.slingbase.impl
 
SlingGPTExecutionContext - Class in com.composum.ai.backend.slingbase.model
For Sling tools: the request and response of the streaming as executin context for tool calls.
SlingGPTExecutionContext(SlingHttpServletRequest, SlingHttpServletResponse) - Constructor for class com.composum.ai.backend.slingbase.model.SlingGPTExecutionContext
 
Source(String, String, String) - Constructor for class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
 
sourceResource - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
The resource where we take the translation source from.
sources - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel
The sources for translation.
SOURCEURL - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Pattern for a SOURCEURL(https://example.com/) to extract the URL - group "url".
sse - com.composum.ai.composum.bundle.AIServlet.Extension
 
STANDARD_INTELLIGENCE - Static variable in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Requests faster and less expensive "normal intelligence" model.
start(HttpResponse, ContentType) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
 
start1 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
 
start2 - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
 
startAsync() - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
startAsync(ServletRequest, ServletResponse) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
startRow() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
 
startTime - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
startTranslation(ResourceResolver, String, AutoTranslateService.TranslationParameters) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService
Starts a new translation run.
startTranslation(ResourceResolver, String, AutoTranslateService.TranslationParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl
 
stats - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
 
Stats() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
status - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
 
status - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
statusString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
STOP - com.composum.ai.backend.base.service.chat.GPTFinishReason
The response is complete.
STOP - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
 
stopTime - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
StreamDecodingResponseConsumer(GPTCompletionCallback, CompletableFuture<Void>, long) - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.StreamDecodingResponseConsumer
The result of the webservice call is written to callback; result is set when either it completed or aborted.
streamingChatCompletion(GPTChatRequest, GPTCompletionCallback) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Give some messages and receive the streaming response via callback, to reduce waiting time.
streamingChatCompletion(GPTChatRequest, GPTCompletionCallback) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
streamingChatCompletionWithToolCalls(GPTChatRequest, GPTCompletionCallback) - Method in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
Give some messages and receive the streaming response via callback, to reduce waiting time.
streamingChatCompletionWithToolCalls(GPTChatRequest, GPTCompletionCallback) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
streamingSingleTranslation(String, String, String, GPTConfiguration, GPTCompletionCallback) - Method in interface com.composum.ai.backend.base.service.chat.GPTTranslationService
Translate the text from the target to destination language, either Java locale name or language name.
streamingSingleTranslation(String, String, String, GPTConfiguration, GPTCompletionCallback) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
streamresponse - com.composum.ai.composum.bundle.AIServlet.Operation
 
StreamResponseOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.StreamResponseOperation
 
StringstreamSlowdown - Class in com.composum.ai.backend.base.service
For a stream of String segments (like the ChatGPT tokens that trickle in from ChatGPT when streaming) this collects the parts and forwards the collected part every 500ms to a given consumer.
StringstreamSlowdown(Consumer<String>, long) - Constructor for class com.composum.ai.backend.base.service.StringstreamSlowdown
Sets the target where we forward the collected strings.
SUFFIX_PAGE_MODIFICATION_DATE - Static variable in class com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl
Suffix for a property that saves the page modification date when the corresponding property was generated.
SUFFIX_TRANSLATECOPY - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
If parameter copyOriginalPage is set, we create a copy of the original page with this suffix before doing the translation.
SYSMSG - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
SYSTEM - com.composum.ai.backend.base.service.chat.GPTMessageRole
The system message helps set the behavior of the assistant.
SYSTEM - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
 

T

tableHandling(Resource, PrintWriter, ApproximateMarkdownService) - Method in class com.composum.ai.composum.bundle.service.ComposumApproximateMarkdownServicePlugin
If it's a table, handles everything including children.
targetResource - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
The resource where we write the translation.
TEASER_TYPES - Static variable in class com.composum.ai.aem.core.impl.AemApproximateMarkdownServicePlugin
 
temperature - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
temperature - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
 
temperature() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
temperature() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl.GPTChatCompletionServiceConfig
 
temperature() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl.Config
 
TEMPLATE_CHATPROMPTONTEXT - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
TEMPLATE_MAKEDESCRIPTION - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
TEMPLATE_MAKEKEYWORDS - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
Template for GPTChatMessagesTemplate to generate keywords from a text.
TEMPLATE_PROMPTONTEXT - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl
 
TEMPLATE_SINGLETRANSLATION - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl
Template for GPTChatMessagesTemplate to translate a single word or phrase.
TEMPLATEDIR - Static variable in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
 
templates - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
TEMPLATESUFFIX - Static variable in class com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate
 
templating__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating
 
templating__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.prototype.templating.templating__002e__html
 
text - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
The text associated with this diff operation.
text - Variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.Replacement
 
text - Variable in class com.composum.ai.composum.bundle.model.TranslationDialogModel.Source
 
text(String) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart
 
TEXT - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.Type
 
TEXT - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormatType
 
TEXT_ATTRIBS - Static variable in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
Possible atttributes we use for the prompt text.
textAttributes - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
A list of attributes that are output (in that ordering) without any label, each on a line for itself.
textAttributes() - Method in annotation type com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl.Config
 
THE_END_COMMAND - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 
THE_END_PATTERN - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
Matches a properly executed AITemplatingServiceImpl.THE_END_COMMAND.
THREE_WHITESPACE_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
If that occurs in a string it has several words.
TITLE_ATTRIBS - Static variable in class com.composum.ai.aem.core.impl.AemAIConfigurationPlugin
Possible attributes we use for the prompt name.
toGPTFinishReason(ChatCompletionResponse.FinishReason) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
 
toGptFuctionCallDetails() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
 
toGptToolCall() - Method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
 
toGptToolCallList(List<ChatCompletionToolCall>) - Static method in class com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionToolCall
Turns the list into a GPTToolCall list observing the ChatCompletionToolCall.getIndex().
TOOL - com.composum.ai.backend.base.service.chat.GPTMessageRole
A result of a tool call the assistant made.
TOOL - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
 
TOOL_CALLS - com.composum.ai.backend.base.service.chat.GPTFinishReason
Model decided to call one or more tools.
TOOL_CALLS - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
 
toolDelta(List<GPTToolCall>) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCallbackWrapper
 
toolDelta(List<GPTToolCall>) - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
toolDelta(List<GPTToolCall>) - Method in interface com.composum.ai.backend.base.service.chat.GPTCompletionCallback
Called when a tool call is made.
tools - Variable in class com.composum.ai.backend.slingbase.AICreateServlet
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
Display a human-readable version of this Diff.
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
Emulate GNU diff's format.
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess.TriggerRolloutParameters
 
toString() - Method in class com.composum.ai.backend.base.service.chat.GPTChatMessage
String representation only for debugging.
toString() - Method in class com.composum.ai.backend.base.service.chat.GPTChatRequest
 
toString() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration.GPTContextInfo
 
toString() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
toString() - Method in class com.composum.ai.backend.base.service.chat.GPTFunctionCallDetails
String representation for debugging.
toString() - Method in enum com.composum.ai.backend.base.service.chat.GPTMessageRole
 
toString() - Method in class com.composum.ai.backend.base.service.chat.GPTToolCall
String representation for debugging.
toString() - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownService.Link
 
toString() - Method in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.Replacement
 
toString() - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo.GPTPermissionInfoItem
 
toString() - Method in class com.composum.ai.backend.slingbase.model.GPTPermissionInfo
 
toString() - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 
transcribe(InputStream, String, String, GPTConfiguration, String) - Method in interface com.composum.ai.backend.base.service.chat.GPTDictationService
Transcribes the input audio to text.
transcribe(InputStream, String, String, GPTConfiguration, String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
translate - com.composum.ai.composum.bundle.AIServlet.Operation
 
translate(Resource, AutoTranslateService.TranslationParameters, int) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
 
translate(Resource, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.workflow.AutoTranslateWorkflowProcess
Deprecated.
We only translate jcr:content resources or resources that are within a jcr:content.
TRANSLATE - com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
Matches the translation assistant.
translateableAttributes(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
Returns those attributes that should be translated.
translateableAttributes(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
translateableProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
translateCopyPagePath - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
 
translatedProperties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService.Stats
 
translateLiveCopy(Resource, AutoTranslateService.TranslationParameters) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateService
Implements the actual translation for one page or asset.
translateLiveCopy(Resource, AutoTranslateService.TranslationParameters) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
TranslateOperation() - Constructor for class com.composum.ai.composum.bundle.AIServlet.TranslateOperation
 
translationDialog - com.composum.ai.composum.bundle.AIDialogServlet.Operation
 
TranslationDialogModel - Class in com.composum.ai.composum.bundle.model
Model for rendering the translation dialog.
TranslationDialogModel() - Constructor for class com.composum.ai.composum.bundle.model.TranslationDialogModel
 
TranslationDialogModel.Source - Class in com.composum.ai.composum.bundle.model
Represents a source for translation.
TranslationPage() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationPage
 
TranslationPageImpl(Resource) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationPageImpl
 
TranslationParameters() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationParameters
 
TranslationRuleExtractor - Class in com.composum.ai.aem.core.impl.autotranslate
Reads translation rules from an xls document.
TranslationRuleExtractor() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.TranslationRuleExtractor
 
TranslationRun() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
TranslationRunImpl() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 
translationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
translationService - Variable in class com.composum.ai.composum.bundle.AIServlet
 
translationTableRuleText() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
translationTables() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
traverseTreeForStructureGathering(Resource, PrintWriter, String, String) - Method in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
This is debugging code we needed to gather information for the implementation; we keep it around for now.
triggerCallAsync(long, SimpleHttpRequest, GPTCompletionCallback) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Puts the call into the pipeline; the returned future will be set normally or exceptionally when it's done.
TriggerRolloutParameters() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess.TriggerRolloutParameters
 
TriggerRolloutWorkflowProcess - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
Translates the page that is given as payload from it's blueprint.
TriggerRolloutWorkflowProcess() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.workflow.TriggerRolloutWorkflowProcess
 
TriggerRolloutWorkflowProcess.TriggerRolloutParameters - Class in com.composum.ai.aem.core.impl.autotranslate.workflow
 
TRUNCATE_MARKER - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
TYPE_MAP_STRING_STRING - Static variable in class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl
 

U

UnsupportedOperationCalled() - Constructor for exception com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.UnsupportedOperationCalled
 
upgrade(Class<T>) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
URL_OPENAI_TRANSCRIPTIONS - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl
 
urlBlacklist - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
Whitelist for URLs we can connect to get the markdown.
urlSourceBlacklist() - Method in annotation type com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl.Config
 
urlSourceWhitelist() - Method in annotation type com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl.Config
 
urlWhitelist - Variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
Blacklist for URLs we can connect to get the markdown.
useHighIntelligenceModel() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfig
 
user - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRun
 
USER - com.composum.ai.backend.base.service.chat.GPTMessageRole
The user messages help instruct the assistant.
USER - com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
 
userAndGroupsOfUser(SlingHttpServletRequest) - Static method in class com.composum.ai.backend.slingbase.impl.AllowDenyMatcherUtil
Collects the username and all groups the user belongs to (either explicitly or inherited).

V

VALID_EXPRESSIONS - Static variable in enum com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
A regex that matches all correct visibility declarations: a comma separated list (spaces permitted) of true, false, a name of one of the dialog constants or ! and the name of one of the dialog constants, case-insensitive.
valueColumn() - Method in annotation type com.composum.ai.aem.core.impl.autotranslate.AutoTranslateTranslationTableConfig
 
valueOf(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.GPTConfiguration.AnswerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.GPTConfiguration.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.GPTFinishReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.GPTMessageRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ImageDetail
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormatType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin.PluginResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.backend.slingbase.experimential.AITemplatingServlet.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.composum.bundle.AIDialogServlet.Extension
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.composum.bundle.AIDialogServlet.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.composum.bundle.AIServlet.Extension
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.composum.bundle.AIServlet.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.GPTConfiguration.AnswerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.GPTConfiguration.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.GPTFinishReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.GPTMessageRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.ImageDetail
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionMessagePart.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.ResponseFormatType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionRequest.Role
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse.FinishReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.slingbase.ApproximateMarkdownServicePlugin.PluginResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.backend.slingbase.experimential.AITemplatingServlet.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.composum.bundle.AIDialogServlet.Extension
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.composum.bundle.AIDialogServlet.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.composum.bundle.AIServlet.Extension
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.composum.bundle.AIServlet.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.composum.ai.composum.bundle.model.LabelExtensionVisibilityKey
Returns an array containing the constants of this enum type, in the order they are declared.
VIDEO_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 
visibilityByKey(LabelExtensionVisibilityKey) - Method in class com.composum.ai.composum.bundle.model.LabelExtensionModel
 

W

waitForLimit() - Method in class com.composum.ai.backend.base.impl.RateLimiter
For a synchronous call: RateLimiter.waitForLimit() has to be called before starting the request; it'll make sure the rate limit is not exceeded.
waitForLimit() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
waituntil - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 
wrapExcludingHTMLTags(String, String, String) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
We wrap the text into wrapstart and wrapstop.
writeData(String) - Method in class com.composum.ai.backend.slingbase.EventStream
 
writeData(String) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
writeTo(PrintWriter) - Method in class com.composum.ai.backend.slingbase.EventStream
 
writeTo(PrintWriter) - Method in class com.composum.ai.composum.bundle.EventStream
Deprecated.
 
writeToResponse(JsonWriter, SlingHttpServletResponse, boolean, boolean, String) - Method in class com.composum.ai.backend.slingbase.experimential.AITemplatingServlet
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages