openai 1.2.0 → 1.3.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.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +1 -1
  4. data/lib/openai/models/admin/organization/organization_spend_limit.rb +38 -1
  5. data/lib/openai/models/admin/organization/projects/project_spend_limit.rb +38 -1
  6. data/lib/openai/models/admin/organization/projects/spend_limit_update_params.rb +51 -1
  7. data/lib/openai/models/admin/organization/spend_limit_update_params.rb +49 -1
  8. data/lib/openai/models/admin/organization/usage_costs_params.rb +2 -2
  9. data/lib/openai/models/batch.rb +4 -6
  10. data/lib/openai/models/batch_create_params.rb +2 -4
  11. data/lib/openai/models/beta/agents/automation_target_param.rb +2 -2
  12. data/lib/openai/models/beta/agents/session_create_params.rb +2 -2
  13. data/lib/openai/models/beta/agents/session_update_params.rb +12 -1
  14. data/lib/openai/models/beta/beta_compacted_response.rb +19 -1
  15. data/lib/openai/models/beta/beta_container_auto.rb +8 -2
  16. data/lib/openai/models/beta/beta_response.rb +11 -13
  17. data/lib/openai/models/beta/beta_responses_client_event.rb +11 -13
  18. data/lib/openai/models/beta/response_compact_params.rb +19 -10
  19. data/lib/openai/models/beta/response_create_params.rb +11 -13
  20. data/lib/openai/models/chat/chat_completion.rb +2 -4
  21. data/lib/openai/models/chat/completion_create_params.rb +15 -17
  22. data/lib/openai/models/chat/completion_update_params.rb +2 -4
  23. data/lib/openai/models/completion_create_params.rb +3 -3
  24. data/lib/openai/models/conversations/conversation_create_params.rb +12 -5
  25. data/lib/openai/models/eval_create_params.rb +2 -4
  26. data/lib/openai/models/eval_create_response.rb +5 -9
  27. data/lib/openai/models/eval_list_response.rb +5 -9
  28. data/lib/openai/models/eval_retrieve_response.rb +5 -9
  29. data/lib/openai/models/eval_stored_completions_data_source_config.rb +2 -4
  30. data/lib/openai/models/eval_update_params.rb +2 -4
  31. data/lib/openai/models/eval_update_response.rb +5 -9
  32. data/lib/openai/models/evals/create_eval_completions_run_data_source.rb +6 -8
  33. data/lib/openai/models/evals/run_cancel_response.rb +4 -6
  34. data/lib/openai/models/evals/run_create_params.rb +4 -6
  35. data/lib/openai/models/evals/run_create_response.rb +4 -6
  36. data/lib/openai/models/evals/run_list_response.rb +4 -6
  37. data/lib/openai/models/evals/run_retrieve_response.rb +4 -6
  38. data/lib/openai/models/fine_tuning/fine_tuning_job.rb +2 -4
  39. data/lib/openai/models/fine_tuning/job_create_params.rb +7 -6
  40. data/lib/openai/models/live/fork_server_event.rb +4 -4
  41. data/lib/openai/models/live/media_session_config.rb +15 -16
  42. data/lib/openai/models/live/responses_delegation_config.rb +8 -2
  43. data/lib/openai/models/live/responses_delegation_update_config.rb +8 -2
  44. data/lib/openai/models/live/server_event.rb +4 -4
  45. data/lib/openai/models/live/sideband_server_event.rb +4 -4
  46. data/lib/openai/models/realtime/realtime_audio_config_input.rb +12 -9
  47. data/lib/openai/models/realtime/realtime_response.rb +2 -4
  48. data/lib/openai/models/realtime/realtime_response_create_params.rb +2 -4
  49. data/lib/openai/models/responses/compacted_response.rb +19 -1
  50. data/lib/openai/models/responses/container_auto.rb +8 -2
  51. data/lib/openai/models/responses/response.rb +8 -10
  52. data/lib/openai/models/responses/response_compact_params.rb +19 -10
  53. data/lib/openai/models/responses/response_create_params.rb +8 -10
  54. data/lib/openai/models/responses/responses_client_event.rb +8 -10
  55. data/lib/openai/models/vector_store.rb +2 -4
  56. data/lib/openai/models/vector_store_create_params.rb +2 -4
  57. data/lib/openai/models/vector_store_update_params.rb +2 -4
  58. data/lib/openai/resources/admin/organization/projects/spend_limit.rb +5 -1
  59. data/lib/openai/resources/admin/organization/spend_limit.rb +5 -1
  60. data/lib/openai/resources/admin/organization/usage.rb +1 -1
  61. data/lib/openai/resources/batches.rb +1 -2
  62. data/lib/openai/resources/beta/agents/sessions/events.rb +7 -2
  63. data/lib/openai/resources/beta/agents/sessions/traces.rb +4 -2
  64. data/lib/openai/resources/beta/agents/sessions.rb +8 -4
  65. data/lib/openai/resources/beta/responses.rb +9 -6
  66. data/lib/openai/resources/chat/completions.rb +11 -14
  67. data/lib/openai/resources/completions.rb +2 -2
  68. data/lib/openai/resources/conversations.rb +5 -3
  69. data/lib/openai/resources/evals/runs.rb +1 -2
  70. data/lib/openai/resources/evals.rb +2 -4
  71. data/lib/openai/resources/fine_tuning/jobs.rb +2 -3
  72. data/lib/openai/resources/responses.rb +15 -14
  73. data/lib/openai/resources/vector_stores.rb +2 -4
  74. data/lib/openai/version.rb +1 -1
  75. data/rbi/openai/models/admin/organization/organization_spend_limit.rbi +68 -1
  76. data/rbi/openai/models/admin/organization/projects/project_spend_limit.rbi +68 -1
  77. data/rbi/openai/models/admin/organization/projects/spend_limit_update_params.rbi +87 -0
  78. data/rbi/openai/models/admin/organization/spend_limit_update_params.rbi +85 -0
  79. data/rbi/openai/models/admin/organization/usage_costs_params.rbi +2 -2
  80. data/rbi/openai/models/batch.rbi +4 -6
  81. data/rbi/openai/models/batch_create_params.rbi +2 -4
  82. data/rbi/openai/models/beta/agents/automation_target_param.rbi +2 -2
  83. data/rbi/openai/models/beta/agents/session_create_params.rbi +2 -2
  84. data/rbi/openai/models/beta/agents/session_update_params.rbi +12 -0
  85. data/rbi/openai/models/beta/beta_compacted_response.rbi +24 -1
  86. data/rbi/openai/models/beta/beta_container_auto.rbi +8 -2
  87. data/rbi/openai/models/beta/beta_response.rbi +11 -13
  88. data/rbi/openai/models/beta/beta_responses_client_event.rbi +11 -13
  89. data/rbi/openai/models/beta/response_compact_params.rbi +19 -9
  90. data/rbi/openai/models/beta/response_create_params.rbi +11 -13
  91. data/rbi/openai/models/chat/chat_completion.rbi +2 -4
  92. data/rbi/openai/models/chat/completion_create_params.rbi +14 -16
  93. data/rbi/openai/models/chat/completion_update_params.rbi +2 -4
  94. data/rbi/openai/models/completion_create_params.rbi +3 -3
  95. data/rbi/openai/models/conversations/conversation_create_params.rbi +12 -4
  96. data/rbi/openai/models/eval_create_params.rbi +2 -4
  97. data/rbi/openai/models/eval_create_response.rbi +5 -9
  98. data/rbi/openai/models/eval_list_response.rbi +5 -9
  99. data/rbi/openai/models/eval_retrieve_response.rbi +5 -9
  100. data/rbi/openai/models/eval_stored_completions_data_source_config.rbi +2 -4
  101. data/rbi/openai/models/eval_update_params.rbi +2 -4
  102. data/rbi/openai/models/eval_update_response.rbi +5 -9
  103. data/rbi/openai/models/evals/create_eval_completions_run_data_source.rbi +6 -8
  104. data/rbi/openai/models/evals/run_cancel_response.rbi +4 -6
  105. data/rbi/openai/models/evals/run_create_params.rbi +4 -6
  106. data/rbi/openai/models/evals/run_create_response.rbi +4 -6
  107. data/rbi/openai/models/evals/run_list_response.rbi +4 -6
  108. data/rbi/openai/models/evals/run_retrieve_response.rbi +4 -6
  109. data/rbi/openai/models/fine_tuning/fine_tuning_job.rbi +2 -4
  110. data/rbi/openai/models/fine_tuning/job_create_params.rbi +8 -6
  111. data/rbi/openai/models/live/fork_server_event.rbi +3 -3
  112. data/rbi/openai/models/live/media_session_config.rbi +15 -16
  113. data/rbi/openai/models/live/responses_delegation_config.rbi +8 -2
  114. data/rbi/openai/models/live/responses_delegation_update_config.rbi +8 -2
  115. data/rbi/openai/models/live/server_event.rbi +3 -3
  116. data/rbi/openai/models/live/sideband_server_event.rbi +3 -3
  117. data/rbi/openai/models/realtime/realtime_audio_config_input.rbi +12 -9
  118. data/rbi/openai/models/realtime/realtime_response.rbi +2 -4
  119. data/rbi/openai/models/realtime/realtime_response_create_params.rbi +2 -4
  120. data/rbi/openai/models/responses/compacted_response.rbi +24 -1
  121. data/rbi/openai/models/responses/container_auto.rbi +8 -2
  122. data/rbi/openai/models/responses/response.rbi +8 -10
  123. data/rbi/openai/models/responses/response_compact_params.rbi +19 -9
  124. data/rbi/openai/models/responses/response_create_params.rbi +8 -10
  125. data/rbi/openai/models/responses/responses_client_event.rbi +8 -10
  126. data/rbi/openai/models/vector_store.rbi +2 -4
  127. data/rbi/openai/models/vector_store_create_params.rbi +2 -4
  128. data/rbi/openai/models/vector_store_update_params.rbi +2 -4
  129. data/rbi/openai/resources/admin/organization/projects/spend_limit.rbi +6 -0
  130. data/rbi/openai/resources/admin/organization/spend_limit.rbi +6 -0
  131. data/rbi/openai/resources/admin/organization/usage.rbi +1 -1
  132. data/rbi/openai/resources/batches.rbi +1 -2
  133. data/rbi/openai/resources/beta/agents/sessions/events.rbi +7 -2
  134. data/rbi/openai/resources/beta/agents/sessions/traces.rbi +4 -2
  135. data/rbi/openai/resources/beta/agents/sessions.rbi +7 -3
  136. data/rbi/openai/resources/beta/responses.rbi +8 -5
  137. data/rbi/openai/resources/chat/completions.rbi +11 -14
  138. data/rbi/openai/resources/completions.rbi +2 -2
  139. data/rbi/openai/resources/conversations.rbi +4 -2
  140. data/rbi/openai/resources/evals/runs.rbi +1 -2
  141. data/rbi/openai/resources/evals.rbi +2 -4
  142. data/rbi/openai/resources/fine_tuning/jobs.rbi +2 -3
  143. data/rbi/openai/resources/responses.rbi +14 -13
  144. data/rbi/openai/resources/vector_stores.rbi +2 -4
  145. data/sig/openai/models/admin/organization/organization_spend_limit.rbs +42 -2
  146. data/sig/openai/models/admin/organization/projects/project_spend_limit.rbs +42 -2
  147. data/sig/openai/models/admin/organization/projects/spend_limit_update_params.rbs +48 -0
  148. data/sig/openai/models/admin/organization/spend_limit_update_params.rbs +48 -0
  149. data/sig/openai/models/admin/organization/usage_costs_params.rbs +3 -3
  150. data/sig/openai/models/batch.rbs +5 -7
  151. data/sig/openai/models/batch_create_params.rbs +2 -4
  152. data/sig/openai/models/beta/agents/automation_target_param.rbs +2 -2
  153. data/sig/openai/models/beta/agents/session_create_params.rbs +2 -2
  154. data/sig/openai/models/beta/agents/session_update_params.rbs +10 -0
  155. data/sig/openai/models/beta/beta_compacted_response.rbs +21 -2
  156. data/sig/openai/models/beta/beta_container_auto.rbs +12 -3
  157. data/sig/openai/models/beta/beta_response.rbs +8 -10
  158. data/sig/openai/models/beta/beta_responses_client_event.rbs +11 -13
  159. data/sig/openai/models/beta/response_compact_params.rbs +14 -6
  160. data/sig/openai/models/beta/response_create_params.rbs +11 -13
  161. data/sig/openai/models/chat/chat_completion.rbs +2 -4
  162. data/sig/openai/models/chat/completion_create_params.rbs +10 -12
  163. data/sig/openai/models/chat/completion_update_params.rbs +2 -4
  164. data/sig/openai/models/completion_create_params.rbs +2 -2
  165. data/sig/openai/models/conversations/conversation_create_params.rbs +10 -4
  166. data/sig/openai/models/eval_create_params.rbs +2 -4
  167. data/sig/openai/models/eval_create_response.rbs +4 -8
  168. data/sig/openai/models/eval_list_response.rbs +4 -8
  169. data/sig/openai/models/eval_retrieve_response.rbs +4 -8
  170. data/sig/openai/models/eval_stored_completions_data_source_config.rbs +2 -4
  171. data/sig/openai/models/eval_update_params.rbs +2 -4
  172. data/sig/openai/models/eval_update_response.rbs +4 -8
  173. data/sig/openai/models/evals/create_eval_completions_run_data_source.rbs +7 -9
  174. data/sig/openai/models/evals/run_cancel_response.rbs +5 -7
  175. data/sig/openai/models/evals/run_create_params.rbs +5 -7
  176. data/sig/openai/models/evals/run_create_response.rbs +5 -7
  177. data/sig/openai/models/evals/run_list_response.rbs +5 -7
  178. data/sig/openai/models/evals/run_retrieve_response.rbs +5 -7
  179. data/sig/openai/models/fine_tuning/fine_tuning_job.rbs +2 -4
  180. data/sig/openai/models/fine_tuning/job_create_params.rbs +6 -6
  181. data/sig/openai/models/live/media_session_config.rbs +21 -21
  182. data/sig/openai/models/live/responses_delegation_config.rbs +8 -2
  183. data/sig/openai/models/live/responses_delegation_update_config.rbs +8 -2
  184. data/sig/openai/models/realtime/realtime_audio_config_input.rbs +12 -9
  185. data/sig/openai/models/realtime/realtime_response.rbs +2 -4
  186. data/sig/openai/models/realtime/realtime_response_create_params.rbs +2 -4
  187. data/sig/openai/models/responses/compacted_response.rbs +21 -2
  188. data/sig/openai/models/responses/container_auto.rbs +12 -3
  189. data/sig/openai/models/responses/response.rbs +8 -10
  190. data/sig/openai/models/responses/response_compact_params.rbs +14 -6
  191. data/sig/openai/models/responses/response_create_params.rbs +11 -13
  192. data/sig/openai/models/responses/responses_client_event.rbs +11 -13
  193. data/sig/openai/models/vector_store.rbs +2 -4
  194. data/sig/openai/models/vector_store_create_params.rbs +2 -4
  195. data/sig/openai/models/vector_store_update_params.rbs +2 -4
  196. data/sig/openai/resources/admin/organization/projects/spend_limit.rbs +1 -0
  197. data/sig/openai/resources/admin/organization/spend_limit.rbs +1 -0
  198. data/sig/openai/resources/beta/agents/sessions.rbs +1 -0
  199. data/sig/openai/resources/beta/responses.rbs +1 -0
  200. data/sig/openai/resources/conversations.rbs +1 -0
  201. data/sig/openai/resources/responses.rbs +1 -0
  202. metadata +1 -1
