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
@@ -44,14 +44,16 @@ module OpenAI
44
44
  # API.
45
45
  attr_accessor delegation: OpenAI::Models::Live::MediaSessionConfig::delegation?
46
46
 
47
- # Whole seconds of inactivity after which a Live WebRTC session with a speech wake
48
- # policy pauses inference. The connection and conversation history are retained.
49
- # Omit to keep inference active until the session ends.
47
+ # Whole seconds of inactivity after which a Live WebRTC or SIP session with a
48
+ # speech wake policy pauses inference. The connection and conversation history are
49
+ # retained. Omit to keep inference active after the first wake until the session
50
+ # ends.
50
51
  attr_reader idle_timeout_s: Integer?
51
52
 
52
- # Whole seconds of inactivity after which a Live WebRTC session with a speech wake
53
- # policy pauses inference. The connection and conversation history are retained.
54
- # Omit to keep inference active until the session ends.
53
+ # Whole seconds of inactivity after which a Live WebRTC or SIP session with a
54
+ # speech wake policy pauses inference. The connection and conversation history are
55
+ # retained. Omit to keep inference active after the first wake until the session
56
+ # ends.
55
57
  def idle_timeout_s=: (Integer) -> Integer
56
58
 
57
59
  # Ordered text-only history supplied before startup. Supports developer, user, and
@@ -101,12 +103,10 @@ module OpenAI
101
103
  ::Array[OpenAI::Live::DecisionTrigger]
102
104
  ) -> ::Array[OpenAI::Live::DecisionTrigger]
103
105
 
104
- # Inference starts when the Live WebRTC session connects. After an idle pause,
105
- # microphone speech resumes inference.
106
+ # Starts inference when microphone speech is detected.
106
107
  attr_reader wake_policy: OpenAI::Live::MediaSessionConfig::WakePolicy?
107
108
 
108
- # Inference starts when the Live WebRTC session connects. After an idle pause,
109
- # microphone speech resumes inference.
109
+ # Starts inference when microphone speech is detected.
110
110
  def wake_policy=: (
111
111
  OpenAI::Live::MediaSessionConfig::WakePolicy
112
112
  ) -> OpenAI::Live::MediaSessionConfig::WakePolicy
@@ -125,9 +125,10 @@ module OpenAI
125
125
  # application; use `responses` or `decisions` to delegate to the corresponding
126
126
  # API.
127
127
  # @param idle_timeout_s
128
- # Whole seconds of inactivity after which a Live WebRTC session with a speech wake
129
- # policy pauses inference. The connection and conversation history are retained.
130
- # Omit to keep inference active until the session ends.
128
+ # Whole seconds of inactivity after which a Live WebRTC or SIP session with a
129
+ # speech wake policy pauses inference. The connection and conversation history are
130
+ # retained. Omit to keep inference active after the first wake until the session
131
+ # ends.
131
132
  # @param input
132
133
  # Ordered text-only history supplied before startup. Supports developer, user, and
133
134
  # assistant messages with one text part each; at most 128 messages and a
@@ -152,8 +153,7 @@ module OpenAI
152
153
  # configuration, send a list to replace it, or send an empty list to disable
153
154
  # triggers.
154
155
  # @param wake_policy
