Package ai.protify.core.internal.config
Enum AIConfigProperty
- java.lang.Object
-
- java.lang.Enum<AIConfigProperty>
-
- ai.protify.core.internal.config.AIConfigProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AIConfigProperty>
public enum AIConfigProperty extends java.lang.Enum<AIConfigProperty>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetDefaultValue(java.lang.Class<T> type)java.lang.StringgetName()java.lang.Class<?>getType()booleanisSecret()static AIConfigPropertyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AIConfigProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROVIDER_API_KEY
public static final AIConfigProperty PROVIDER_API_KEY
-
PROTIFY_API_KEY
public static final AIConfigProperty PROTIFY_API_KEY
-
API_KEY_URL
public static final AIConfigProperty API_KEY_URL
-
API_KEY_URL_TIMEOUT_MS
public static final AIConfigProperty API_KEY_URL_TIMEOUT_MS
-
API_KEY_CACHE_TTL_SECS
public static final AIConfigProperty API_KEY_CACHE_TTL_SECS
-
MODEL
public static final AIConfigProperty MODEL
-
MODEL_PROVIDER
public static final AIConfigProperty MODEL_PROVIDER
-
MODEL_EXPLICIT_VERSION
public static final AIConfigProperty MODEL_EXPLICIT_VERSION
-
REQUEST_TIMEOUT_MS
public static final AIConfigProperty REQUEST_TIMEOUT_MS
-
RETRY_POLICY
public static final AIConfigProperty RETRY_POLICY
-
RETRY_MAX_RETRIES
public static final AIConfigProperty RETRY_MAX_RETRIES
-
RETRY_DELAY_MS
public static final AIConfigProperty RETRY_DELAY_MS
-
RETRY_JITTER_MS
public static final AIConfigProperty RETRY_JITTER_MS
-
RETRY_MAX_DELAY_MS
public static final AIConfigProperty RETRY_MAX_DELAY_MS
-
RETRY_MAX_ELAPSED_TIME_MS
public static final AIConfigProperty RETRY_MAX_ELAPSED_TIME_MS
-
RETRY_BACKOFF_STRATEGY
public static final AIConfigProperty RETRY_BACKOFF_STRATEGY
-
RETRY_ON_HTTP_STATUS
public static final AIConfigProperty RETRY_ON_HTTP_STATUS
-
RETRY_ON_EXCEPTIONS
public static final AIConfigProperty RETRY_ON_EXCEPTIONS
-
RETRY_RESPECT_RETRY_AFTER
public static final AIConfigProperty RETRY_RESPECT_RETRY_AFTER
-
RESPONSE_CACHE_MAX_ENTRIES
public static final AIConfigProperty RESPONSE_CACHE_MAX_ENTRIES
-
RESPONSE_CACHE_TTL_SECS
public static final AIConfigProperty RESPONSE_CACHE_TTL_SECS
-
OVERRIDE_PIPELINE_CONFIG
public static final AIConfigProperty OVERRIDE_PIPELINE_CONFIG
-
MAX_OUTPUT_TOKENS
public static final AIConfigProperty MAX_OUTPUT_TOKENS
-
TEMPERATURE
public static final AIConfigProperty TEMPERATURE
-
TOP_P
public static final AIConfigProperty TOP_P
-
TOP_K
public static final AIConfigProperty TOP_K
-
REASONING_EFFORT
public static final AIConfigProperty REASONING_EFFORT
-
INSTRUCTIONS
public static final AIConfigProperty INSTRUCTIONS
-
PRETTY_PRINT_JSON
public static final AIConfigProperty PRETTY_PRINT_JSON
-
LOG_REQUESTS
public static final AIConfigProperty LOG_REQUESTS
-
LOG_TRUNCATE_LARGE_INPUT
public static final AIConfigProperty LOG_TRUNCATE_LARGE_INPUT
-
LOG_RESPONSES
public static final AIConfigProperty LOG_RESPONSES
-
REGION
public static final AIConfigProperty REGION
-
PROJECT_ID
public static final AIConfigProperty PROJECT_ID
-
RESOURCE_NAME
public static final AIConfigProperty RESOURCE_NAME
-
DEPLOYMENT_NAME
public static final AIConfigProperty DEPLOYMENT_NAME
-
API_VERSION
public static final AIConfigProperty API_VERSION
-
AWS_ACCESS_KEY_ID
public static final AIConfigProperty AWS_ACCESS_KEY_ID
-
AWS_SECRET_ACCESS_KEY
public static final AIConfigProperty AWS_SECRET_ACCESS_KEY
-
AWS_SESSION_TOKEN
public static final AIConfigProperty AWS_SESSION_TOKEN
-
-
Method Detail
-
values
public static AIConfigProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AIConfigProperty c : AIConfigProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AIConfigProperty valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
-
isSecret
public boolean isSecret()
-
getDefaultValue
public <T> T getDefaultValue(java.lang.Class<T> type)
-
getType
public java.lang.Class<?> getType()
-
-