@@ -9,9 +9,9 @@ module OpenAI
9
9
  include OpenAI::Internal::Type::RequestParameters
10
10
 
11
11
  # @!attribute model
12
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
13
- # range of models with different capabilities, performance characteristics, and
14
- # price points. Refer to the
12
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
13
+ # wide range of models with different capabilities, performance characteristics,
14
+ # and price points. Refer to the
15
15
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
16
16
  # compare available models.
17
17
  #
@@ -88,6 +88,12 @@ module OpenAI
88
88
  nil?: true
89
89
  )
90
90
 
91
+ # @!attribute safety_identifier
92
+ # A stable identifier used for safety monitoring and abuse detection.
93
+ #
94
+ # @return [String, nil]
95
+ optional :safety_identifier, String, nil?: true
96
+
91
97
  # @!attribute service_tier
92
98
  # Specifies the processing type used for serving the request. - If set to 'auto',
93
99
  # then the request will be processed with the service tier configured in the
@@ -114,11 +120,11 @@ module OpenAI
114
120
  # @return [Array<Symbol, OpenAI::Models::Beta::ResponseCompactParams::Beta>, nil]
115
121
  optional :betas, -> { OpenAI::Internal::Type::ArrayOf[enum: OpenAI::Beta::ResponseCompactParams::Beta] }
