Expand description
Own namespace of the module.
Modulesยง
- administration_
shared - Structures shared across the Administration API endpoints (Users, Projects, Invites, API Keys, Rate Limits).
- assistants_
shared - Structures shared across the Assistants API, including Assistants, Threads, Messages, Runs, and Steps.
- audio
- Structures related to audio transcription and translation.
- audit_
logs_ shared - Structures related to Audit Logs API endpoints.
- batch_
shared - Structures shared across the Batch API.
- chat_
shared - This module defines shared data structures and components used across various
OpenAIchat-related API endpoints. It includes definitions for chat completion requests, messages, content parts, and tool-related structures. - common
- Defines common data structures (components) used across various
OpenAIAPI responses and requests. Based on the components/schemas section of theOpenAPIspecification. - completions_
legacy - Structures related to the legacy Completions API.
- embeddings
- Structures related to embeddings, representing vector representations of text.
- embeddings_
request - Request structures for embeddings API
- files
- Structures related to file objects used across the API.
- fine_
tuning_ shared - Structures shared across the Fine-tuning API, including jobs, checkpoints, and events.
- images
- Structures related to image generation and manipulation responses.
- input
- Structures related to input content parts and messages.
- models
- Structures related to model information.
- moderations
- Structures related to content moderation results.
- output
- Structures related to output items generated by the model, such as messages, tool calls, and annotations.
- query
- Defines common query parameters used for listing resources (pagination, sorting).
- realtime_
shared - Structures shared across the Realtime API for session management and event handling.
- responses
- This module defines the data structures for requests and responses related to the
OpenAIResponses API. It includes the mainCreateResponseRequestfor generating model responses, theResponseObjectobject representing a generated response, and various stream event structures for real-time response generation. - tools
- This module defines various tool-related structures used across the
OpenAIAPI. - uploads
- Structures related to the Uploads API for handling large file uploads in parts.
- usage_
shared - Structures related to API Usage and Costs endpoints.
- vector_
stores_ shared - Structures related to Vector Stores, including files, batches, and search results.