155
- # Inference starts when the Live WebRTC session connects. After an idle pause,
156
- # microphone speech resumes inference.
156
+ # Starts inference when microphone speech is detected.
157
157
  def initialize: (
158
158
  model: OpenAI::Models::Live::MediaSessionConfig::model,
159
159
  ?audio: OpenAI::Live::MediaSessionConfig::Audio,
@@ -376,19 +376,19 @@ module OpenAI
376
376
  # The wake policy type, always `speech`.
377
377
  attr_accessor type: :speech
378
378
 
379
- # The speech detection threshold for resuming paused inference, from 0 to 1
380
- # inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
379
+ # The speech detection threshold for the first wake and each later wake, from 0 to
380
+ # 1 inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
381
381
  # This setting is independent of active turn detection.
382
382
  attr_reader vad_threshold: Float?
383
383
 
384
- # The speech detection threshold for resuming paused inference, from 0 to 1
385
- # inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
384
+ # The speech detection threshold for the first wake and each later wake, from 0 to
385
+ # 1 inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
386
386
  # This setting is independent of active turn detection.
387
387
  def vad_threshold=: (Float) -> Float
388
388
 
389
389
  # @param vad_threshold
390
- # The speech detection threshold for resuming paused inference, from 0 to 1
391
- # inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
390
+ # The speech detection threshold for the first wake and each later wake, from 0 to
391
+ # 1 inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
392
392
  # This setting is independent of active turn detection.
393
393
  # @param type
394
394
  # The wake policy type, always `speech`.
@@ -797,7 +797,10 @@ module OpenAI
797
797
  # Network access policy for the container.
798
798
  attr_accessor network_policy: OpenAI::Models::Live::ResponsesDelegationConfig::Tool::Shell::Environment::ContainerAuto::network_policy?
799
799
 
800
- # An optional list of skills referenced by id or inline data.
800
+ # An optional list of skills referenced by id or inline data. Across all inline
801
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
802
+ # must total at most 70,254,592 characters, including line breaks. Skill
803
+ # references do not count toward these limits.
801
804
  attr_accessor skills: ::Array[OpenAI::Models::Live::ResponsesDelegationConfig::Tool::Shell::Environment::ContainerAuto::skill]?
802
805
 
803
806
  # @param file_ids
@@ -807,7 +810,10 @@ module OpenAI
807
810
  # @param network_policy
808
811
  # Network access policy for the container.
809
812
  # @param skills
810
- # An optional list of skills referenced by id or inline data.
813
+ # An optional list of skills referenced by id or inline data. Across all inline
814
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
815
+ # must total at most 70,254,592 characters, including line breaks. Skill
816
+ # references do not count toward these limits.
811
817
  # @param type
812
818
  # Automatically creates a container for this request
813
819
  def initialize: (
@@ -803,7 +803,10 @@ module OpenAI
803
803
  # Network access policy for the container.
804
804
  attr_accessor network_policy: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::network_policy?
805
805
 
806
- # An optional list of skills referenced by id or inline data.
806
+ # An optional list of skills referenced by id or inline data. Across all inline
807
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
808
+ # must total at most 70,254,592 characters, including line breaks. Skill
809
+ # references do not count toward these limits.
807
810
  attr_accessor skills: ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::skill]?
808
811
 
809
812
  # @param file_ids
@@ -813,7 +816,10 @@ module OpenAI
813
816
  # @param network_policy
814
817
  # Network access policy for the container.
815
818
  # @param skills
816
- # An optional list of skills referenced by id or inline data.
819
+ # An optional list of skills referenced by id or inline data. Across all inline
820
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
821
+ # must total at most 70,254,592 characters, including line breaks. Skill
822
+ # references do not count toward these limits.
817
823
  # @param type
818
824
  # Automatically creates a container for this request
819
825
  def initialize: (
@@ -18,16 +18,18 @@ module OpenAI
18
18
  OpenAI::Models::Realtime::realtime_audio_formats
19
19
  ) -> OpenAI::Models::Realtime::realtime_audio_formats
20
20
 
21
- # Configuration for input audio noise reduction. This can be set to `null` to turn
22
- # off. Noise reduction filters audio added to the input audio buffer before it is
23
- # sent to VAD and the model. Filtering the audio can improve VAD and turn
21
+ # When you supply a `noise_reduction` object, you must set `type` to `near_field`
22
+ # or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise
23
+ # reduction. Noise reduction filters audio added to the input audio buffer before
24
+ # it is sent to VAD and the model. Filtering the audio can improve VAD and turn
24
25
  # detection accuracy (reducing false positives) and model performance by improving
25
26
  # perception of the input audio.
26
27
  attr_reader noise_reduction: OpenAI::Realtime::RealtimeAudioConfigInput::NoiseReduction?
27
28
 
28
- # Configuration for input audio noise reduction. This can be set to `null` to turn
29
- # off. Noise reduction filters audio added to the input audio buffer before it is
30
- # sent to VAD and the model. Filtering the audio can improve VAD and turn
29
+ # When you supply a `noise_reduction` object, you must set `type` to `near_field`
30
+ # or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise
31
+ # reduction. Noise reduction filters audio added to the input audio buffer before
32
+ # it is sent to VAD and the model. Filtering the audio can improve VAD and turn
31
33
  # detection accuracy (reducing false positives) and model performance by improving
32
34
  # perception of the input audio.
33
35
  def noise_reduction=: (
@@ -77,9 +79,10 @@ module OpenAI
77
79
  # @param format_
78
80
  # The format of the input audio.
79
81
  # @param noise_reduction
80
- # Configuration for input audio noise reduction. This can be set to `null` to turn
81
- # off. Noise reduction filters audio added to the input audio buffer before it is
82
- # sent to VAD and the model. Filtering the audio can improve VAD and turn
82
+ # When you supply a `noise_reduction` object, you must set `type` to `near_field`
83
+ # or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise
84
+ # reduction. Noise reduction filters audio added to the input audio buffer before
85
+ # it is sent to VAD and the model. Filtering the audio can improve VAD and turn
83
86
  # detection accuracy (reducing false positives) and model performance by improving
84
87
  # perception of the input audio.
85
88
  # @param transcription
@@ -58,8 +58,7 @@ module OpenAI
58
58
  ) -> OpenAI::Models::Realtime::RealtimeResponse::max_output_tokens
59
59
 
60
60
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
61
- # for storing additional information about the object in a structured format, and
62
- # querying for objects via API or the dashboard.
61
+ # for storing additional information about the object in a structured format.
63
62
  #
64
63
  # Keys are strings with a maximum length of 64 characters. Values are strings with
65
64
  # a maximum length of 512 characters.
@@ -143,8 +142,7 @@ module OpenAI
143
142
  # tool calls, that was used in this response.
144
143
  # @param metadata
145
144
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
146
- # for storing additional information about the object in a structured format, and
147
- # querying for objects via API or the dashboard.
145
+ # for storing additional information about the object in a structured format.
148
146
  #
149
147
  # Keys are strings with a maximum length of 64 characters. Values are strings with
150
148
  # a maximum length of 512 characters.
@@ -93,8 +93,7 @@ module OpenAI
93
93
  ) -> OpenAI::Models::Realtime::RealtimeResponseCreateParams::max_output_tokens