116
122
 
117
- # @!method initialize(model:, image: nil, input: nil, instructions: nil, previous_response_id: nil, prompt_cache_key: nil, prompt_cache_options: nil, prompt_cache_retention: nil, service_tier: nil, betas: nil, request_options: {})
123
+ # @!method initialize(model:, image: nil, input: nil, instructions: nil, previous_response_id: nil, prompt_cache_key: nil, prompt_cache_options: nil, prompt_cache_retention: nil, safety_identifier: nil, service_tier: nil, betas: nil, request_options: {})
118
124
  # @param model [Symbol, String, OpenAI::Models::Beta::ResponseCompactParams::Model, nil]
119
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
120
- # range of models with different capabilities, performance characteristics, and
121
- # price points. Refer to the
125
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
126
+ # wide range of models with different capabilities, performance characteristics,
127
+ # and price points. Refer to the
122
128
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
123
129
  # compare available models.
124
130
  #
@@ -157,6 +163,9 @@ module OpenAI
157
163
  # @param prompt_cache_retention [Symbol, OpenAI::Models::Beta::ResponseCompactParams::PromptCacheRetention, nil]
158
164
  # How long to retain a prompt cache entry created by this request.
159
165
  #
166
+ # @param safety_identifier [String, nil]
167
+ # A stable identifier used for safety monitoring and abuse detection.
168
+ #
160
169
  # @param service_tier [Symbol, OpenAI::Models::Beta::ResponseCompactParams::ServiceTier, nil]
