Constant Field Values
Contents
com.composum.*
-
com.composum.ai.aem.core.impl.AemContentCreationSelectorsServlet Modifier and Type Constant Field Value public static final String
PATH_CONTENTSELECTORS
"/conf/composum-ai/settings/dialogs/contentcreation/contentselectors.json"
-
com.composum.ai.aem.core.impl.SelectorUtils Modifier and Type Constant Field Value public static final String
PARAMETER_PATH
"path"
public static final String
PLACEHOLDER_TARGETLANGUAGE
"TARGETLANGUAGE"
-
com.composum.ai.aem.core.impl.autotranslate.AITranslatePropertyWrapper Modifier and Type Constant Field Value public static final String
AI_MANUAL_CHANGE_SUFFIX
"_manualChange"
public static final String
AI_ORIGINAL_SUFFIX
"_original"
public static final String
AI_PREFIX
"ai_"
public static final String
AI_TRANSLATED_SUFFIX
"_translated"
public static final String
AI_TRANSLATION_ERRORMARKER
"ai_translationError"
public static final String
LC_PREFIX
"lc_"
public static final String
PROPERTY_AI_ADDINSTRUCTIONS
"ai_additionalInstructions"
public static final String
PROPERTY_AI_TRANSLATED_BY
"ai_translatedBy"
public static final String
PROPERTY_AI_TRANSLATED_DATE
"ai_translated"
public static final String
PROPERTY_AI_TRANSLATED_MODEL
"ai_translatedModel"
-
com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl Modifier and Type Constant Field Value protected final String
DEFAULT_TRANSLATION_RULE_PATTERN
"Translate \'{0}\' as \'{1}\'."
public static final String
MARKER_DEBUG_ADDITIONAL_INSTRUCTIONS
"DEBUGADDINSTRUCTIONS"
-
com.composum.ai.aem.core.impl.autotranslate.AutoTranslateConfigServiceImpl Modifier and Type Constant Field Value protected static final int
HUGE_TRESHOLD
3000
-
com.composum.ai.aem.core.impl.autotranslate.AutoTranslateListModel Modifier and Type Constant Field Value public static final String
SUFFIX_TRANSLATECOPY
"_aitranslate_bak"
-
com.composum.ai.aem.core.impl.autotranslate.CompareModel Modifier and Type Constant Field Value public static final String
PARAM_PATH
"path"
-
com.composum.ai.aem.core.impl.autotranslate.rollout.AutoTranslateLiveActionImpl Modifier and Type Constant Field Value public static final String
NAME
"composumAiAutoTranslate"
-
com.composum.ai.backend.base.service.chat.GPTChatMessagesTemplate Modifier and Type Constant Field Value public static final String
PLACEHOLDER_MARKER
"${"
public static final String
TEMPLATEDIR
"chattemplates/chatgpt/"
public static final String
TEMPLATESUFFIX
".txt"
-
com.composum.ai.backend.base.service.chat.impl.GPTChatCompletionServiceImpl Modifier and Type Constant Field Value protected static final String
CHAT_COMPLETION_URL
"https://api.openai.com/v1/chat/completions"
public static final String
DEFAULT_EMBEDDINGS_MODEL
"text-embedding-3-small"
public static final String
DEFAULT_HIGH_INTELLIGENCE_MODEL
"gpt-4o"
public static final String
DEFAULT_IMAGE_MODEL
"gpt-4o"
public static final String
DEFAULT_MODEL
"gpt-4o-mini"
protected static final int
DEFAULTVALUE_CONNECTIONTIMEOUT
30
protected static final int
DEFAULTVALUE_REQUESTS_PER_DAY
3000
protected static final int
DEFAULTVALUE_REQUESTS_PER_HOUR
1000
protected static final int
DEFAULTVALUE_REQUESTS_PER_MINUTE
100
protected static final int
DEFAULTVALUE_REQUESTTIMEOUT
300
public static final int
MAXTRIES
5
public static final String
OPENAI_API_KEY
"OPENAI_API_KEY"
public static final String
OPENAI_API_KEY_SYSPROP
"openai.api.key"
protected static final String
OPENAI_EMBEDDINGS_URL
"https://api.openai.com/v1/embeddings"
public static final String
TRUNCATE_MARKER
" ... (truncated) ... "
-
com.composum.ai.backend.base.service.chat.impl.GPTContentCreationServiceImpl Modifier and Type Constant Field Value protected static final int
MAXTOKENS
2800
public static final String
PLACEHOLDER_TEXT
"text"
public static final String
PLACEHOLDER_WORDCOUNTLIMIT
"wordcountlimit"
public static final String
TEMPLATE_CHATPROMPTONTEXT
"chatpromptontext"
public static final String
TEMPLATE_MAKEDESCRIPTION
"makedescription"
public static final String
TEMPLATE_MAKEKEYWORDS
"makekeywords"
public static final String
TEMPLATE_PROMPTONTEXT
"promptontext"
-
com.composum.ai.backend.base.service.chat.impl.GPTDictationServiceImpl Modifier and Type Constant Field Value protected static final int
DEFAULT_MAX_REQUEST_SIZE
5000000
protected static final String
DEFAULT_MODEL
"whisper-1"
protected static final int
DEFAULTVALUE_REQUESTS_PER_DAY
300
protected static final int
DEFAULTVALUE_REQUESTS_PER_HOUR
100
protected static final int
DEFAULTVALUE_REQUESTS_PER_MINUTE
30
public static final String
URL_OPENAI_TRANSCRIPTIONS
"https://api.openai.com/v1/audio/transcriptions"
-
com.composum.ai.backend.base.service.chat.impl.GPTTranslationServiceImpl Modifier and Type Constant Field Value public static final String
LASTID
"424242"
public static final String
MULTITRANSLATION_SEPARATOR_END
" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"
public static final String
MULTITRANSLATION_SEPARATOR_START
"\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% "
public static final String
TEMPLATE_SINGLETRANSLATION
"singletranslation"
-
com.composum.ai.backend.slingbase.AIConfigurationServlet Modifier and Type Constant Field Value public static final String
PARAM_EDITORURL
"editorUrl"
-
com.composum.ai.backend.slingbase.AICreateServlet Modifier and Type Constant Field Value public static final String
PARAMETER_CHAT
"chat"
public static final String
PARAMETER_CONFIGBASEPATH
"configBasePath"
public static final String
PARAMETER_INPUT_IMAGE_PATH
"inputImagePath"
public static final String
PARAMETER_MAXTOKENS
"maxtokens"
public static final String
PARAMETER_PROMPT
"prompt"
public static final String
PARAMETER_RICHTEXT
"richText"
public static final String
PARAMETER_SOURCE
"source"
public static final String
PARAMETER_SOURCEPATH
"sourcePath"
public static final String
PARAMETER_STREAMID
"streamid"
public static final String
PARAMETER_TEXTLENGTH
"textLength"
-
com.composum.ai.backend.slingbase.AIDictationServlet Modifier and Type Constant Field Value public static final String
PARAMETER_AUDIO_STREAM
"audioStream"
public static final String
PARAMETER_CONTENT_TYPE
"contentType"
public static final String
PARAMETER_LANGUAGE
"language"
public static final String
PARAMETER_PROMPT
"prompt"
-
com.composum.ai.backend.slingbase.ApproximateMarkdownService Modifier and Type Constant Field Value public static final String
HEADER_IMAGEPATH
"imagepath"
-
com.composum.ai.backend.slingbase.ApproximateMarkdownServlet Modifier and Type Constant Field Value public static final String
PARAM_URL
"fromurl"
-
com.composum.ai.backend.slingbase.EventStream Modifier and Type Constant Field Value public static final String
QUEUEEND
":queueend"
-
com.composum.ai.backend.slingbase.experimential.AITemplatingServlet Modifier and Type Constant Field Value public static final String
PARAM_ADDITIONAL_PROMPT
"additionalPrompt"
public static final String
PARAM_ADDITIONAL_URLS
"additionalUrls"
public static final String
PARAM_BACKGROUND_INFORMATION
"backgroundInformation"
public static final String
PARAM_RESOURCE_PATH
"resourcePath"
-
com.composum.ai.backend.slingbase.experimential.impl.AITemplatingServiceImpl Modifier and Type Constant Field Value protected static final String
PREFIX_INFORMATIONALLY
"informationally#"
protected static final String
PREFIX_PROMPT
"Create a text for a web page that is based on the retrieved information according to the following instructions which are separated into several parts. The separators like \"%%%%%%%% (some ID to repeat) %%%%%%%%\" should be printed as they are, to structure both the output and the instructions.\n\n"
public static final String
PROPERTY_PREFIX_PROMPT
"ai_prompt_"
protected static final String
SYSMSG
"You are a professional content writer / editor.\nGenerate text according to the prompt, and then print it without any additional comments.\nDo not mention the prompt or the text or the act of text retrieval.\nDo NEVER EVER repeat the prompt!\nWrite your responses so that they could appear as they are in a text, without any comments or discussion."
protected static final String
THE_END_COMMAND
"Print as plain text: \'end of page\' in parentheses"
-
com.composum.ai.backend.slingbase.impl.MarkdownSlingCacheImpl Modifier and Type Constant Field Value public static final String
PROPERTY_MARKDOWN
"ai_approximateMarkdown"
public static final String
SUFFIX_PAGE_MODIFICATION_DATE
"PageModificationDate"
-
com.composum.ai.backend.slingbase.impl.RAGServlet Modifier and Type Constant Field Value public static final String
PARAM_EMBEDDINGORDER
"embeddingOrder"
public static final String
PARAM_LIMIT
"limit"
public static final String
PARAM_LIMITRAGTEXTS
"limitRagTexts"
public static final String
PARAM_PREPROCESS_QUERY
"preprocessQuery"
public static final String
PARAM_QUERY
"query"
-
com.composum.ai.backend.slingbase.model.GPTPermissionInfo Modifier and Type Constant Field Value public static final String
SERVICE_CATEGORIZE
"categorize"
public static final String
SERVICE_CREATE
"create"
public static final String
SERVICE_SIDEPANEL
"sidepanel"
public static final String
SERVICE_TRANSLATE
"translate"
-
com.composum.ai.composum.bundle.AIDialogServlet Modifier and Type Constant Field Value public static final String
SERVLET_PATH
"/bin/cpm/ai/dialog"
-
com.composum.ai.composum.bundle.AIServlet Modifier and Type Constant Field Value public static final String
PARAMETER_CHAT
"chat"
public static final String
PARAMETER_CONFIGBASEPATH
"configBasePath"
public static final String
PARAMETER_INPUT_IMAGE_PATH
"inputImagePath"
public static final String
PARAMETER_MAXTOKENS
"maxtokens"
public static final String
PARAMETER_MAXWORDS
"maxwords"
public static final String
PARAMETER_PATH
"path"
public static final String
PARAMETER_PROMPT
"prompt"
public static final String
PARAMETER_PROPERTY
"property"
public static final String
PARAMETER_RICHTEXT
"richText"
public static final String
PARAMETER_STREAMID
"streamid"
public static final String
PARAMETER_STREAMING
"streaming"
public static final String
PARAMETER_TEXT
"text"
public static final String
RESULTKEY
"result"
public static final String
RESULTKEY_DESCRIPTION
"description"
public static final String
RESULTKEY_FINISHREASON
"finishreason"
public static final String
RESULTKEY_KEYWORDS
"keywords"
public static final String
RESULTKEY_STREAMID
"streamid"
public static final String
RESULTKEY_TEXT
"text"
public static final String
RESULTKEY_TRANSLATION
"translation"
public static final String
SERVICE_KEY
"pages/content/ai"
-
com.composum.ai.composum.bundle.EventStream Modifier and Type Constant Field Value public static final String
QUEUEEND
":queueend"
-
com.composum.ai.composum.bundle.model.LabelExtensionModel Modifier and Type Constant Field Value public static final String
ATTRIBUTE_AIVISIBLE
"aivisible"