Package xyz.felh.openai
Interface OpenAiConstants
public interface OpenAiConstants
OpenAI constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringheaders' name from responsestatic final Stringstatic final Stringstatic final Stringstatic final StringThe maximum number of requests that are permitted before exhausting the rate limit.static final StringThe maximum number of tokens that are permitted before exhausting the rate limit.static final StringThe remaining number of requests that are permitted before exhausting the rate limit.static final StringThe remaining number of tokens that are permitted before exhausting the rate limit.static final StringThe time until the rate limit (based on requests) resets to its initial state.static final StringThe time until the rate limit (based on tokens) resets to its initial state.static final String
-
Field Details
-
HEADER_OPENAI_MODEL
headers' name from response- See Also:
-
HEADER_OPENAI_ORGANIZATION
- See Also:
-
HEADER_OPENAI_PROCESSING_MS
- See Also:
-
HEADER_OPENAI_VERSION
- See Also:
-
HEADER_X_RATELIMIT_LIMIT_REQUESTS
The maximum number of requests that are permitted before exhausting the rate limit. Unit: RPM- See Also:
-
HEADER_X_RATELIMIT_LIMIT_TOKENS
The maximum number of tokens that are permitted before exhausting the rate limit. Unit: TPM- See Also:
-
HEADER_X_RATELIMIT_REMAINING_REQUESTS
The remaining number of requests that are permitted before exhausting the rate limit.- See Also:
-
HEADER_X_RATELIMIT_REMAINING_TOKENS
The remaining number of tokens that are permitted before exhausting the rate limit.- See Also:
-
HEADER_X_RATELIMIT_RESET_REQUESTS
The time until the rate limit (based on requests) resets to its initial state.- See Also:
-
HEADER_X_RATELIMIT_RESET_TOKENS
The time until the rate limit (based on tokens) resets to its initial state.- See Also:
-
HEADER_X_REQUEST_ID
- See Also:
-