161
170
  # Specifies the processing type used for serving the request. - If set to 'auto',
162
171
  # then the request will be processed with the service tier configured in the
@@ -179,9 +188,9 @@ module OpenAI
179
188
  #
180
189
  # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
181
190
 
182
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
183
- # range of models with different capabilities, performance characteristics, and
184
- # price points. Refer to the
191
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
192
+ # wide range of models with different capabilities, performance characteristics,
193
+ # and price points. Refer to the
185
194
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
186
195
  # compare available models.
187
196
  module Model
@@ -128,8 +128,7 @@ module OpenAI
128
128
 
129
129
  # @!attribute metadata
130
130
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
131
- # for storing additional information about the object in a structured format, and
132
- # querying for objects via API or the dashboard.
131
+ # for storing additional information about the object in a structured format.
133
132
  #
134
133
  # Keys are strings with a maximum length of 64 characters. Values are strings with
135
134
  # a maximum length of 512 characters.
@@ -138,9 +137,9 @@ module OpenAI
138
137
  optional :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true
139
138
 
140
139
  # @!attribute model
141
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
142
- # range of models with different capabilities, performance characteristics, and
143
- # price points. Refer to the
140
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
141
+ # wide range of models with different capabilities, performance characteristics,
142
+ # and price points. Refer to the
144
143
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
145
144
  # compare available models.
146
145
  #
@@ -474,16 +473,15 @@ module OpenAI
474
473
  #
475
474
  # @param metadata [Hash{Symbol=>String}, nil]
476
475
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
477
- # for storing additional information about the object in a structured format, and
478
- # querying for objects via API or the dashboard.
476
+ # for storing additional information about the object in a structured format.
479
477
  #
480
478
  # Keys are strings with a maximum length of 64 characters. Values are strings with
481
479
  # a maximum length of 512 characters.
482
480
  #
483
481
  # @param model [Symbol, String, OpenAI::Models::Beta::ResponseCreateParams::Model]
484
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
485
- # range of models with different capabilities, performance characteristics, and
486
- # price points. Refer to the
482
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
483
+ # wide range of models with different capabilities, performance characteristics,
484
+ # and price points. Refer to the
487
485
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
488
486
  # compare available models.
489
487
  #
@@ -862,9 +860,9 @@ module OpenAI
862
860
  # @return [Array(String, Array<OpenAI::Models::Beta::BetaEasyInputMessage, OpenAI::Models::Beta::BetaResponseInputItem::Message, OpenAI::Models::Beta::BetaResponseOutputMessage, OpenAI::Models::Beta::BetaResponseFileSearchToolCall, OpenAI::Models::Beta::BetaResponseComputerToolCall, OpenAI::Models::Beta::BetaResponseInputItem::ComputerCallOutput, OpenAI::Models::Beta::BetaResponseFunctionWebSearch, OpenAI::Models::Beta::BetaResponseFunctionToolCall, OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall, OpenAI::Models::Beta::BetaResponseToolSearchOutputItemParam, OpenAI::Models::Beta::BetaResponseInputItem::AdditionalTools, OpenAI::Models::Beta::BetaResponseConfigurationUpdateItemParam, OpenAI::Models::Beta::BetaResponseReasoningItem, OpenAI::Models::Beta::BetaResponseCompactionItemParam, OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall, OpenAI::Models::Beta::BetaResponseCodeInterpreterToolCall, OpenAI::Models::Beta::BetaResponseInputItem::LocalShellCall, OpenAI::Models::Beta::BetaResponseInputItem::LocalShellCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::ShellCall, OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCall, OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::McpListTools, OpenAI::Models::Beta::BetaResponseInputItem::McpApprovalRequest, OpenAI::Models::Beta::BetaResponseInputItem::McpApprovalResponse, OpenAI::Models::Beta::BetaResponseInputItem::McpCall, OpenAI::Models::Beta::BetaResponseCustomToolCallOutput, OpenAI::Models::Beta::BetaResponseCustomToolCall, OpenAI::Models::Beta::BetaResponseInputItem::CompactionTrigger, OpenAI::Models::Beta::BetaResponseInputItem::ItemReference, OpenAI::Models::Beta::BetaResponseInputItem::Program, OpenAI::Models::Beta::BetaResponseInputItem::ProgramOutput>)]
863
861
  end
864
862
 
865
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
866
- # range of models with different capabilities, performance characteristics, and
867
- # price points. Refer to the
863
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
864
+ # wide range of models with different capabilities, performance characteristics,
865
+ # and price points. Refer to the
868
866
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
869
867
  # compare available models.
870
868
  module Model
@@ -40,8 +40,7 @@ module OpenAI
40
40
 
41
41
  # @!attribute metadata
42
42
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
43
- # for storing additional information about the object in a structured format, and
44
- # querying for objects via API or the dashboard.
43
+ # for storing additional information about the object in a structured format.
45
44
  #
46
45
  # Keys are strings with a maximum length of 64 characters. Values are strings with
47
46
  # a maximum length of 512 characters.
@@ -119,8 +118,7 @@ module OpenAI
119
118
  #
120
119
  # @param metadata [Hash{Symbol=>String}, nil]
121
120
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
122
- # for storing additional information about the object in a structured format, and
123
- # querying for objects via API or the dashboard.
121
+ # for storing additional information about the object in a structured format.
124
122
  #
125
123
  # Keys are strings with a maximum length of 64 characters. Values are strings with
126
124
  # a maximum length of 512 characters.