94
94
 
95
95
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
96
- # for storing additional information about the object in a structured format, and
97
- # querying for objects via API or the dashboard.
96
+ # for storing additional information about the object in a structured format.
98
97
  #
99
98
  # Keys are strings with a maximum length of 64 characters. Values are strings with
100
99
  # a maximum length of 512 characters.
@@ -182,8 +181,7 @@ module OpenAI
182
181
  # `inf` for the maximum available tokens for a given model. Defaults to `inf`.
183
182
  # @param metadata
184
183
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
185
- # for storing additional information about the object in a structured format, and
186
- # querying for objects via API or the dashboard.
184
+ # for storing additional information about the object in a structured format.
187
185
  #
188
186
  # Keys are strings with a maximum length of 64 characters. Values are strings with
189
187
  # a maximum length of 512 characters.
@@ -8,7 +8,9 @@ module OpenAI
8
8
  ?object: :"response.compaction",
9
9
  output: ::Array[OpenAI::Models::Responses::response_item],
10
10
  usage: OpenAI::Responses::ResponseUsage,
11
- ?image: OpenAI::Responses::CompactedResponse::Image
11
+ ?image: OpenAI::Responses::CompactedResponse::Image,
12
+ ?safety_identifier: String?,
13
+ ?service_tier: String
12
14
  }
13
15
 
14
16
  class CompactedResponse < OpenAI::Internal::Type::BaseModel
@@ -35,6 +37,15 @@ module OpenAI
35
37
  OpenAI::Responses::CompactedResponse::Image
36
38
  ) -> OpenAI::Responses::CompactedResponse::Image
37
39
 
40
+ # A stable identifier that was used for safety monitoring and abuse detection.
41
+ attr_accessor safety_identifier: String?
42
+
43
+ # The service tier used for compaction, when reported.
44
+ attr_reader service_tier: String?
45
+
46
+ # The service tier used for compaction, when reported.
47
+ def service_tier=: (String) -> String
48
+
38
49
  # @param id
39
50
  # The unique identifier for the compacted response.
40
51
  # @param created_at
@@ -45,6 +56,10 @@ module OpenAI
45
56
  # @param usage
46
57
  # Token accounting for the compaction pass, including cached, reasoning, and total
47
58
  # tokens.
59
+ # @param safety_identifier
60
+ # A stable identifier that was used for safety monitoring and abuse detection.
61
+ # @param service_tier
62
+ # The service tier used for compaction, when reported.
48
63
  # @param object
49
64
  # The object type. Always `response.compaction`.
50
65
  def initialize: (
@@ -53,6 +68,8 @@ module OpenAI
53
68
  output: ::Array[OpenAI::Models::Responses::response_item],
54
69
  usage: OpenAI::Responses::ResponseUsage,
55
70
  ?image: OpenAI::Responses::CompactedResponse::Image,
71
+ ?safety_identifier: String?,
72
+ ?service_tier: String,
56
73
  ?object: :"response.compaction"
57
74
  ) -> void
58
75
 
@@ -62,7 +79,9 @@ module OpenAI
62
79
  ?object: :"response.compaction",
63
80
  output: ::Array[OpenAI::Models::Responses::response_item],
64
81
  usage: OpenAI::Responses::ResponseUsage,
65
- ?image: OpenAI::Responses::CompactedResponse::Image
82
+ ?image: OpenAI::Responses::CompactedResponse::Image,
83
+ ?safety_identifier: String?,
84
+ ?service_tier: String
66
85
  }
67
86
 
68
87
  type image =
@@ -31,10 +31,16 @@ module OpenAI
31
31
  OpenAI::Models::Responses::ContainerAuto::network_policy
32
32
  ) -> OpenAI::Models::Responses::ContainerAuto::network_policy
33
33
 
34
- # An optional list of skills referenced by id or inline data.
34
+ # An optional list of skills referenced by id or inline data. Across all inline
35
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
36
+ # must total at most 70,254,592 characters, including line breaks. Skill
37
+ # references do not count toward these limits.
35
38
  attr_reader skills: ::Array[OpenAI::Models::Responses::ContainerAuto::skill]?
36
39
 
37
- # An optional list of skills referenced by id or inline data.
40
+ # An optional list of skills referenced by id or inline data. Across all inline
41
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
42
+ # must total at most 70,254,592 characters, including line breaks. Skill
43
+ # references do not count toward these limits.
38
44
  def skills=: (
39
45
  ::Array[OpenAI::Models::Responses::ContainerAuto::skill]
40
46
  ) -> ::Array[OpenAI::Models::Responses::ContainerAuto::skill]
@@ -46,7 +52,10 @@ module OpenAI
46
52
  # @param network_policy
47
53
  # Network access policy for the container.
48
54
  # @param skills
49
- # An optional list of skills referenced by id or inline data.
55
+ # An optional list of skills referenced by id or inline data. Across all inline
56
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
57
+ # must total at most 70,254,592 characters, including line breaks. Skill
58
+ # references do not count toward these limits.
50
59
  # @param type
51
60
  # Automatically creates a container for this request
