openai 0.98.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/openai/models/admin/organization/usage_audio_speeches_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_code_interpreter_sessions_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_completions_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_costs_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_embeddings_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_file_search_calls_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_images_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_moderations_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_vector_stores_response.rb +16 -3
- data/lib/openai/models/admin/organization/usage_web_search_calls_response.rb +16 -3
- data/lib/openai/models/all_models.rb +42 -0
- data/lib/openai/models/audio/speech_create_params.rb +6 -0
- data/lib/openai/models/audio/voice.rb +75 -0
- data/lib/openai/models/audio/voice_create_params.rb +217 -0
- data/lib/openai/models/beta/agent_create_params.rb +0 -3
- data/lib/openai/models/beta/agent_update_params.rb +0 -3
- data/lib/openai/models/beta/agents/session_create_params.rb +0 -3
- data/lib/openai/models/beta/agents/session_update_params.rb +0 -3
- data/lib/openai/models/beta/beta_response.rb +220 -0
- data/lib/openai/models/beta/beta_responses_client_event.rb +220 -0
- data/lib/openai/models/beta/beta_tool.rb +3 -9
- data/lib/openai/models/beta/response_compact_params.rb +220 -0
- data/lib/openai/models/beta/response_create_params.rb +220 -0
- data/lib/openai/models/chat/chat_completion_audio_param.rb +6 -3
- data/lib/openai/models/chat_model.rb +178 -0
- data/lib/openai/models/image.rb +14 -14
- data/lib/openai/models/image_create_variation_params.rb +7 -7
- data/lib/openai/models/image_edit_params.rb +76 -87
- data/lib/openai/models/image_generate_params.rb +51 -62
- data/lib/openai/models/image_model.rb +5 -3
- data/lib/openai/models/realtime/realtime_audio_config_output.rb +9 -6
- data/lib/openai/models/realtime/realtime_response_create_audio_output.rb +9 -6
- data/lib/openai/models/responses/response_compact_params.rb +220 -0
- data/lib/openai/models/responses/tool.rb +3 -9
- data/lib/openai/models/responses_model.rb +42 -0
- data/lib/openai/models/webhooks/agent_session_action_required_webhook_event.rb +109 -0
- data/lib/openai/models/webhooks/agent_session_created_webhook_event.rb +106 -0
- data/lib/openai/models/webhooks/agent_session_failed_webhook_event.rb +86 -0
- data/lib/openai/models/webhooks/agent_session_idle_webhook_event.rb +86 -0
- data/lib/openai/models/webhooks/agent_session_in_progress_webhook_event.rb +86 -0
- data/lib/openai/models/webhooks/unwrap_webhook_event.rb +18 -2
- data/lib/openai/models/webhooks/webhook_create_params.rb +5 -0
- data/lib/openai/models/webhooks/webhook_test_params.rb +5 -0
- data/lib/openai/models/webhooks/webhook_update_params.rb +5 -0
- data/lib/openai/resources/audio/speech.rb +2 -0
- data/lib/openai/resources/audio/voices.rb +53 -0
- data/lib/openai/resources/audio.rb +5 -0
- data/lib/openai/resources/images.rb +71 -103
- data/lib/openai/resources/webhooks.rb +1 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +8 -0
- data/rbi/openai/models/admin/organization/usage_audio_speeches_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_audio_transcriptions_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_completions_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_costs_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_embeddings_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_file_search_calls_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_images_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_moderations_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_vector_stores_response.rbi +19 -2
- data/rbi/openai/models/admin/organization/usage_web_search_calls_response.rbi +19 -2
- data/rbi/openai/models/audio/speech_create_params.rbi +6 -0
- data/rbi/openai/models/audio/voice.rbi +111 -0
- data/rbi/openai/models/audio/voice_create_params.rbi +321 -0
- data/rbi/openai/models/beta/agent_create_params.rbi +0 -3
- data/rbi/openai/models/beta/agent_update_params.rbi +0 -3
- data/rbi/openai/models/beta/agents/session_create_params.rbi +0 -3
- data/rbi/openai/models/beta/agents/session_update_params.rbi +0 -3
- data/rbi/openai/models/beta/beta_tool.rbi +3 -9
- data/rbi/openai/models/chat/chat_completion_audio_param.rbi +6 -3
- data/rbi/openai/models/image.rbi +14 -14
- data/rbi/openai/models/image_create_variation_params.rbi +6 -6
- data/rbi/openai/models/image_edit_params.rbi +61 -82
- data/rbi/openai/models/image_generate_params.rbi +30 -61
- data/rbi/openai/models/image_model.rbi +3 -3
- data/rbi/openai/models/realtime/realtime_audio_config_output.rbi +9 -6
- data/rbi/openai/models/realtime/realtime_response_create_audio_output.rbi +9 -6
- data/rbi/openai/models/responses/tool.rbi +3 -9
- data/rbi/openai/models/webhooks/agent_session_action_required_webhook_event.rbi +222 -0
- data/rbi/openai/models/webhooks/agent_session_created_webhook_event.rbi +202 -0
- data/rbi/openai/models/webhooks/agent_session_failed_webhook_event.rbi +151 -0
- data/rbi/openai/models/webhooks/agent_session_idle_webhook_event.rbi +151 -0
- data/rbi/openai/models/webhooks/agent_session_in_progress_webhook_event.rbi +151 -0
- data/rbi/openai/models/webhooks/unwrap_webhook_event.rbi +7 -1
- data/rbi/openai/models/webhooks/webhook_create_params.rbi +20 -0
- data/rbi/openai/models/webhooks/webhook_test_params.rbi +20 -0
- data/rbi/openai/models/webhooks/webhook_update_params.rbi +20 -0
- data/rbi/openai/resources/audio/speech.rbi +2 -0
- data/rbi/openai/resources/audio/voices.rbi +49 -0
- data/rbi/openai/resources/audio.rbi +4 -0
- data/rbi/openai/resources/images.rbi +69 -103
- data/rbi/openai/resources/webhooks.rbi +5 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_completions_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_costs_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_file_search_calls_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_images_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_moderations_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +20 -3
- data/sig/openai/models/admin/organization/usage_web_search_calls_response.rbs +20 -3
- data/sig/openai/models/audio/speech_create_params.rbs +4 -0
- data/sig/openai/models/audio/voice.rbs +70 -0
- data/sig/openai/models/audio/voice_create_params.rbs +203 -0
- data/sig/openai/models/beta/agent_create_params.rbs +1 -5
- data/sig/openai/models/beta/agent_update_params.rbs +1 -5
- data/sig/openai/models/beta/agents/session_create_params.rbs +1 -5
- data/sig/openai/models/beta/agents/session_update_params.rbs +1 -5
- data/sig/openai/models/beta/beta_tool.rbs +3 -9
- data/sig/openai/models/chat/chat_completion_audio_param.rbs +4 -2
- data/sig/openai/models/image.rbs +21 -21
- data/sig/openai/models/image_create_variation_params.rbs +4 -4
- data/sig/openai/models/image_edit_params.rbs +46 -60
- data/sig/openai/models/image_generate_params.rbs +23 -45
- data/sig/openai/models/image_model.rbs +6 -6
- data/sig/openai/models/realtime/realtime_audio_config_output.rbs +9 -6
- data/sig/openai/models/realtime/realtime_response_create_audio_output.rbs +9 -6
- data/sig/openai/models/responses/tool.rbs +3 -9
- data/sig/openai/models/webhooks/agent_session_action_required_webhook_event.rbs +114 -0
- data/sig/openai/models/webhooks/agent_session_created_webhook_event.rbs +115 -0
- data/sig/openai/models/webhooks/agent_session_failed_webhook_event.rbs +89 -0
- data/sig/openai/models/webhooks/agent_session_idle_webhook_event.rbs +89 -0
- data/sig/openai/models/webhooks/agent_session_in_progress_webhook_event.rbs +89 -0
- data/sig/openai/models/webhooks/unwrap_webhook_event.rbs +6 -1
- data/sig/openai/models/webhooks/webhook_create_params.rbs +10 -0
- data/sig/openai/models/webhooks/webhook_test_params.rbs +10 -0
- data/sig/openai/models/webhooks/webhook_update_params.rbs +10 -0
- data/sig/openai/resources/audio/voices.rbs +14 -0
- data/sig/openai/resources/audio.rbs +2 -0
- data/sig/openai/resources/webhooks.rbs +6 -1
- metadata +25 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module OpenAI
|
|
4
|
+
module Models
|
|
5
|
+
module Audio
|
|
6
|
+
# @see OpenAI::Resources::Audio::Voices#create
|
|
7
|
+
class Voice < OpenAI::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# The voice identifier, which can be referenced in API endpoints.
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute created_at
|
|
15
|
+
# The Unix timestamp (in seconds) for when the voice was created.
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :created_at, Integer
|
|
19
|
+
|
|
20
|
+
# @!attribute name
|
|
21
|
+
# The name of the voice.
|
|
22
|
+
#
|
|
23
|
+
# @return [String]
|
|
24
|
+
required :name, String
|
|
25
|
+
|
|
26
|
+
# @!attribute object
|
|
27
|
+
# The object type, which is always `audio.voice`.
|
|
28
|
+
#
|
|
29
|
+
# @return [Symbol, :"audio.voice"]
|
|
30
|
+
required :object, const: :"audio.voice"
|
|
31
|
+
|
|
32
|
+
# @!attribute type
|
|
33
|
+
# How the voice was created. Voices created from text prompts are supported only
|
|
34
|
+
# in Live.
|
|
35
|
+
#
|
|
36
|
+
# @return [Symbol, OpenAI::Models::Audio::Voice::Type]
|
|
37
|
+
required :type, enum: -> { OpenAI::Audio::Voice::Type }
|
|
38
|
+
|
|
39
|
+
# @!method initialize(id:, created_at:, name:, type:, object: :"audio.voice")
|
|
40
|
+
# A custom voice that can be used for audio output. Voices created from text
|
|
41
|
+
# prompts are supported only in Live.
|
|
42
|
+
#
|
|
43
|
+
# @param id [String]
|
|
44
|
+
# The voice identifier, which can be referenced in API endpoints.
|
|
45
|
+
#
|
|
46
|
+
# @param created_at [Integer]
|
|
47
|
+
# The Unix timestamp (in seconds) for when the voice was created.
|
|
48
|
+
#
|
|
49
|
+
# @param name [String]
|
|
50
|
+
# The name of the voice.
|
|
51
|
+
#
|
|
52
|
+
# @param type [Symbol, OpenAI::Models::Audio::Voice::Type]
|
|
53
|
+
# How the voice was created. Voices created from text prompts are supported only
|
|
54
|
+
# in Live.
|
|
55
|
+
#
|
|
56
|
+
# @param object [Symbol, :"audio.voice"]
|
|
57
|
+
# The object type, which is always `audio.voice`.
|
|
58
|
+
|
|
59
|
+
# How the voice was created. Voices created from text prompts are supported only
|
|
60
|
+
# in Live.
|
|
61
|
+
#
|
|
62
|
+
# @see OpenAI::Models::Audio::Voice#type
|
|
63
|
+
module Type
|
|
64
|
+
extend OpenAI::Internal::Type::Enum
|
|
65
|
+
|
|
66
|
+
AUDIO_SAMPLE = :audio_sample
|
|
67
|
+
PROMPT = :prompt
|
|
68
|
+
|
|
69
|
+
# @!method self.values
|
|
70
|
+
# @return [Array<Symbol>]
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module OpenAI
|
|
4
|
+
module Models
|
|
5
|
+
module Audio
|
|
6
|
+
# @see OpenAI::Resources::Audio::Voices#create
|
|
7
|
+
class VoiceCreateParams < OpenAI::Internal::Type::BaseModel
|
|
8
|
+
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include OpenAI::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute body
|
|
12
|
+
# Creates a voice from a consent recording and an audio sample. Requires
|
|
13
|
+
# multipart/form-data.
|
|
14
|
+
#
|
|
15
|
+
# @return [OpenAI::Models::Audio::VoiceCreateParams::Body::AudioSample, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt]
|
|
16
|
+
required :body, union: -> { OpenAI::Audio::VoiceCreateParams::Body }
|
|
17
|
+
|
|
18
|
+
# @!method initialize(body:, request_options: {})
|
|
19
|
+
# @param body [OpenAI::Models::Audio::VoiceCreateParams::Body::AudioSample, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt]
|
|
20
|
+
# Creates a voice from a consent recording and an audio sample. Requires
|
|
21
|
+
# multipart/form-data.
|
|
22
|
+
#
|
|
23
|
+
# @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
|
|
24
|
+
|
|
25
|
+
# Creates a voice from a consent recording and an audio sample. Requires
|
|
26
|
+
# multipart/form-data.
|
|
27
|
+
module Body
|
|
28
|
+
extend OpenAI::Internal::Type::Union
|
|
29
|
+
|
|
30
|
+
discriminator :type
|
|
31
|
+
|
|
32
|
+
# @api private
|
|
33
|
+
def self.resolve_variant(value, state: nil)
|
|
34
|
+
if value.is_a?(Hash) && !value.key?(:type) && !value.key?("type")
|
|
35
|
+
OpenAI::Audio::VoiceCreateParams::Body::AudioSample
|
|
36
|
+
else
|
|
37
|
+
super
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
private_class_method :resolve_variant
|
|
42
|
+
|
|
43
|
+
# Creates a voice from a consent recording and an audio sample. Requires multipart/form-data.
|
|
44
|
+
variant :audio_sample, -> { OpenAI::Audio::VoiceCreateParams::Body::AudioSample }
|
|
45
|
+
|
|
46
|
+
# Creates a synthetic voice from a text description. Supports application/json or multipart/form-data.
|
|
47
|
+
variant :prompt, -> { OpenAI::Audio::VoiceCreateParams::Body::Prompt }
|
|
48
|
+
|
|
49
|
+
class AudioSample < OpenAI::Internal::Type::BaseModel
|
|
50
|
+
# @!attribute audio_sample
|
|
51
|
+
# The sample audio recording file. Maximum size is 10 MiB.
|
|
52
|
+
#
|
|
53
|
+
# Supported MIME types: `audio/mpeg`, `audio/wav`, `audio/x-wav`, `audio/ogg`,
|
|
54
|
+
# `audio/aac`, `audio/flac`, `audio/webm`, `audio/mp4`.
|
|
55
|
+
#
|
|
56
|
+
# `String`, `StringIO`, and pathless `IO` inputs are sent with generic upload
|
|
57
|
+
# metadata. Use `OpenAI::FilePart` when you need to override the filename or
|
|
58
|
+
# content type.
|
|
59
|
+
#
|
|
60
|
+
# @return [Pathname, StringIO, IO, String, OpenAI::FilePart]
|
|
61
|
+
required :audio_sample, OpenAI::Internal::Type::FileInput
|
|
62
|
+
|
|
63
|
+
# @!attribute consent
|
|
64
|
+
# The consent recording ID (for example, `cons_1234`).
|
|
65
|
+
#
|
|
66
|
+
# @return [String]
|
|
67
|
+
required :consent, String
|
|
68
|
+
|
|
69
|
+
# @!attribute name
|
|
70
|
+
# The name of the new voice.
|
|
71
|
+
#
|
|
72
|
+
# @return [String]
|
|
73
|
+
required :name, String
|
|
74
|
+
|
|
75
|
+
# @!attribute type
|
|
76
|
+
# The voice creation method. Defaults to `audio_sample` when omitted.
|
|
77
|
+
#
|
|
78
|
+
# @return [Symbol, OpenAI::Models::Audio::VoiceCreateParams::Body::AudioSample::Type, nil]
|
|
79
|
+
optional :type, enum: -> { OpenAI::Audio::VoiceCreateParams::Body::AudioSample::Type }
|
|
80
|
+
|
|
81
|
+
# @!method initialize(audio_sample:, consent:, name:, type: nil)
|
|
82
|
+
# Creates a voice from a consent recording and an audio sample. Requires
|
|
83
|
+
# multipart/form-data.
|
|
84
|
+
#
|
|
85
|
+
# @param audio_sample [Pathname, StringIO, IO, String, OpenAI::FilePart]
|
|
86
|
+
# The sample audio recording file. Maximum size is 10 MiB.
|
|
87
|
+
#
|
|
88
|
+
# Supported MIME types: `audio/mpeg`, `audio/wav`, `audio/x-wav`, `audio/ogg`,
|
|
89
|
+
# `audio/aac`, `audio/flac`, `audio/webm`, `audio/mp4`.
|
|
90
|
+
#
|
|
91
|
+
# `String`, `StringIO`, and pathless `IO` inputs are sent with generic upload
|
|
92
|
+
# metadata. Use `OpenAI::FilePart` when you need to override the filename or
|
|
93
|
+
# content type.
|
|
94
|
+
#
|
|
95
|
+
# @param consent [String]
|
|
96
|
+
# The consent recording ID (for example, `cons_1234`).
|
|
97
|
+
#
|
|
98
|
+
# @param name [String]
|
|
99
|
+
# The name of the new voice.
|
|
100
|
+
#
|
|
101
|
+
# @param type [Symbol, OpenAI::Models::Audio::VoiceCreateParams::Body::AudioSample::Type]
|
|
102
|
+
# The voice creation method. Defaults to `audio_sample` when omitted.
|
|
103
|
+
|
|
104
|
+
# The voice creation method. Defaults to `audio_sample` when omitted.
|
|
105
|
+
#
|
|
106
|
+
# @see OpenAI::Models::Audio::VoiceCreateParams::Body::AudioSample#type
|
|
107
|
+
module Type
|
|
108
|
+
extend OpenAI::Internal::Type::Enum
|
|
109
|
+
|
|
110
|
+
AUDIO_SAMPLE = :audio_sample
|
|
111
|
+
|
|
112
|
+
# @!method self.values
|
|
113
|
+
# @return [Array<Symbol>]
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
class Prompt < OpenAI::Internal::Type::BaseModel
|
|
118
|
+
# @!attribute name
|
|
119
|
+
# The name of the new voice.
|
|
120
|
+
#
|
|
121
|
+
# @return [String]
|
|
122
|
+
required :name, String
|
|
123
|
+
|
|
124
|
+
# @!attribute prompt
|
|
125
|
+
# A description of the desired voice. Must not contain only whitespace.
|
|
126
|
+
#
|
|
127
|
+
# @return [String]
|
|
128
|
+
required :prompt, String
|
|
129
|
+
|
|
130
|
+
# @!attribute type
|
|
131
|
+
# Set to `prompt` to create a voice from a text description.
|
|
132
|
+
#
|
|
133
|
+
# @return [Symbol, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Type]
|
|
134
|
+
required :type, enum: -> { OpenAI::Audio::VoiceCreateParams::Body::Prompt::Type }
|
|
135
|
+
|
|
136
|
+
# @!attribute model
|
|
137
|
+
# The voice creation model to use. Defaults to `auto`.
|
|
138
|
+
#
|
|
139
|
+
# @return [String, Symbol, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Model, nil]
|
|
140
|
+
optional :model, union: -> { OpenAI::Audio::VoiceCreateParams::Body::Prompt::Model }
|
|
141
|
+
|
|
142
|
+
# @!attribute script_hint
|
|
143
|
+
# Optional text for the voice to speak during creation. If omitted, a script is
|
|
144
|
+
# generated from the prompt. Must not be blank after trimming whitespace; scripts
|
|
145
|
+
# that are too short are rejected.
|
|
146
|
+
#
|
|
147
|
+
# @return [String, nil]
|
|
148
|
+
optional :script_hint, String
|
|
149
|
+
|
|
150
|
+
# @!method initialize(name:, prompt:, type:, model: nil, script_hint: nil)
|
|
151
|
+
# Creates a synthetic voice from a text description. Supports application/json or
|
|
152
|
+
# multipart/form-data.
|
|
153
|
+
#
|
|
154
|
+
# @param name [String]
|
|
155
|
+
# The name of the new voice.
|
|
156
|
+
#
|
|
157
|
+
# @param prompt [String]
|
|
158
|
+
# A description of the desired voice. Must not contain only whitespace.
|
|
159
|
+
#
|
|
160
|
+
# @param type [Symbol, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Type]
|
|
161
|
+
# Set to `prompt` to create a voice from a text description.
|
|
162
|
+
#
|
|
163
|
+
# @param model [String, Symbol, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Model]
|
|
164
|
+
# The voice creation model to use. Defaults to `auto`.
|
|
165
|
+
#
|
|
166
|
+
# @param script_hint [String]
|
|
167
|
+
# Optional text for the voice to speak during creation. If omitted, a script is
|
|
168
|
+
# generated from the prompt. Must not be blank after trimming whitespace; scripts
|
|
169
|
+
# that are too short are rejected.
|
|
170
|
+
|
|
171
|
+
# Set to `prompt` to create a voice from a text description.
|
|
172
|
+
#
|
|
173
|
+
# @see OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt#type
|
|
174
|
+
module Type
|
|
175
|
+
extend OpenAI::Internal::Type::Enum
|
|
176
|
+
|
|
177
|
+
PROMPT = :prompt
|
|
178
|
+
|
|
179
|
+
# @!method self.values
|
|
180
|
+
# @return [Array<Symbol>]
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# The voice creation model to use. Defaults to `auto`.
|
|
184
|
+
#
|
|
185
|
+
# @see OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt#model
|
|
186
|
+
module Model
|
|
187
|
+
extend OpenAI::Internal::Type::Union
|
|
188
|
+
|
|
189
|
+
variant String
|
|
190
|
+
|
|
191
|
+
variant const: -> { OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Model::AUTO }
|
|
192
|
+
|
|
193
|
+
variant const: -> { OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Model::MODEL_2026_10_01 }
|
|
194
|
+
|
|
195
|
+
# @!method self.variants
|
|
196
|
+
# @return [Array(String, Symbol)]
|
|
197
|
+
|
|
198
|
+
define_sorbet_constant!(:Variants) do
|
|
199
|
+
T.type_alias { T.any(String, OpenAI::Audio::VoiceCreateParams::Body::Prompt::Model::TaggedSymbol) }
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# @!group
|
|
203
|
+
|
|
204
|
+
AUTO = :auto
|
|
205
|
+
MODEL_2026_10_01 = :"2026-10-01"
|
|
206
|
+
|
|
207
|
+
# @!endgroup
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# @!method self.variants
|
|
212
|
+
# @return [Array(OpenAI::Models::Audio::VoiceCreateParams::Body::AudioSample, OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt)]
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
end
|
|
@@ -937,96 +937,316 @@ module OpenAI
|
|
|
937
937
|
GPT_5_4_NANO = :"gpt-5.4-nano"
|
|
938
938
|
GPT_5_4_MINI_2026_03_17 = :"gpt-5.4-mini-2026-03-17"
|
|
939
939
|
GPT_5_4_NANO_2026_03_17 = :"gpt-5.4-nano-2026-03-17"
|
|
940
|
+
# @deprecated Announced shutdown date: 2026-08-10. See
|
|
941
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
942
|
+
# replacements.
|
|
940
943
|
GPT_5_3_CHAT_LATEST = :"gpt-5.3-chat-latest"
|
|
941
944
|
GPT_5_2 = :"gpt-5.2"
|
|
942
945
|
GPT_5_2_2025_12_11 = :"gpt-5.2-2025-12-11"
|
|
946
|
+
# @deprecated Announced shutdown date: 2026-08-10. See
|
|
947
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
948
|
+
# replacements.
|
|
943
949
|
GPT_5_2_CHAT_LATEST = :"gpt-5.2-chat-latest"
|
|
944
950
|
GPT_5_2_PRO = :"gpt-5.2-pro"
|
|
945
951
|
GPT_5_2_PRO_2025_12_11 = :"gpt-5.2-pro-2025-12-11"
|
|
946
952
|
GPT_5_1 = :"gpt-5.1"
|
|
947
953
|
GPT_5_1_2025_11_13 = :"gpt-5.1-2025-11-13"
|
|
954
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
955
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
956
|
+
# replacements.
|
|
948
957
|
GPT_5_1_CODEX = :"gpt-5.1-codex"
|
|
958
|
+
# @deprecated Not a supported model ID. Retained for SDK compatibility.
|
|
949
959
|
GPT_5_1_MINI = :"gpt-5.1-mini"
|
|
960
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
961
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
962
|
+
# replacements.
|
|
950
963
|
GPT_5_1_CHAT_LATEST = :"gpt-5.1-chat-latest"
|
|
964
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
965
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
966
|
+
# replacements.
|
|
951
967
|
GPT_5 = :"gpt-5"
|
|
968
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
969
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
970
|
+
# replacements.
|
|
952
971
|
GPT_5_MINI = :"gpt-5-mini"
|
|
972
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
973
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
974
|
+
# replacements.
|
|
953
975
|
GPT_5_NANO = :"gpt-5-nano"
|
|
976
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
977
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
978
|
+
# replacements.
|
|
954
979
|
GPT_5_2025_08_07 = :"gpt-5-2025-08-07"
|
|
980
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
981
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
982
|
+
# replacements.
|
|
955
983
|
GPT_5_MINI_2025_08_07 = :"gpt-5-mini-2025-08-07"
|
|
984
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
985
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
986
|
+
# replacements.
|
|
956
987
|
GPT_5_NANO_2025_08_07 = :"gpt-5-nano-2025-08-07"
|
|
988
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
989
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
990
|
+
# replacements.
|
|
957
991
|
GPT_5_CHAT_LATEST = :"gpt-5-chat-latest"
|
|
958
992
|
GPT_4_1 = :"gpt-4.1"
|
|
959
993
|
GPT_4_1_MINI = :"gpt-4.1-mini"
|
|
994
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
995
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
996
|
+
# replacements.
|
|
960
997
|
GPT_4_1_NANO = :"gpt-4.1-nano"
|
|
961
998
|
GPT_4_1_2025_04_14 = :"gpt-4.1-2025-04-14"
|
|
962
999
|
GPT_4_1_MINI_2025_04_14 = :"gpt-4.1-mini-2025-04-14"
|
|
1000
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1001
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1002
|
+
# replacements.
|
|
963
1003
|
GPT_4_1_NANO_2025_04_14 = :"gpt-4.1-nano-2025-04-14"
|
|
1004
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1005
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1006
|
+
# replacements.
|
|
964
1007
|
O4_MINI = :"o4-mini"
|
|
1008
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1009
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1010
|
+
# replacements.
|
|
965
1011
|
O4_MINI_2025_04_16 = :"o4-mini-2025-04-16"
|
|
1012
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
1013
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1014
|
+
# replacements.
|
|
966
1015
|
O3 = :o3
|
|
1016
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
1017
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1018
|
+
# replacements.
|
|
967
1019
|
O3_2025_04_16 = :"o3-2025-04-16"
|
|
1020
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1021
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1022
|
+
# replacements.
|
|
968
1023
|
O3_MINI = :"o3-mini"
|
|
1024
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1025
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1026
|
+
# replacements.
|
|
969
1027
|
O3_MINI_2025_01_31 = :"o3-mini-2025-01-31"
|
|
1028
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1029
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1030
|
+
# replacements.
|
|
970
1031
|
O1 = :o1
|
|
1032
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1033
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1034
|
+
# replacements.
|
|
971
1035
|
O1_2024_12_17 = :"o1-2024-12-17"
|
|
1036
|
+
# @deprecated Announced shutdown date: 2025-07-28. See
|
|
1037
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1038
|
+
# replacements.
|
|
972
1039
|
O1_PREVIEW = :"o1-preview"
|
|
1040
|
+
# @deprecated Announced shutdown date: 2025-07-28. See
|
|
1041
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1042
|
+
# replacements.
|
|
973
1043
|
O1_PREVIEW_2024_09_12 = :"o1-preview-2024-09-12"
|
|
1044
|
+
# @deprecated Announced shutdown date: 2025-10-27. See
|
|
1045
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1046
|
+
# replacements.
|
|
974
1047
|
O1_MINI = :"o1-mini"
|
|
1048
|
+
# @deprecated Announced shutdown date: 2025-10-27. See
|
|
1049
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1050
|
+
# replacements.
|
|
975
1051
|
O1_MINI_2024_09_12 = :"o1-mini-2024-09-12"
|
|
976
1052
|
GPT_4O = :"gpt-4o"
|
|
977
1053
|
GPT_4O_2024_11_20 = :"gpt-4o-2024-11-20"
|
|
978
1054
|
GPT_4O_2024_08_06 = :"gpt-4o-2024-08-06"
|
|
1055
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1056
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1057
|
+
# replacements.
|
|
979
1058
|
GPT_4O_2024_05_13 = :"gpt-4o-2024-05-13"
|
|
1059
|
+
# @deprecated Announced shutdown date: 2027-01-20. See
|
|
1060
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1061
|
+
# replacements.
|
|
980
1062
|
GPT_AUDIO_MINI = :"gpt-audio-mini"
|
|
1063
|
+
# @deprecated Announced shutdown date: 2027-01-20. See
|
|
1064
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1065
|
+
# replacements.
|
|
981
1066
|
GPT_AUDIO_MINI_2025_12_15 = :"gpt-audio-mini-2025-12-15"
|
|
1067
|
+
# @deprecated Announced shutdown date: 2026-05-07. See
|
|
1068
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1069
|
+
# replacements.
|
|
982
1070
|
GPT_4O_AUDIO_PREVIEW = :"gpt-4o-audio-preview"
|
|
1071
|
+
# @deprecated Announced shutdown date: 2025-10-10. See
|
|
1072
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1073
|
+
# replacements.
|
|
983
1074
|
GPT_4O_AUDIO_PREVIEW_2024_10_01 = :"gpt-4o-audio-preview-2024-10-01"
|
|
1075
|
+
# @deprecated Announced shutdown date: 2026-05-07. See
|
|
1076
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1077
|
+
# replacements.
|
|
984
1078
|
GPT_4O_AUDIO_PREVIEW_2024_12_17 = :"gpt-4o-audio-preview-2024-12-17"
|
|
1079
|
+
# @deprecated Announced shutdown date: 2026-05-07. See
|
|
1080
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1081
|
+
# replacements.
|
|
985
1082
|
GPT_4O_AUDIO_PREVIEW_2025_06_03 = :"gpt-4o-audio-preview-2025-06-03"
|
|
1083
|
+
# @deprecated Announced shutdown date: 2026-05-07. See
|
|
1084
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1085
|
+
# replacements.
|
|
986
1086
|
GPT_4O_MINI_AUDIO_PREVIEW = :"gpt-4o-mini-audio-preview"
|
|
1087
|
+
# @deprecated Announced shutdown date: 2026-05-07. See
|
|
1088
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1089
|
+
# replacements.
|
|
987
1090
|
GPT_4O_MINI_AUDIO_PREVIEW_2024_12_17 = :"gpt-4o-mini-audio-preview-2024-12-17"
|
|
1091
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1092
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1093
|
+
# replacements.
|
|
988
1094
|
GPT_4O_SEARCH_PREVIEW = :"gpt-4o-search-preview"
|
|
1095
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1096
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1097
|
+
# replacements.
|
|
989
1098
|
GPT_4O_MINI_SEARCH_PREVIEW = :"gpt-4o-mini-search-preview"
|
|
1099
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1100
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1101
|
+
# replacements.
|
|
990
1102
|
GPT_4O_SEARCH_PREVIEW_2025_03_11 = :"gpt-4o-search-preview-2025-03-11"
|
|
1103
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1104
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1105
|
+
# replacements.
|
|
991
1106
|
GPT_4O_MINI_SEARCH_PREVIEW_2025_03_11 = :"gpt-4o-mini-search-preview-2025-03-11"
|
|
1107
|
+
# @deprecated Announced shutdown date: 2026-02-17. See
|
|
1108
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1109
|
+
# replacements.
|
|
992
1110
|
CHATGPT_4O_LATEST = :"chatgpt-4o-latest"
|
|
1111
|
+
# @deprecated Announced shutdown date: 2026-02-12. See
|
|
1112
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1113
|
+
# replacements.
|
|
993
1114
|
CODEX_MINI_LATEST = :"codex-mini-latest"
|
|
994
1115
|
GPT_4O_MINI = :"gpt-4o-mini"
|
|
995
1116
|
GPT_4O_MINI_2024_07_18 = :"gpt-4o-mini-2024-07-18"
|
|
1117
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1118
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1119
|
+
# replacements.
|
|
996
1120
|
GPT_4_TURBO = :"gpt-4-turbo"
|
|
1121
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1122
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1123
|
+
# replacements.
|
|
997
1124
|
GPT_4_TURBO_2024_04_09 = :"gpt-4-turbo-2024-04-09"
|
|
1125
|
+
# @deprecated Announced shutdown date: 2026-03-26. See
|
|
1126
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1127
|
+
# replacements.
|
|
998
1128
|
GPT_4_0125_PREVIEW = :"gpt-4-0125-preview"
|
|
1129
|
+
# @deprecated Announced shutdown date: 2026-03-26. See
|
|
1130
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1131
|
+
# replacements.
|
|
999
1132
|
GPT_4_TURBO_PREVIEW = :"gpt-4-turbo-preview"
|
|
1133
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1134
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1135
|
+
# replacements.
|
|
1000
1136
|
GPT_4_1106_PREVIEW = :"gpt-4-1106-preview"
|
|
1137
|
+
# @deprecated Announced shutdown date: 2024-12-06. See
|
|
1138
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1139
|
+
# replacements.
|
|
1001
1140
|
GPT_4_VISION_PREVIEW = :"gpt-4-vision-preview"
|
|
1141
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1142
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1143
|
+
# replacements.
|
|
1002
1144
|
GPT_4 = :"gpt-4"
|
|
1145
|
+
# @deprecated Announced shutdown date: 2026-03-26. See
|
|
1146
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1147
|
+
# replacements.
|
|
1003
1148
|
GPT_4_0314 = :"gpt-4-0314"
|
|
1149
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1150
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1151
|
+
# replacements.
|
|
1004
1152
|
GPT_4_0613 = :"gpt-4-0613"
|
|
1153
|
+
# @deprecated Announced shutdown date: 2025-06-06. See
|
|
1154
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1155
|
+
# replacements.
|
|
1005
1156
|
GPT_4_32K = :"gpt-4-32k"
|
|
1157
|
+
# @deprecated Announced shutdown date: 2025-06-06. See
|
|
1158
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1159
|
+
# replacements.
|
|
1006
1160
|
GPT_4_32K_0314 = :"gpt-4-32k-0314"
|
|
1161
|
+
# @deprecated Announced shutdown date: 2025-06-06. See
|
|
1162
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1163
|
+
# replacements.
|
|
1007
1164
|
GPT_4_32K_0613 = :"gpt-4-32k-0613"
|
|
1165
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1166
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1167
|
+
# replacements.
|
|
1008
1168
|
GPT_3_5_TURBO = :"gpt-3.5-turbo"
|
|
1169
|
+
# @deprecated Announced shutdown date: 2024-09-13. See
|
|
1170
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1171
|
+
# replacements.
|
|
1009
1172
|
GPT_3_5_TURBO_16K = :"gpt-3.5-turbo-16k"
|
|
1173
|
+
# @deprecated Announced shutdown date: 2024-09-13. See
|
|
1174
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1175
|
+
# replacements.
|
|
1010
1176
|
GPT_3_5_TURBO_0301 = :"gpt-3.5-turbo-0301"
|
|
1177
|
+
# @deprecated Announced shutdown date: 2024-09-13. See
|
|
1178
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1179
|
+
# replacements.
|
|
1011
1180
|
GPT_3_5_TURBO_0613 = :"gpt-3.5-turbo-0613"
|
|
1181
|
+
# @deprecated Announced shutdown date: 2026-09-28. See
|
|
1182
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1183
|
+
# replacements.
|
|
1012
1184
|
GPT_3_5_TURBO_1106 = :"gpt-3.5-turbo-1106"
|
|
1185
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1186
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1187
|
+
# replacements.
|
|
1013
1188
|
GPT_3_5_TURBO_0125 = :"gpt-3.5-turbo-0125"
|
|
1189
|
+
# @deprecated Announced shutdown date: 2024-09-13. See
|
|
1190
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1191
|
+
# replacements.
|
|
1014
1192
|
GPT_3_5_TURBO_16K_0613 = :"gpt-3.5-turbo-16k-0613"
|
|
1193
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1194
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1195
|
+
# replacements.
|
|
1015
1196
|
O1_PRO = :"o1-pro"
|
|
1197
|
+
# @deprecated Announced shutdown date: 2026-10-23. See
|
|
1198
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1199
|
+
# replacements.
|
|
1016
1200
|
O1_PRO_2025_03_19 = :"o1-pro-2025-03-19"
|
|
1201
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
1202
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1203
|
+
# replacements.
|
|
1017
1204
|
O3_PRO = :"o3-pro"
|
|
1205
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
1206
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1207
|
+
# replacements.
|
|
1018
1208
|
O3_PRO_2025_06_10 = :"o3-pro-2025-06-10"
|
|
1209
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1210
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1211
|
+
# replacements.
|
|
1019
1212
|
O3_DEEP_RESEARCH = :"o3-deep-research"
|
|
1213
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1214
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1215
|
+
# replacements.
|
|
1020
1216
|
O3_DEEP_RESEARCH_2025_06_26 = :"o3-deep-research-2025-06-26"
|
|
1217
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1218
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1219
|
+
# replacements.
|
|
1021
1220
|
O4_MINI_DEEP_RESEARCH = :"o4-mini-deep-research"
|
|
1221
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1222
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1223
|
+
# replacements.
|
|
1022
1224
|
O4_MINI_DEEP_RESEARCH_2025_06_26 = :"o4-mini-deep-research-2025-06-26"
|
|
1225
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1226
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1227
|
+
# replacements.
|
|
1023
1228
|
COMPUTER_USE_PREVIEW = :"computer-use-preview"
|
|
1229
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1230
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1231
|
+
# replacements.
|
|
1024
1232
|
COMPUTER_USE_PREVIEW_2025_03_11 = :"computer-use-preview-2025-03-11"
|
|
1025
1233
|
GPT_5_5_PRO = :"gpt-5.5-pro"
|
|
1026
1234
|
GPT_5_5_PRO_2026_04_23 = :"gpt-5.5-pro-2026-04-23"
|
|
1235
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1236
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1237
|
+
# replacements.
|
|
1027
1238
|
GPT_5_CODEX = :"gpt-5-codex"
|
|
1239
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
1240
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1241
|
+
# replacements.
|
|
1028
1242
|
GPT_5_PRO = :"gpt-5-pro"
|
|
1243
|
+
# @deprecated Announced shutdown date: 2026-12-11. See
|
|
1244
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1245
|
+
# replacements.
|
|
1029
1246
|
GPT_5_PRO_2025_10_06 = :"gpt-5-pro-2025-10-06"
|
|
1247
|
+
# @deprecated Announced shutdown date: 2026-07-23. See
|
|
1248
|
+
# https://developers.openai.com/api/docs/deprecations for details and recommended
|
|
1249
|
+
# replacements.
|
|
1030
1250
|
GPT_5_1_CODEX_MAX = :"gpt-5.1-codex-max"
|
|
1031
1251
|
GPT_DAYBREAK_BLUE_LATEST = :"gpt-daybreak-blue-latest"
|
|
1032
1252
|
GPT_DAYBREAK_RED_LATEST = :"gpt-daybreak-red-latest"
|