@@ -25,9 +25,9 @@ module OpenAI
25
25
  )
26
26
 
27
27
  # @!attribute model
28
- # Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI
29
- # offers a wide range of models with different capabilities, performance
30
- # characteristics, and price points. Refer to the
28
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
29
+ # wide range of models with different capabilities, performance characteristics,
30
+ # and price points. Refer to the
31
31
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
32
32
  # compare available models.
33
33
  #
@@ -129,8 +129,7 @@ module OpenAI
129
129
 
130
130
  # @!attribute metadata
131
131
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
132
- # for storing additional information about the object in a structured format, and
133
- # querying for objects via API or the dashboard.
132
+ # for storing additional information about the object in a structured format.
134
133
  #
135
134
  # Keys are strings with a maximum length of 64 characters. Values are strings with
136
135
  # a maximum length of 512 characters.
@@ -325,7 +324,7 @@ module OpenAI
325
324
  optional :service_tier, enum: -> { OpenAI::Chat::CompletionCreateParams::ServiceTier }, nil?: true
326
325
 
327
326
  # @!attribute stop
328
- # Not supported with latest reasoning models `o3` and `o4-mini`.
327
+ # Not supported with reasoning models `o3` and `o4-mini`.
329
328
  #
330
329
  # Up to 4 sequences where the API will stop generating further tokens. The
331
330
  # returned text will not contain the stop sequence.
@@ -447,9 +446,9 @@ module OpenAI
447
446
  # [audio](https://developers.openai.com/api/docs/guides/audio).
448
447
  #
449
448
  # @param model [String, Symbol, OpenAI::Models::ChatModel]
450
- # Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI
451
- # offers a wide range of models with different capabilities, performance
452
- # characteristics, and price points. Refer to the
449
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
450
+ # wide range of models with different capabilities, performance characteristics,
451
+ # and price points. Refer to the
453
452
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
454
453
  # compare available models.
455
454
  #
@@ -515,8 +514,7 @@ module OpenAI
515
514
  #
516
515
  # @param metadata [Hash{Symbol=>String}, nil]
517
516
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
518
- # for storing additional information about the object in a structured format, and
519
- # querying for objects via API or the dashboard.
517
+ # for storing additional information about the object in a structured format.
520
518
  #
521
519
  # Keys are strings with a maximum length of 64 characters. Values are strings with
522
520
  # a maximum length of 512 characters.
@@ -654,7 +652,7 @@ module OpenAI
654
652
  # parameter.
655
653
  #
656
654
  # @param stop [String, Array<String>, nil]
657
- # Not supported with latest reasoning models `o3` and `o4-mini`.
655
+ # Not supported with reasoning models `o3` and `o4-mini`.
658
656
  #
659
657
  # Up to 4 sequences where the API will stop generating further tokens. The
660
658
  # returned text will not contain the stop sequence.
@@ -726,9 +724,9 @@ module OpenAI
726
724
  #
727
725
  # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
728
726
 
729
- # Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI
730
- # offers a wide range of models with different capabilities, performance
731
- # characteristics, and price points. Refer to the
727
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
728
+ # wide range of models with different capabilities, performance characteristics,
729
+ # and price points. Refer to the
732
730
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
733
731
  # compare available models.
734
732
  module Model
@@ -736,7 +734,7 @@ module OpenAI
736
734
 
737
735
  variant String
738
736
 
739
- # Model ID used to generate the response, like `gpt-6-astra` or `o3`. OpenAI
737
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI
740
738
  # offers a wide range of models with different capabilities, performance
741
739
  # characteristics, and price points. Refer to the [model guide](https://developers.openai.com/api/docs/models)
742
740
  # to browse and compare available models.
@@ -1130,7 +1128,7 @@ module OpenAI
1130
1128
  # @return [Array<Symbol>]
1131
1129
  end
1132
1130
 
1133
- # Not supported with latest reasoning models `o3` and `o4-mini`.
1131
+ # Not supported with reasoning models `o3` and `o4-mini`.
1134
1132
  #
1135
1133
  # Up to 4 sequences where the API will stop generating further tokens. The
1136
1134
  # returned text will not contain the stop sequence.
@@ -15,8 +15,7 @@ module OpenAI
15
15
 
16
16
  # @!attribute metadata
17
17
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
18
- # for storing additional information about the object in a structured format, and
19
- # querying for objects via API or the dashboard.
18
+ # for storing additional information about the object in a structured format.
20
19
  #
21
20
  # Keys are strings with a maximum length of 64 characters. Values are strings with
22
21
  # a maximum length of 512 characters.
@@ -29,8 +28,7 @@ module OpenAI
29
28
  #
30
29
  # @param metadata [Hash{Symbol=>String}, nil]
31
30
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
32
- # for storing additional information about the object in a structured format, and
33
- # querying for objects via API or the dashboard.
31
+ # for storing additional information about the object in a structured format.
34
32
  #
35
33
  # Keys are strings with a maximum length of 64 characters. Values are strings with
36
34
  # a maximum length of 512 characters.
@@ -134,7 +134,7 @@ module OpenAI
134
134
  optional :seed, Integer, nil?: true
135
135
 
136
136
  # @!attribute stop
137
- # Not supported with latest reasoning models `o3` and `o4-mini`.
137
+ # Not supported with reasoning models `o3` and `o4-mini`.
138
138
  #
139
139
  # Up to 4 sequences where the API will stop generating further tokens. The
140
140
  # returned text will not contain the stop sequence.
@@ -277,7 +277,7 @@ module OpenAI
277
277
  # response parameter to monitor changes in the backend.
278
278
  #
279
279
  # @param stop [String, Array<String>, nil]
280
- # Not supported with latest reasoning models `o3` and `o4-mini`.
280
+ # Not supported with reasoning models `o3` and `o4-mini`.
281
281
  #
282
282
  # Up to 4 sequences where the API will stop generating further tokens. The
283
283
  # returned text will not contain the stop sequence.
@@ -373,7 +373,7 @@ module OpenAI
373
373
  ArrayOfToken2DArray = OpenAI::Internal::Type::ArrayOf[OpenAI::Internal::Type::ArrayOf[Integer]]
374
374
  end
375
375
 
376
- # Not supported with latest reasoning models `o3` and `o4-mini`.
376
+ # Not supported with reasoning models `o3` and `o4-mini`.
377
377
  #
378
378
  # Up to 4 sequences where the API will stop generating further tokens. The
379
379
  # returned text will not contain the stop sequence.
@@ -21,8 +21,7 @@ module OpenAI
21
21
 
22
22
  # @!attribute metadata
23
23
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
24
- # for storing additional information about the object in a structured format, and
25
- # querying for objects via API or the dashboard.
24
+ # for storing additional information about the object in a structured format.
26
25
  #
27
26
  # Keys are strings with a maximum length of 64 characters. Values are strings with
28
27
  # a maximum length of 512 characters.
@@ -30,19 +29,27 @@ module OpenAI
30
29
  # @return [Hash{Symbol=>String}, nil]
31
30
  optional :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true
32
31
 
33
- # @!method initialize(items: nil, metadata: nil, request_options: {})
32
+ # @!attribute safety_identifier
33
+ # A stable identifier used for safety monitoring and abuse detection.
34
+ #
35
+ # @return [String, nil]
36
+ optional :safety_identifier, String, nil?: true
37
+
38
+ # @!method initialize(items: nil, metadata: nil, safety_identifier: nil, request_options: {})
34
39
  # @param items [Array<OpenAI::Models::Responses::EasyInputMessage, OpenAI::Models::Responses::ResponseInputItem::Message, OpenAI::Models::Responses::ResponseOutputMessage, OpenAI::Models::Responses::ResponseFileSearchToolCall, OpenAI::Models::Responses::ResponseComputerToolCall, OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput, OpenAI::Models::Responses::ResponseFunctionWebSearch, OpenAI::Models::Responses::ResponseFunctionToolCall, OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput, OpenAI::Models::Responses::ResponseInputItem::ToolSearchCall, OpenAI::Models::Responses::ResponseToolSearchOutputItemParam, OpenAI::Models::Responses::ResponseInputItem::AdditionalTools, OpenAI::Models::Responses::ResponseConfigurationUpdateItemParam, OpenAI::Models::Responses::ResponseReasoningItem, OpenAI::Models::Responses::ResponseCompactionItemParam, OpenAI::Models::Responses::ResponseInputItem::ImageGenerationCall, OpenAI::Models::Responses::ResponseCodeInterpreterToolCall, OpenAI::Models::Responses::ResponseInputItem::LocalShellCall, OpenAI::Models::Responses::ResponseInputItem::LocalShellCallOutput, OpenAI::Models::Responses::ResponseInputItem::ShellCall, OpenAI::Models::Responses::ResponseInputItem::ShellCallOutput, OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCall, OpenAI::Models::Responses::ResponseInputItem::ApplyPatchCallOutput, OpenAI::Models::Responses::ResponseInputItem::McpListTools, OpenAI::Models::Responses::ResponseInputItem::McpApprovalRequest, OpenAI::Models::Responses::ResponseInputItem::McpApprovalResponse, OpenAI::Models::Responses::ResponseInputItem::McpCall, OpenAI::Models::Responses::ResponseCustomToolCallOutput, OpenAI::Models::Responses::ResponseCustomToolCall, OpenAI::Models::Responses::ResponseInputItem::CompactionTrigger, OpenAI::Models::Responses::ResponseInputItem::ItemReference, OpenAI::Models::Responses::ResponseInputItem::Program, OpenAI::Models::Responses::ResponseInputItem::ProgramOutput>, nil]
35
40
  # Initial items to include in the conversation context. You may add up to 20 items
36
41
  # at a time.
37
42
  #
38
43
  # @param metadata [Hash{Symbol=>String}, nil]
39
44
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
40
- # for storing additional information about the object in a structured format, and
41
- # querying for objects via API or the dashboard.
45
+ # for storing additional information about the object in a structured format.
42
46
  #
43
47
  # Keys are strings with a maximum length of 64 characters. Values are strings with
44
48
  # a maximum length of 512 characters.
45
49
  #
50
+ # @param safety_identifier [String, nil]
51
+ # A stable identifier used for safety monitoring and abuse detection.
52
+ #
46
53
  # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
47
54
  end
48
55
  end
@@ -28,8 +28,7 @@ module OpenAI
28
28
 
29
29
  # @!attribute metadata
30
30
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
31
- # for storing additional information about the object in a structured format, and
32
- # querying for objects via API or the dashboard.
31
+ # for storing additional information about the object in a structured format.
33
32
  #
34
33
  # Keys are strings with a maximum length of 64 characters. Values are strings with
35
34
  # a maximum length of 512 characters.
@@ -56,8 +55,7 @@ module OpenAI
56
55
  #
57
56
  # @param metadata [Hash{Symbol=>String}, nil]
58
57
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
59
- # for storing additional information about the object in a structured format, and
60
- # querying for objects via API or the dashboard.
58
+ # for storing additional information about the object in a structured format.
61
59
  #
62
60
  # Keys are strings with a maximum length of 64 characters. Values are strings with
63
61
  # a maximum length of 512 characters.
@@ -24,8 +24,7 @@ module OpenAI
24
24
 
25
25
  # @!attribute metadata
26
26
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
27
- # for storing additional information about the object in a structured format, and
28
- # querying for objects via API or the dashboard.
27
+ # for storing additional information about the object in a structured format.
29
28
  #
30
29
  # Keys are strings with a maximum length of 64 characters. Values are strings with
31
30
  # a maximum length of 512 characters.
@@ -60,7 +59,7 @@ module OpenAI
60
59
  #
61
60
  # - Improve the quality of my chatbot
62
61
  # - See how well my chatbot handles customer support
63
- # - Check if o4-mini is better at my usecase than gpt-6-astra
62
+ # - Compare how different models perform on the same task
64
63
  #
65
64
  # @param id [String]
66
65
  # Unique identifier for the evaluation.
