Expand description
Constants used throughout the SDK Constants used throughout the OpenAI API SDK
This module centralizes all constant values used across the SDK to reduce duplication and make maintenance easier.
Modules§
- endpoints
- Common API endpoints
- error_
messages - Common error messages
- headers
- Common HTTP header names
- query_
params - Common query parameter names
- sdk
- SDK information
Constants§
- API_
VERSION_ PREFIX - API version path prefix
- CONTENT_
TYPE_ JSON - Content type for JSON requests
- OPENAI_
API_ BASE_ URL - Default
OpenAIAPI base URL - OPENAI_
BETA_ ASSISTANTS OpenAIBeta header value for assistants API