52
61
  def initialize: (
@@ -67,16 +67,15 @@ module OpenAI
67
67
  attr_accessor instructions: OpenAI::Models::Responses::Response::instructions?
68
68
 
69
69
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
70
- # for storing additional information about the object in a structured format, and
71
- # querying for objects via API or the dashboard.
70
+ # for storing additional information about the object in a structured format.
72
71
  #
73
72
  # Keys are strings with a maximum length of 64 characters. Values are strings with
74
73
  # a maximum length of 512 characters.
75
74
  attr_accessor metadata: OpenAI::Models::metadata?
76
75
 
77
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
78
- # range of models with different capabilities, performance characteristics, and
79
- # price points. Refer to the
76
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
77
+ # wide range of models with different capabilities, performance characteristics,
78
+ # and price points. Refer to the
80
79
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
81
80
  # compare available models.
82
81
  attr_accessor model: OpenAI::Models::responses_model
@@ -381,15 +380,14 @@ module OpenAI
381
380
  # swap out system (or developer) messages in new responses.
382
381
  # @param metadata
383
382
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
384
- # for storing additional information about the object in a structured format, and
385
- # querying for objects via API or the dashboard.
383
+ # for storing additional information about the object in a structured format.
386
384
  #
387
385
  # Keys are strings with a maximum length of 64 characters. Values are strings with
388
386
  # a maximum length of 512 characters.
389
387
  # @param model
390
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
391
- # range of models with different capabilities, performance characteristics, and
392
- # price points. Refer to the
388
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
389
+ # wide range of models with different capabilities, performance characteristics,
390
+ # and price points. Refer to the
393
391
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
394
392
  # compare available models.
395
393
  # @param output
@@ -11,6 +11,7 @@ module OpenAI
11
11
  ?prompt_cache_key: String?,
12
12
  ?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
13
13
  ?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
14
+ ?safety_identifier: String?,
14
15
  ?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
15
16
  ?request_options: OpenAI::request_opts
16
17
  }
@@ -19,9 +20,9 @@ module OpenAI
19
20
  extend OpenAI::Internal::Type::RequestParameters::Converter
20
21
  include OpenAI::Internal::Type::RequestParameters
21
22
 
22
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
23
- # range of models with different capabilities, performance characteristics, and
24
- # price points. Refer to the
23
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
24
+ # wide range of models with different capabilities, performance characteristics,
25
+ # and price points. Refer to the
25
26
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
26
27
  # compare available models.
27
28
  attr_accessor model: OpenAI::Models::Responses::ResponseCompactParams::model?
@@ -66,6 +67,9 @@ module OpenAI
66
67
  # How long to retain a prompt cache entry created by this request.
67
68
  attr_accessor prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?
68
69
 
70
+ # A stable identifier used for safety monitoring and abuse detection.
71
+ attr_accessor safety_identifier: String?
72
+
69
73
  # Specifies the processing type used for serving the request. - If set to 'auto',
70
74
  # then the request will be processed with the service tier configured in the
71
75
  # Project settings. Unless otherwise configured, the Project will use 'default'. -
@@ -85,9 +89,9 @@ module OpenAI
85
89
  attr_accessor service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?
86
90
 
87
91
  # @param model
88
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
89
- # range of models with different capabilities, performance characteristics, and
90
- # price points. Refer to the
92
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
93
+ # wide range of models with different capabilities, performance characteristics,
94
+ # and price points. Refer to the
91
95
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
92
96
  # compare available models.
93
97
  # @param image
@@ -118,6 +122,8 @@ module OpenAI
118
122
  # for current details.
119
123
  # @param prompt_cache_retention
120
124
  # How long to retain a prompt cache entry created by this request.
125
+ # @param safety_identifier
126
+ # A stable identifier used for safety monitoring and abuse detection.
121
127
  # @param service_tier
122
128
  # Specifies the processing type used for serving the request. - If set to 'auto',
123
129
  # then the request will be processed with the service tier configured in the
@@ -144,6 +150,7 @@ module OpenAI
144
150
  ?prompt_cache_key: String?,
145
151
  ?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
146
152
  ?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
153
+ ?safety_identifier: String?,
147
154
  ?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
148
155
  ?request_options: OpenAI::request_opts
149
156
  ) -> void
@@ -157,6 +164,7 @@ module OpenAI
157
164
  ?prompt_cache_key: String?,
158
165
  ?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
159
166
  ?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
167
+ ?safety_identifier: String?,
160
168
  ?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
161
169
  ?request_options: OpenAI::RequestOptions
162
170
  }
@@ -147,23 +147,22 @@ module OpenAI
147
147
  attr_accessor max_tool_calls: Integer?
148
148
 
149
149
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
150
- # for storing additional information about the object in a structured format, and
151
- # querying for objects via API or the dashboard.
150
+ # for storing additional information about the object in a structured format.
152
151
  #
153
152
  # Keys are strings with a maximum length of 64 characters. Values are strings with
154
153
  # a maximum length of 512 characters.
155
154
  attr_accessor metadata: OpenAI::Models::metadata?
156
155
 
157
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
158
- # range of models with different capabilities, performance characteristics, and
159
- # price points. Refer to the
156
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
157
+ # wide range of models with different capabilities, performance characteristics,
158
+ # and price points. Refer to the
160
159
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
161
160
  # compare available models.
162
161
  attr_reader model: OpenAI::Models::responses_model?
163
162
 
164
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
165
- # range of models with different capabilities, performance characteristics, and
166
- # price points. Refer to the
163
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
164
+ # wide range of models with different capabilities, performance characteristics,
165
+ # and price points. Refer to the
167
166
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
168
167
  # compare available models.
169
168
  def model=: (
@@ -466,15 +465,14 @@ module OpenAI
466
465
  # ignored.
467
466
  # @param metadata
468
467
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
469
- # for storing additional information about the object in a structured format, and
470
- # querying for objects via API or the dashboard.
468
+ # for storing additional information about the object in a structured format.
471
469
  #
472
470
  # Keys are strings with a maximum length of 64 characters. Values are strings with
473
471
  # a maximum length of 512 characters.
474
472
  # @param model
475
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
476
- # range of models with different capabilities, performance characteristics, and
477
- # price points. Refer to the
473
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
474
+ # wide range of models with different capabilities, performance characteristics,
475
+ # and price points. Refer to the
478
476
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
479
477
  # compare available models.
480
478
  # @param moderation
@@ -167,23 +167,22 @@ module OpenAI
167
167
  attr_accessor max_tool_calls: Integer?
168
168
 
169
169
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
170
- # for storing additional information about the object in a structured format, and
171
- # querying for objects via API or the dashboard.
170
+ # for storing additional information about the object in a structured format.
172
171
  #
173
172
  # Keys are strings with a maximum length of 64 characters. Values are strings with
174
173
  # a maximum length of 512 characters.
175
174
  attr_accessor metadata: OpenAI::Models::metadata?
176
175
 
177
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
178
- # range of models with different capabilities, performance characteristics, and
179
- # price points. Refer to the
176
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
177
+ # wide range of models with different capabilities, performance characteristics,
178
+ # and price points. Refer to the
180
179
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
181
180
  # compare available models.
182
181
  attr_reader model: OpenAI::Models::responses_model?
183
182
 
184
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
185
- # range of models with different capabilities, performance characteristics, and
186
- # price points. Refer to the
183
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
184
+ # wide range of models with different capabilities, performance characteristics,
185
+ # and price points. Refer to the
187
186
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
188
187
  # compare available models.
189
188
  def model=: (
@@ -510,15 +509,14 @@ module OpenAI
510
509
  # ignored.
511
510
  # @param metadata
512
511
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
513
- # for storing additional information about the object in a structured format, and
514
- # querying for objects via API or the dashboard.
512
+ # for storing additional information about the object in a structured format.
515
513
  #
516
514
  # Keys are strings with a maximum length of 64 characters. Values are strings with
517
515
  # a maximum length of 512 characters.
518
516
  # @param model
519
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
520
- # range of models with different capabilities, performance characteristics, and
521
- # price points. Refer to the
517
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
518
+ # wide range of models with different capabilities, performance characteristics,
519
+ # and price points. Refer to the
522
520
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
523
521
  # compare available models.
524
522
  # @param moderation
@@ -28,8 +28,7 @@ module OpenAI
28
28
  attr_accessor last_active_at: Integer?
29
29
 
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.
@@ -68,8 +67,7 @@ module OpenAI
68
67
  # The Unix timestamp (in seconds) for when the vector store was last active.
69
68
  # @param metadata
70
69
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
71
- # for storing additional information about the object in a structured format, and
72
- # querying for objects via API or the dashboard.
70
+ # for storing additional information about the object in a structured format.
73
71
  #
74
72
  # Keys are strings with a maximum length of 64 characters. Values are strings with
75
73
  # a maximum length of 512 characters.
@@ -52,8 +52,7 @@ module OpenAI
52
52
  def file_ids=: (::Array[String]) -> ::Array[String]
53
53
 
54
54
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
55
- # for storing additional information about the object in a structured format, and
56
- # querying for objects via API or the dashboard.
55
+ # for storing additional information about the object in a structured format.
57
56
  #
58
57
  # Keys are strings with a maximum length of 64 characters. Values are strings with
59
58
  # a maximum length of 512 characters.
@@ -79,8 +78,7 @@ module OpenAI
79
78
  # can access files.
80
79
  # @param metadata
81
80
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
82
- # for storing additional information about the object in a structured format, and
83
- # querying for objects via API or the dashboard.
81
+ # for storing additional information about the object in a structured format.
84
82
  #
85
83
  # Keys are strings with a maximum length of 64 characters. Values are strings with
86
84
  # a maximum length of 512 characters.
@@ -19,8 +19,7 @@ module OpenAI
19
19
  attr_accessor expires_after: OpenAI::VectorStoreUpdateParams::ExpiresAfter?
20
20
 
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.
@@ -33,8 +32,7 @@ module OpenAI
33
32
  # The expiration policy for a vector store.
34
33
  # @param metadata
35
34
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
36
- # for storing additional information about the object in a structured format, and
37
- # querying for objects via API or the dashboard.
35
+ # for storing additional information about the object in a structured format.
38
36
  #
39
37
  # Keys are strings with a maximum length of 64 characters. Values are strings with
40
38
  # a maximum length of 512 characters.
@@ -14,6 +14,7 @@ module OpenAI
14
14
  currency: OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::currency,
15
15
  interval: OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::interval,
16
16
  threshold_amount: Integer,
17
+ ?notification_channel: OpenAI::Admin::Organization::Projects::SpendLimitUpdateParams::NotificationChannel?,
17
18
  ?request_options: OpenAI::request_opts
18
19
  ) -> OpenAI::Admin::Organization::Projects::ProjectSpendLimit
19
20
 
@@ -11,6 +11,7 @@ module OpenAI
11
11
  currency: OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::currency,
12
12
  interval: OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::interval,
13
13
  threshold_amount: Integer,
14
+ ?notification_channel: OpenAI::Admin::Organization::SpendLimitUpdateParams::NotificationChannel?,
14
15
  ?request_options: OpenAI::request_opts
15
16
  ) -> OpenAI::Admin::Organization::OrganizationSpendLimit