@@ -73,8 +72,7 @@ module OpenAI
73
72
  #
74
73
  # @param metadata [Hash{Symbol=>String}, nil]
75
74
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
76
- # for storing additional information about the object in a structured format, and
77
- # querying for objects via API or the dashboard.
75
+ # for storing additional information about the object in a structured format.
78
76
  #
79
77
  # Keys are strings with a maximum length of 64 characters. Values are strings with
80
78
  # a maximum length of 512 characters.
@@ -127,8 +125,7 @@ module OpenAI
127
125
 
128
126
  # @!attribute metadata
129
127
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
130
- # for storing additional information about the object in a structured format, and
131
- # querying for objects via API or the dashboard.
128
+ # for storing additional information about the object in a structured format.
132
129
  #
133
130
  # Keys are strings with a maximum length of 64 characters. Values are strings with
134
131
  # a maximum length of 512 characters.
@@ -149,8 +146,7 @@ module OpenAI
149
146
  #
150
147
  # @param metadata [Hash{Symbol=>String}, nil]
151
148
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
152
- # for storing additional information about the object in a structured format, and
153
- # querying for objects via API or the dashboard.
149
+ # for storing additional information about the object in a structured format.
154
150
  #
155
151
  # Keys are strings with a maximum length of 64 characters. Values are strings with
156
152
  # a maximum length of 512 characters.
@@ -24,8 +24,7 @@ module OpenAI
24
24
 
25
25
  # @!attribute metadata
26
26
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
27
- # for storing additional information about the object in a structured format, and
28
- # querying for objects via API or the dashboard.
27
+ # for storing additional information about the object in a structured format.
29
28
  #
30
29
  # Keys are strings with a maximum length of 64 characters. Values are strings with
31
30
  # a maximum length of 512 characters.
@@ -60,7 +59,7 @@ module OpenAI
60
59
  #
61
60
  # - Improve the quality of my chatbot
62
61
  # - See how well my chatbot handles customer support
63
- # - Check if o4-mini is better at my usecase than gpt-6-astra
62
+ # - Compare how different models perform on the same task
64
63
  #
65
64
  # @param id [String]
66
65
  # Unique identifier for the evaluation.
@@ -73,8 +72,7 @@ module OpenAI
73
72
  #
74
73
  # @param metadata [Hash{Symbol=>String}, nil]
75
74
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
76
- # for storing additional information about the object in a structured format, and
77
- # querying for objects via API or the dashboard.
75
+ # for storing additional information about the object in a structured format.
78
76
  #
79
77
  # Keys are strings with a maximum length of 64 characters. Values are strings with
80
78
  # a maximum length of 512 characters.
@@ -127,8 +125,7 @@ module OpenAI
127
125
 
128
126
  # @!attribute metadata
129
127
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
130
- # for storing additional information about the object in a structured format, and
131
- # querying for objects via API or the dashboard.
128
+ # for storing additional information about the object in a structured format.
132
129
  #
133
130
  # Keys are strings with a maximum length of 64 characters. Values are strings with
134
131
  # a maximum length of 512 characters.
@@ -149,8 +146,7 @@ module OpenAI
149
146
  #
150
147
  # @param metadata [Hash{Symbol=>String}, nil]
151
148
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
152
- # for storing additional information about the object in a structured format, and
153
- # querying for objects via API or the dashboard.
149
+ # for storing additional information about the object in a structured format.
154
150
  #
155
151
  # Keys are strings with a maximum length of 64 characters. Values are strings with
156
152
  # a maximum length of 512 characters.
@@ -24,8 +24,7 @@ module OpenAI
24
24
 
25
25
  # @!attribute metadata
26
26
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
27
- # for storing additional information about the object in a structured format, and
28
- # querying for objects via API or the dashboard.
27
+ # for storing additional information about the object in a structured format.
29
28
  #
30
29
  # Keys are strings with a maximum length of 64 characters. Values are strings with
31
30
  # a maximum length of 512 characters.
@@ -60,7 +59,7 @@ module OpenAI
60
59
  #
61
60
  # - Improve the quality of my chatbot
62
61
  # - See how well my chatbot handles customer support
63
- # - Check if o4-mini is better at my usecase than gpt-6-astra
62
+ # - Compare how different models perform on the same task
64
63
  #
65
64
  # @param id [String]
66
65
  # Unique identifier for the evaluation.
@@ -73,8 +72,7 @@ module OpenAI
73
72
  #
74
73
  # @param metadata [Hash{Symbol=>String}, nil]
75
74
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
76
- # for storing additional information about the object in a structured format, and
77
- # querying for objects via API or the dashboard.
75
+ # for storing additional information about the object in a structured format.
78
76
  #
79
77
  # Keys are strings with a maximum length of 64 characters. Values are strings with
80
78
  # a maximum length of 512 characters.
@@ -127,8 +125,7 @@ module OpenAI
127
125
 
128
126
  # @!attribute metadata
129
127
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
130
- # for storing additional information about the object in a structured format, and
131
- # querying for objects via API or the dashboard.
128
+ # for storing additional information about the object in a structured format.
132
129
  #
133
130
  # Keys are strings with a maximum length of 64 characters. Values are strings with
134
131
  # a maximum length of 512 characters.
@@ -149,8 +146,7 @@ module OpenAI
149
146
  #
150
147
  # @param metadata [Hash{Symbol=>String}, nil]
151
148
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
152
- # for storing additional information about the object in a structured format, and
153
- # querying for objects via API or the dashboard.
149
+ # for storing additional information about the object in a structured format.
154
150
  #
155
151
  # Keys are strings with a maximum length of 64 characters. Values are strings with
156
152
  # a maximum length of 512 characters.
@@ -19,8 +19,7 @@ module OpenAI
19
19
 
20
20
  # @!attribute metadata
21
21
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
22
- # for storing additional information about the object in a structured format, and
23
- # querying for objects via API or the dashboard.
22
+ # for storing additional information about the object in a structured format.
24
23
  #
25
24
  # Keys are strings with a maximum length of 64 characters. Values are strings with
26
25
  # a maximum length of 512 characters.
