Interface OpenAiConstants


public interface OpenAiConstants
OpenAI constants
  • Field Details

    • HEADER_OPENAI_MODEL

      static final String HEADER_OPENAI_MODEL
      headers' name from response
      See Also:
    • HEADER_OPENAI_ORGANIZATION

      static final String HEADER_OPENAI_ORGANIZATION
      See Also:
    • HEADER_OPENAI_PROCESSING_MS

      static final String HEADER_OPENAI_PROCESSING_MS
      See Also:
    • HEADER_OPENAI_VERSION

      static final String HEADER_OPENAI_VERSION
      See Also:
    • HEADER_X_RATELIMIT_LIMIT_REQUESTS

      static final String 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

      static final String 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

      static final String 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

      static final String 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

      static final String 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

      static final String 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

      static final String HEADER_X_REQUEST_ID
      See Also: