Constant Field Values
Contents
com.composum.*
-
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"