@@ -37,8 +36,7 @@ module OpenAI
37
36
  #
38
37
  # @param metadata [Hash{Symbol=>String}, nil]
39
38
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
40
- # for storing additional information about the object in a structured format, and
41
- # querying for objects via API or the dashboard.
39
+ # for storing additional information about the object in a structured format.
42
40
  #
43
41
  # Keys are strings with a maximum length of 64 characters. Values are strings with
44
42
  # a maximum length of 512 characters.
@@ -14,8 +14,7 @@ module OpenAI
14
14
 
15
15
  # @!attribute metadata
16
16
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
17
- # for storing additional information about the object in a structured format, and
18
- # querying for objects via API or the dashboard.
17
+ # for storing additional information about the object in a structured format.
19
18
  #
20
19
  # Keys are strings with a maximum length of 64 characters. Values are strings with
21
20
  # a maximum length of 512 characters.
@@ -34,8 +33,7 @@ module OpenAI
34
33
  #
35
34
  # @param metadata [Hash{Symbol=>String}, nil]
36
35
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
37
- # for storing additional information about the object in a structured format, and
38
- # querying for objects via API or the dashboard.
36
+ # for storing additional information about the object in a structured format.
39
37
  #
40
38
  # Keys are strings with a maximum length of 64 characters. Values are strings with
41
39
  # a maximum length of 512 characters.
@@ -24,8 +24,7 @@ module OpenAI
24
24
 
25
25
  # @!attribute metadata
26
26
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
27
- # for storing additional information about the object in a structured format, and
28
- # querying for objects via API or the dashboard.
27
+ # for storing additional information about the object in a structured format.
29
28
  #
30
29
  # Keys are strings with a maximum length of 64 characters. Values are strings with
31
30
  # a maximum length of 512 characters.
@@ -60,7 +59,7 @@ module OpenAI
60
59
  #
61
60
  # - Improve the quality of my chatbot
62
61
  # - See how well my chatbot handles customer support
63
- # - Check if o4-mini is better at my usecase than gpt-6-astra
62
+ # - Compare how different models perform on the same task
64
63
  #
65
64
  # @param id [String]
66
65
  # Unique identifier for the evaluation.
@@ -73,8 +72,7 @@ module OpenAI
73
72
  #
74
73
  # @param metadata [Hash{Symbol=>String}, nil]
75
74
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
76
- # for storing additional information about the object in a structured format, and
77
- # querying for objects via API or the dashboard.
75
+ # for storing additional information about the object in a structured format.
78
76
  #
79
77
  # Keys are strings with a maximum length of 64 characters. Values are strings with
80
78
  # a maximum length of 512 characters.
@@ -127,8 +125,7 @@ module OpenAI
127
125
 
128
126
  # @!attribute metadata
129
127
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
130
- # for storing additional information about the object in a structured format, and
131
- # querying for objects via API or the dashboard.
128
+ # for storing additional information about the object in a structured format.
132
129
  #
133
130
  # Keys are strings with a maximum length of 64 characters. Values are strings with
134
131
  # a maximum length of 512 characters.
@@ -149,8 +146,7 @@ module OpenAI
149
146
  #
150
147
  # @param metadata [Hash{Symbol=>String}, nil]
151
148
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
152
- # for storing additional information about the object in a structured format, and
153
- # querying for objects via API or the dashboard.
149
+ # for storing additional information about the object in a structured format.
154
150
  #
155
151
  # Keys are strings with a maximum length of 64 characters. Values are strings with
156
152
  # a maximum length of 512 characters.
@@ -26,7 +26,7 @@ module OpenAI
26
26
  optional :input_messages, union: -> { OpenAI::Evals::CreateEvalCompletionsRunDataSource::InputMessages }
27
27
 
28
28
  # @!attribute model
29
- # The name of the model to use for generating completions (e.g. "o3-mini").
29
+ # The model to use to sample outputs with the Chat Completions API.
30
30
  #
31
31
  # @return [String, nil]
32
32
  optional :model, String
@@ -52,7 +52,7 @@ module OpenAI
52
52
  # namespace.
53
53
  #
54
54
  # @param model [String]
55
- # The name of the model to use for generating completions (e.g. "o3-mini").
55
+ # The model to use to sample outputs with the Chat Completions API.
56
56
  #
57
57
  # @param sampling_params [OpenAI::Models::Evals::CreateEvalCompletionsRunDataSource::SamplingParams]
58
58
 
@@ -165,8 +165,7 @@ module OpenAI
165
165
 
166
166
  # @!attribute metadata
167
167
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
168
- # for storing additional information about the object in a structured format, and
169
- # querying for objects via API or the dashboard.
168
+ # for storing additional information about the object in a structured format.
170
169
  #
171
170
  # Keys are strings with a maximum length of 64 characters. Values are strings with
172
171
  # a maximum length of 512 characters.
@@ -175,7 +174,7 @@ module OpenAI
175
174
  optional :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true
176
175
 
177
176
  # @!attribute model
178
- # An optional model to filter by (e.g., 'gpt-6-astra').
177
+ # An optional model to filter by (e.g., 'gpt-4.1-mini-2025-04-14').
179
178
  #
180
179
  # @return [String, nil]
181
180
  optional :model, String, nil?: true
@@ -194,14 +193,13 @@ module OpenAI
194
193
  #
195
194
  # @param metadata [Hash{Symbol=>String}, nil]
196
195
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
197
- # for storing additional information about the object in a structured format, and
198
- # querying for objects via API or the dashboard.
196
+ # for storing additional information about the object in a structured format.
199
197
  #
200
198
  # Keys are strings with a maximum length of 64 characters. Values are strings with
201
199
  # a maximum length of 512 characters.
202
200
  #
203
201
  # @param model [String, nil]
204
- # An optional model to filter by (e.g., 'gpt-6-astra').
202
+ # An optional model to filter by (e.g., 'gpt-4.1-mini-2025-04-14').
205
203
  #
206
204
  # @param type [Symbol, :stored_completions]
207
205
  # The type of source. Always `stored_completions`.