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

abbreviateSurroundings(String, Pattern, int) - Method in class com.composum.ai.aem.core.impl.BulkReplaceServlet
Creates an excerpt from the given text around the search term.
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(GPTBackendConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsConfigurationServiceImpl
 
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(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
 
additionalHeader1Key() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
additionalHeader1Value() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
additionalHeader2Key() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
additionalHeader2Value() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
additionalHeader3Key() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
additionalHeader3Value() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
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
 
adjustForReenableInheritance() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
If there is a new original and new translation saved, we have to overwrite the property with that if the inheritance is reenabled since that is newer than the original value - basically synchronization.
adjustPropertiesReenableInheritance(LiveRelationshipManager, Resource) - Static method in class com.composum.ai.aem.core.impl.ComponentCancellationHelper
We call AITranslatePropertyWrapper.adjustForReenableInheritance() on all properties that are *not* cancelled now.
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_ACCEPTED_SOURCE_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Suffix for the property name of a property with enabled inheritance that saves the source language for the value the user has last accepted in the AI merge tool.
AI_ACCEPTED_TRANSLATION_SUFFIX - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Suffix for the property name of a property with enabled inheritance that saves the (auto translated) property value when the user last accepted it in the AI merge tool.
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 during rollout, heping with the merge.
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 auto-translated value of the property during rollout - needs to be merged with the current value.
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.
AI_TRANSLATION_MODEL - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
Attribute that is set on jcr:content of a page on successful translation: saves the model it was translated with.
AIConfigurationPlugin - Interface in com.composum.ai.backend.slingbase
 
aiConfigurationService - Variable in class com.composum.ai.backend.slingbase.impl.RAGServiceImpl
 
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
 
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
 
AIResourceUtil - Class in com.composum.ai.backend.slingbase
 
AIResourceUtil() - Constructor for class com.composum.ai.backend.slingbase.AIResourceUtil
 
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_PROPERTIES - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.PropertyFilter
 
ALL_PROPERTIES - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.Scope
 
allAiKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
All keys about the property.
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
 
allPageKeys() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
All general keys for storing properties on a page.
allProps(ValueMap, ModifiableValueMap) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
annotationType() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.AutoTranslateRuleConfigContentRule
 
apiEndpoint() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
approveTranslation(Resource, String) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
Approves a translation for the specified property of the given resource, marking it as accepted.
approveTranslation(Resource, String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
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 - 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_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
 
autoPublish - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
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
 
AutoTranslateComponent(String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
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
 
AutoTranslateMergeModel.AutoTranslateComponent - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateMergeModel.PropertyFilter - Enum in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateMergeModel.Scope - Enum in com.composum.ai.aem.core.impl.autotranslate
 
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.
AutoTranslateMergeService.CancelOrReenable - Enum in com.composum.ai.aem.core.impl.autotranslate
 
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
 
autotranslatemodelcompare__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemodelcompare
 
autotranslatemodelcompare__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemodelcompare.autotranslatemodelcompare__002e__html
 
AutotranslateModelCompareModel - Class in com.composum.ai.aem.core.impl.autotranslate
Model for the auto-translate comparison page.
AutotranslateModelCompareModel() - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
AutotranslateModelCompareModel.TranslationResult - Class in com.composum.ai.aem.core.impl.autotranslate
 
AutoTranslateProperty(String, String, AITranslatePropertyWrapper, String, String, LiveRelationship, boolean) - 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.TranslationRunMessage - Class in com.composum.ai.aem.core.impl.autotranslate
A message from the translation run, displayable in the Test UI
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

backendId() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
backendsConfigurationServices - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
backendsService - Variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
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
 
bottombar__002d__template__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list
 
bottombar__002d__template__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.bottombar__002d__template__002e__html
 
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
 
bulkreplace__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.bulkreplace
 
bulkreplace__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.bulkreplace.bulkreplace__002e__html
 
BulkReplaceServlet - Class in com.composum.ai.aem.core.impl
Servlet with functionality for the bulk replace tool.
BulkReplaceServlet() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet
 
BulkReplaceServlet.Changed - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.Match - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.ReplacePageResponse - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.ReplaceRequest - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.SearchPageResponse - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.SearchParams - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.SummaryResponse - Class in com.composum.ai.aem.core.impl
 
BulkReplaceServlet.Target - Class in com.composum.ai.aem.core.impl
 
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
 

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 - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.CancelOrReenable
 
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
 
cancelledClass() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
cancelledClass() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
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
 
CERTAINLY_TRANSLATABLE_PROPERTIES - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
List of properties that should always be translated.
changed - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplacePageResponse
 
Changed() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.Changed
 
changeInheritance(Resource, String, AutoTranslateMergeService.CancelOrReenable) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
Cancels a translation for the specified property of the given resource, marking it as cancelled.
changeInheritance(Resource, String, AutoTranslateMergeService.CancelOrReenable) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
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
 
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
 
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
 
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
 
cleanupObsoleteKeys(AutoPageTranslateServiceImpl.PropertyToTranslate, ModifiableValueMap, LiveRelationship, AITranslatePropertyWrapper) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
The translator and so forth was previously saved on each property - remove that and just save it on the page.
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.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
 
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
 
comment() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
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
 
COMPONENT_TITLE_PROPERTIES - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
Heuristic set of properties that might give a recognizable title to the component.
ComponentCancellationHelper - Class in com.composum.ai.aem.core.impl
Wrapper around Resource that wraps operations around cancelling / reenabling inheritance.
ComponentCancellationHelper() - Constructor for class com.composum.ai.aem.core.impl.ComponentCancellationHelper
 
ComponentDescription() - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool.ComponentDescription
 
componentPath - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Changed
 
componentPath - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Match
 
componentPath - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Target
 
ComponentProperty(String, String) - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.ModifyPageReadTool.ComponentProperty
 
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
 
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
 
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
 
createExcerpt(String, Pattern, int) - Method in class com.composum.ai.aem.core.impl.BulkReplaceServlet
Creates an excerpt from the given text around the search term.
createExternalRequest(GPTChatRequest) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
Creates the external request.
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
 
createVersion - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 

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.GPTBackendsConfigurationServiceImpl
 
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, ValueMap) - 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.aem.core.impl.autotranslate.AutoTranslateConfig
 
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) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
descendantsStream(Resource) - Static method in class com.composum.ai.backend.slingbase.AIResourceUtil
Returns a stream that goes through all descendants of a resource, parents come before their children.
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 - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRunMessage
 
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
 
determineModel(GPTConfiguration, boolean) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
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.GPTBackendConfiguration
 
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.aem.core.impl.BulkReplaceServlet
Handles GET requests to stream search results: the second step that does the actual search.
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.AIConfigurationServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.backend.slingbase.ApproximateMarkdownServlet
 
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.aem.core.impl.BulkReplaceServlet
Handles POST requests for search and replace operations.
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.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() - Constructor for class com.composum.ai.backend.slingbase.EventStream
 
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
 
excerpt - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Changed
 
excerpt - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Match
 
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
 
findNextHigherCancellableComponent(Resource) - Static method in class com.composum.ai.aem.core.impl.ComponentCancellationHelper
Finds next higher cq:Component in the resource tree, or the cq:PageContent if that is the next higher component.
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
 
fromValue(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.PropertyFilter
 
fromValue(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.Scope
 
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
 
getAcceptedSource() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getAcceptedTranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getActiveBackends() - Method in interface com.composum.ai.backend.base.service.chat.GPTBackendsService
Returns a list of active backends.
getActiveBackends() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
getAdditionalInstructions() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
Optionally, additional instructions to add to the system prompt.
getAllModels() - Method in interface com.composum.ai.backend.base.service.chat.GPTBackendsService
List of all model names configured for the active backends, no matter from which backend.
getAllModels() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
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.
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
 
getAvailableModels() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel
 
getBackendList() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
getBackendNameFromPrefixedModel(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
getBackends() - Method in interface com.composum.ai.backend.base.service.chat.GPTBackendsConfigurationService
 
getBackends() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsConfigurationServiceImpl
 
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
 
getCalculatedComponentRowspan() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
Size of AutoTranslateMergeModel.AutoTranslateComponent.getCheckableProperties() times 3 + 1 since HTL cannot calculate :-(
getCancelPropertyName() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
For pages properties are cancelled individually.
getCheckableProperties() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
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
 
getComponentId() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
An unique id to identify the component in the HTML.
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.AutoTranslateMergeModel.AutoTranslateComponent
 
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.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
getComponentPath() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getComponentPathInPage() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
getComponentTitle() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
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, text etc.
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
getConfigurationForModel(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTBackendsService
Determines the backend a model is from.
getConfigurationForModel(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
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
 
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
 
getCurrentTimeMillis() - Method in class com.composum.ai.backend.base.service.chat.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.
getDefaultModel() - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigService
 
getDefaultModel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl
 
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() - Method in exception com.composum.ai.backend.base.service.GPTException.GPTUserNotificationException
 
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
 
getDiffsDstInsertionsMarked() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getDiffsHTML() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
getDiffsSrcInsertionsMarked() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
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.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
getError() - Method in class com.composum.ai.backend.base.service.chat.GPTCompletionCallback.GPTCompletionCollector
 
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).
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
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.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.
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
 
getLinkToComponent() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
getLinkToPageProperties() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
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.AutotranslateModelCompareModel.TranslationResult
 
getModel() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateRunModel
 
getModel() - Method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
If set, this determines the model to use.
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
 
getModel(GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
getModelNameInBackend(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTBackendsService
If the model is of the form backendId:modelname then this returns the modelname, otherwise returns the model as it is.
getModelNameInBackend(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
getModels() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
getModelsForBackend(String) - Method in interface com.composum.ai.backend.base.service.chat.GPTBackendsConfigurationService
 
getModelsForBackend(String) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTBackendsConfigurationServiceImpl
 
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
 
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
 
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
 
getOriginal() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getOriginalCopy() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
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.
getPageComponents() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
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
The path to the cq:Page, without jcr:content.
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
 
getParsedTargetLanguage() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
The actual textual representation of the target language, used with the model.
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.
getPayload() - Method in exception com.composum.ai.backend.base.service.GPTException.GPTUserNotificationException
 
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
 
getPropertyFilter(SlingHttpServletRequest) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
getPropertyName() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
getPropertyPathInComponent() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
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
 
getResults() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
Determine the translation results.
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
 
getScope(SlingHttpServletRequest) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
getSeconds() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel.TranslationResult
 
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
 
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
 
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
 
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
 
getTranslation() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel.TranslationResult
 
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.ChatCompletionResponse
Special response "ping" from Anthropic Claude that has no actual content.
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
 
getUnfilteredPropertiesSize() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
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() - Method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.PropertyFilter
 
getValue() - Method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.Scope
 
getValue(String) - Method in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.EmptyRequestParameterMap
 
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.
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
 
GPTBackendConfiguration - Annotation Type in com.composum.ai.backend.base.service.chat
Configuration for a generic LLM backend used by Composum AI.
GPTBackendsConfigurationService - Interface in com.composum.ai.backend.base.service.chat
A service that lists all backends usable with GPTChatCompletionService etc.
GPTBackendsConfigurationServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
Provides the backend configurations from OSGI.
GPTBackendsConfigurationServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTBackendsConfigurationServiceImpl
 
gptBackendsService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
GPTBackendsService - Interface in com.composum.ai.backend.base.service.chat
A service managing the backends for GPTChatCompletionService etc.
GPTBackendsServiceImpl - Class in com.composum.ai.backend.base.service.chat.impl
 
GPTBackendsServiceImpl() - Constructor for class com.composum.ai.backend.base.service.chat.impl.GPTBackendsServiceImpl
 
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(GPTConfiguration.AnswerType) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double, Integer) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double, Integer, List<GPTConfiguration.GPTContextInfo>) - Constructor for class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
GPTConfiguration(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(GPTConfiguration.AnswerType, String, GPTConfiguration.Mode, Boolean, Boolean, Double, Integer, List<GPTConfiguration.GPTContextInfo>, List<GPTTool>, String) - 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 - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
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, 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
 

H

hadInvalidOperation - Variable in class com.composum.ai.backend.slingbase.impl.HtmlToApproximateMarkdownServicePlugin.NonModifyingRequestWrapper
 
handleAcceptTranslation(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
Handles the "approve" operation of the servlet.
handleChangeInheritance(SlingHttpServletRequest, SlingHttpServletResponse, AutoTranslateMergeService.CancelOrReenable) - Method in class com.composum.ai.aem.core.impl.AemAITranslationMergeServlet
Handles the "cancelInheritance" operation of the servlet.
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.
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.
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.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.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_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
 
INHERITANCE_CANCELLED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.PropertyFilter
 
INHERITANCE_ENABLED - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.PropertyFilter
 
init() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel
 
init() - Method in class com.composum.ai.aem.core.impl.autotranslate.CompareModel
 
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.
isAutomaticallyTranslated(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
Checks whether this is an automatically translated resource.
isAutomaticallyTranslated(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
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
 
isBlueprintBroken() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
isCancelled - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
Whether the inheritance is cancelled for that property.
isCancelled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.AutoTranslateComponent
 
isCancelled() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
isCancelled(Resource, String, LiveRelationship) - Static method in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
isComponent(Resource) - Static method in class com.composum.ai.aem.core.impl.ComponentCancellationHelper
Checks whether a resource has a sling:resourceType that is of type cq:Component.
isContainer(Resource) - Static method in class com.composum.ai.aem.core.impl.ComponentCancellationHelper
Tries to guess whether the resource is actually a container (where inheritance cancelling is shallow only.) We guess this if the sling:resourceType has "cq:isContainer" true, or heuristics match: if it has a lonely "items" child or one of its children or childrens children is a component.
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(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.
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
Checks whether this is the name of an existing locale.
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
 
isOfNodeType(Resource, String) - Static method in class com.composum.ai.backend.slingbase.AIResourceUtil
Checks whether a resource is of a certain node type - be that jcr:primaryType or a mixin.
isOriginalAsWhenLastTranslating() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
isPage(Resource) - Static method in class com.composum.ai.aem.core.impl.ComponentCancellationHelper
 
isPageContent(Resource) - Static method in class com.composum.ai.aem.core.impl.ComponentCancellationHelper
 
isPageSuspended() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
If a whole page is suspended as a live copy then the jcr:content node has a cancelled relationship.
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
 
isProcessingNeeded() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
isProcessingNeeded(Resource) - Method in interface com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService
Checks whether there are any unmerged or unaccepted properties.
isProcessingNeeded(Resource) - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeServiceImpl
 
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.
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
 
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.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
 

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
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
 
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
 
link__002d__modal__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list
 
link__002d__modal__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.link__002d__modal__002e__html
 
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, 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.
makeRequest(String, GPTConfiguration) - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
makeRequest(Resource, List<String>, List<String>, Map<String, 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
 
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
If this is embedded into the additional instructions the translation will be aborted and the additional instructions will be wrapped into an exception which is caught and the instructions printed.
MARKER_DEBUG_OUTPUT_REQUEST - Static variable in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
If this is embedded into the request then the AI will not be called, but the (JSON) request that would be sent to the AI is given back as a result - put into the output stream or returned, depending on function.
MARKER_DEBUG_PRINT_REQUEST - Static variable in interface com.composum.ai.backend.base.service.chat.GPTChatCompletionService
If this is embedded into the request processing will be aborted and the whole request would be sent to the AI will be wrapped into an exception which is caught and the request is then printed.
Match() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.Match
 
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).
matches - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.SearchPageResponse
 
matches - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.SummaryResponse
 
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.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.aem.core.impl.autotranslate.AutoTranslateCaConfig
 
model() - Method in annotation type com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl.GPTDictationServiceConfig
 
models() - Method in annotation type com.composum.ai.backend.base.service.chat.GPTBackendConfiguration
 
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
 
newValue - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Changed
 
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.service.chat.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.
ofModel(String) - Static method in class com.composum.ai.backend.base.service.chat.GPTConfiguration
 
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
 
oldValue - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Changed
 
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"}]}
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"}}}
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
 
OPENAI_EMBEDDINGS_URL - Static variable in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
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
 
operation - Variable in class com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Diff
One of: INSERT, DELETE or EQUAL.
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.autotranslatemodelcompare - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemodelcompare
 
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.bulkreplace - package org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.tool.bulkreplace
 
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
 
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

page - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplacePageResponse
 
page - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
page - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.SearchPageResponse
 
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.
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
 
pages - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.SummaryResponse
 
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_COMPONENTPATH - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
Parameter that limits output to just that component - for specific reloading.
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_PROPERTY_FILTER - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
Parameter to show properties wrt.
PARAM_PROPERTYNAME - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
Parameter that limits output to just that property - for specific reloading.
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_SCOPE - Static variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
Parameter to show properties wrt.
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_CONFIGBASEPATH - Static variable in class com.composum.ai.backend.slingbase.AICreateServlet
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_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_PATH - Static variable in class com.composum.ai.aem.core.impl.SelectorUtils
Parameter defining the path to the resource we work on.
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_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_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_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.service.chat.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.
payload - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRunMessage
 
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.
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
 
POST__002e__html - Class in org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemodelcompare
 
POST__002e__html() - Constructor for class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemodelcompare.POST__002e__html
 
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
 
processingNeededClass() - Method in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.AutoTranslateProperty
 
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.
properties - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
property - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Changed
 
property - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Match
 
property - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.Target
 
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_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.
propertyName - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
 
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
 
published - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplacePageResponse
 
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.

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.service.chat
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.service.chat.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.
REENABLE - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.CancelOrReenable
 
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.bottombar__002d__template__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemerge.list.link__002d__modal__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.autotranslatemodelcompare.autotranslatemodelcompare__002e__html
 
render(PrintWriter, Bindings, Bindings, RenderContext) - Method in class org.apache.sling.scripting.sightly.apps.composum__002d__ai.components.autotranslatemodelcompare.POST__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.bulkreplace.bulkreplace__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 - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
Replacement(Resource, String, String) - Constructor for class com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl.Replacement
 
ReplacePageResponse() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplacePageResponse
 
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
 
ReplaceRequest() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
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.
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
 
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.
retrieveStream(String, SlingHttpServletRequest) - Method in class com.composum.ai.backend.slingbase.AICreateServlet
 
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
 
rootPath - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.SearchParams
 
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).
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
 
SearchPageResponse() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.SearchPageResponse
 
SearchParams() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.SearchParams
 
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.GPTTranslationServiceImpl
 
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_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
 
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.
setAcceptedSource(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
setAcceptedTranslation(String) - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
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
 
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
 
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
 
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
 
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
 
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.service.chat.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
 
sourceResource - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
The resource where we take the translation source from.
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".
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
 
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.
SummaryResponse() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.SummaryResponse
 
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

Target() - Constructor for class com.composum.ai.aem.core.impl.BulkReplaceServlet.Target
 
targetResource - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
The resource where we write the translation.
targets - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
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.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.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
 
term - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
term - Variable in class com.composum.ai.aem.core.impl.BulkReplaceServlet.SearchParams
 
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(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
 
toPlaintext(String) - Method in class com.composum.ai.aem.core.impl.BulkReplaceServlet
Use Jsoup to create plaintext from HTML.
toString() - Method in class com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper
 
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.AutoTranslateMergeModel.AutoTranslateComponent
 
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.AutoTranslateService.TranslationRunMessage
 
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.aem.core.impl.BulkReplaceServlet.ReplaceRequest
 
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
 
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(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.
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
 
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
 
TranslationResult(String, CompletableFuture<String>) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutotranslateModelCompareModel.TranslationResult
 
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
 
TranslationRunMessage(String, String) - Constructor for class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateService.TranslationRunMessage
 
translationService - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl
 
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

unfilteredPropertiesSize - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel
 
UNFINISHED_PROPERTIES - com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.Scope
 
UNLIMITED - Static variable in class com.composum.ai.backend.base.service.chat.RateLimiter
Does not limit in any way.
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.
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

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.AutoTranslateMergeModel.PropertyFilter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.Scope
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeService.CancelOrReenable
Returns the enum constant of this type with the specified name.
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.
values() - Static method in enum com.composum.ai.aem.core.impl.autotranslate.AutoTranslateMergeModel.PropertyFilter
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.AutoTranslateMergeModel.Scope
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.AutoTranslateMergeService.CancelOrReenable
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.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.
VIDEO_PATTERN - Static variable in class com.composum.ai.backend.slingbase.impl.ApproximateMarkdownServiceImpl
 

W

waitForLimit() - Method in class com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl
 
waitForLimit() - Method in class com.composum.ai.backend.base.service.chat.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.
waituntil - Variable in class com.composum.ai.aem.core.impl.autotranslate.AutoTranslateServiceImpl.TranslationRunImpl
 
whitespaceLenientPattern(String) - Method in class com.composum.ai.aem.core.impl.BulkReplaceServlet
A pattern that matches the search String case sensitively but being lenient on whitespaces: the pattern made from "a b c" should also match "a b\nc".
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
 
writeTo(PrintWriter) - Method in class com.composum.ai.backend.slingbase.EventStream
 
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