16
17
 
@@ -57,6 +57,7 @@ module OpenAI
57
57
  ?prompt_cache_options: OpenAI::Beta::Agents::SessionUpdateParams::PromptCacheOptions?,
58
58
  ?review: OpenAI::Models::Beta::Agents::SessionUpdateParams::review,
59
59
  ?spend_control: OpenAI::Beta::Agents::SessionUpdateParams::SpendControl?,
60
+ ?vault_ids: ::Array[String]?,
60
61
  ?request_options: OpenAI::request_opts
61
62
  ) -> OpenAI::Beta::AgentSession
62
63
 
@@ -135,6 +135,7 @@ module OpenAI
135
135
  ?prompt_cache_key: String?,
136
136
  ?prompt_cache_options: OpenAI::Beta::ResponseCompactParams::PromptCacheOptions?,
137
137
  ?prompt_cache_retention: OpenAI::Models::Beta::ResponseCompactParams::prompt_cache_retention?,
138
+ ?safety_identifier: String?,
138
139
  ?service_tier: OpenAI::Models::Beta::ResponseCompactParams::service_tier?,
139
140
  ?betas: ::Array[OpenAI::Models::Beta::ResponseCompactParams::beta],
140
141
  ?request_options: OpenAI::request_opts
@@ -6,6 +6,7 @@ module OpenAI
6
6
  def create: (
7
7
  ?items: ::Array[OpenAI::Models::Responses::response_input_item]?,
8
8
  ?metadata: OpenAI::Models::metadata?,
9
+ ?safety_identifier: String?,
9
10
  ?request_options: OpenAI::request_opts
10
11
  ) -> OpenAI::Conversations::Conversation
11
12