openai 0.92.0 → 0.93.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 (1311) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/README.md +1 -1
  4. data/lib/openai/client.rb +1 -0
  5. data/lib/openai/models/admin/organization/audit_log_list_params.rb +2 -0
  6. data/lib/openai/models/admin/organization/audit_log_list_response.rb +116 -1
  7. data/lib/openai/models/admin/organization/aws_external_storage_provider.rb +49 -0
  8. data/lib/openai/models/admin/organization/azure_external_storage_provider.rb +55 -0
  9. data/lib/openai/models/admin/organization/external_storage_configuration.rb +82 -0
  10. data/lib/openai/models/admin/organization/external_storage_create_params.rb +105 -0
  11. data/lib/openai/models/admin/organization/external_storage_delete_params.rb +24 -0
  12. data/lib/openai/models/admin/organization/external_storage_deleted.rb +32 -0
  13. data/lib/openai/models/admin/organization/external_storage_list_params.rb +58 -0
  14. data/lib/openai/models/admin/organization/external_storage_retrieve_params.rb +24 -0
  15. data/lib/openai/models/admin/organization/external_storage_validate_params.rb +24 -0
  16. data/lib/openai/models/beta/agent_create_params.rb +13 -9
  17. data/lib/openai/models/beta/agent_reasoning.rb +9 -6
  18. data/lib/openai/models/beta/agent_reasoning_item.rb +2 -2
  19. data/lib/openai/models/beta/agent_reasoning_param.rb +9 -6
  20. data/lib/openai/models/beta/agent_session.rb +4 -2
  21. data/lib/openai/models/beta/agent_session_assistant_message.rb +3 -3
  22. data/lib/openai/models/beta/agent_session_environment_reset_event.rb +67 -0
  23. data/lib/openai/models/beta/agent_session_environment_state.rb +3 -3
  24. data/lib/openai/models/beta/agent_session_event.rb +4 -1
  25. data/lib/openai/models/beta/agent_session_input_param.rb +2 -2
  26. data/lib/openai/models/beta/agent_session_item.rb +2 -2
  27. data/lib/openai/models/beta/agent_session_message.rb +3 -3
  28. data/lib/openai/models/beta/agent_session_turn_cancelled_event.rb +2 -2
  29. data/lib/openai/models/beta/agent_session_turn_completed_event.rb +2 -2
  30. data/lib/openai/models/beta/agent_session_turn_failed_event.rb +2 -2
  31. data/lib/openai/models/beta/agent_text_param.rb +8 -5
  32. data/lib/openai/models/beta/agent_tool.rb +3 -3
  33. data/lib/openai/models/beta/agent_tool_param.rb +18 -12
  34. data/lib/openai/models/beta/agent_update_params.rb +6 -4
  35. data/lib/openai/models/beta/agent_web_search_call_item.rb +2 -2
  36. data/lib/openai/models/beta/agents/environments/template_create_params.rb +10 -7
  37. data/lib/openai/models/beta/agents/environments/template_update_params.rb +13 -7
  38. data/lib/openai/models/beta/agents/session_create_params.rb +18 -7
  39. data/lib/openai/models/beta/agents/session_update_params.rb +6 -6
  40. data/lib/openai/models/beta/agents/sessions/turn.rb +6 -4
  41. data/lib/openai/models/beta/agents/vault.rb +1 -2
  42. data/lib/openai/models/beta/agents/vaults/credential.rb +5 -5
  43. data/lib/openai/models/beta/agents/vaults/credential_auth.rb +45 -9
  44. data/lib/openai/models/beta/agents/vaults/credential_auth_create_param.rb +69 -5
  45. data/lib/openai/models/beta/agents/vaults/credential_auth_rotate_param.rb +42 -10
  46. data/lib/openai/models/beta/agents/vaults/credential_create_params.rb +4 -4
  47. data/lib/openai/models/beta/agents/vaults/credential_networking.rb +72 -0
  48. data/lib/openai/models/beta/agents/vaults/credential_networking_param.rb +72 -0
  49. data/lib/openai/models/beta/agents/vaults/credential_update_params.rb +2 -2
  50. data/lib/openai/models/beta/beta_response.rb +3 -3
  51. data/lib/openai/models/beta/beta_response_output_text_annotation_added_event.rb +3 -3
  52. data/lib/openai/models/beta/beta_responses_client_event.rb +3 -3
  53. data/lib/openai/models/beta/beta_responses_server_event.rb +1 -1
  54. data/lib/openai/models/beta/beta_tool.rb +9 -12
  55. data/lib/openai/models/beta/environment_param.rb +10 -7
  56. data/lib/openai/models/beta/persisted_agent_tool.rb +3 -3
  57. data/lib/openai/models/beta/persisted_agent_tool_param.rb +12 -12
  58. data/lib/openai/models/beta/response_compact_params.rb +3 -3
  59. data/lib/openai/models/beta/response_create_params.rb +3 -3
  60. data/lib/openai/models/chat/completion_create_params.rb +10 -4
  61. data/lib/openai/models/chat_model.rb +1 -1
  62. data/lib/openai/models/conversations/conversation_update_params.rb +6 -8
  63. data/lib/openai/models/image_edit_params.rb +9 -12
  64. data/lib/openai/models/realtime/conversation_item_create_event.rb +3 -2
  65. data/lib/openai/models/realtime/realtime_client_event.rb +3 -2
  66. data/lib/openai/models/responses/response_compact_params.rb +3 -3
  67. data/lib/openai/models/responses/response_output_text_annotation_added_event.rb +3 -3
  68. data/lib/openai/models/responses/responses_server_event.rb +1 -1
  69. data/lib/openai/models/responses/tool.rb +9 -12
  70. data/lib/openai/models/safety/case_retrieve_params.rb +25 -0
  71. data/lib/openai/models/safety/safety_case.rb +72 -0
  72. data/lib/openai/models/webhooks/live_call_incoming_webhook_event.rb +51 -1
  73. data/lib/openai/models/webhooks/live_transport_incoming_webhook_event.rb +55 -1
  74. data/lib/openai/models/webhooks/realtime_call_incoming_webhook_event.rb +55 -1
  75. data/lib/openai/models/webhooks/safety_deactivation_issued_webhook_event.rb +68 -0
  76. data/lib/openai/models/webhooks/safety_warning_issued_webhook_event.rb +68 -0
  77. data/lib/openai/models/webhooks/unwrap_webhook_event.rb +7 -1
  78. data/lib/openai/resources/admin/organization/external_storage.rb +136 -0
  79. data/lib/openai/resources/admin/organization.rb +4 -0
  80. data/lib/openai/resources/beta/agents/environments/templates.rb +7 -4
  81. data/lib/openai/resources/beta/agents/sessions/events.rb +5 -2
  82. data/lib/openai/resources/beta/agents/sessions.rb +12 -4
  83. data/lib/openai/resources/beta/agents/vaults/credentials.rb +3 -3
  84. data/lib/openai/resources/beta/agents.rb +9 -6
  85. data/lib/openai/resources/beta/responses/input_items.rb +1 -0
  86. data/lib/openai/resources/beta/responses/input_tokens.rb +1 -0
  87. data/lib/openai/resources/beta/responses.rb +3 -0
  88. data/lib/openai/resources/beta.rb +1 -0
  89. data/lib/openai/resources/chat/completions.rb +10 -4
  90. data/lib/openai/resources/conversations.rb +3 -4
  91. data/lib/openai/resources/images.rb +6 -8
  92. data/lib/openai/resources/responses/input_items.rb +1 -0
  93. data/lib/openai/resources/responses/input_tokens.rb +1 -0
  94. data/lib/openai/resources/responses.rb +3 -0
  95. data/lib/openai/resources/safety/cases.rb +38 -0
  96. data/lib/openai/resources/safety.rb +4 -0
  97. data/lib/openai/resources/webhooks.rb +1 -1
  98. data/lib/openai/version.rb +1 -1
  99. data/lib/openai.rb +19 -1
  100. data/rbi/openai/client.rbi +1 -0
  101. data/rbi/openai/models/admin/organization/audit_log_list_params.rbi +8 -0
  102. data/rbi/openai/models/admin/organization/audit_log_list_response.rbi +246 -0
  103. data/rbi/openai/models/admin/organization/aws_external_storage_provider.rbi +85 -0
  104. data/rbi/openai/models/admin/organization/azure_external_storage_provider.rbi +100 -0
  105. data/rbi/openai/models/admin/organization/external_storage_configuration.rbi +148 -0
  106. data/rbi/openai/models/admin/organization/external_storage_create_params.rbi +223 -0
  107. data/rbi/openai/models/admin/organization/external_storage_delete_params.rbi +57 -0
  108. data/rbi/openai/models/admin/organization/external_storage_deleted.rbi +64 -0
  109. data/rbi/openai/models/admin/organization/external_storage_list_params.rbi +110 -0
  110. data/rbi/openai/models/admin/organization/external_storage_retrieve_params.rbi +57 -0
  111. data/rbi/openai/models/admin/organization/external_storage_validate_params.rbi +57 -0
  112. data/rbi/openai/models/beta/agent_create_params.rbi +13 -9
  113. data/rbi/openai/models/beta/agent_reasoning.rbi +9 -6
  114. data/rbi/openai/models/beta/agent_reasoning_item.rbi +2 -2
  115. data/rbi/openai/models/beta/agent_reasoning_param.rbi +9 -6
  116. data/rbi/openai/models/beta/agent_session.rbi +4 -2
  117. data/rbi/openai/models/beta/agent_session_assistant_message.rbi +3 -3
  118. data/rbi/openai/models/beta/agent_session_environment_reset_event.rbi +103 -0
  119. data/rbi/openai/models/beta/agent_session_environment_state.rbi +3 -3
  120. data/rbi/openai/models/beta/agent_session_event.rbi +1 -0
  121. data/rbi/openai/models/beta/agent_session_input_param.rbi +2 -2
  122. data/rbi/openai/models/beta/agent_session_item.rbi +2 -2
  123. data/rbi/openai/models/beta/agent_session_message.rbi +3 -3
  124. data/rbi/openai/models/beta/agent_session_turn_cancelled_event.rbi +2 -2
  125. data/rbi/openai/models/beta/agent_session_turn_completed_event.rbi +2 -2
  126. data/rbi/openai/models/beta/agent_session_turn_failed_event.rbi +2 -2
  127. data/rbi/openai/models/beta/agent_text_param.rbi +8 -5
  128. data/rbi/openai/models/beta/agent_tool.rbi +3 -3
  129. data/rbi/openai/models/beta/agent_tool_param.rbi +18 -12
  130. data/rbi/openai/models/beta/agent_update_params.rbi +6 -4
  131. data/rbi/openai/models/beta/agent_web_search_call_item.rbi +2 -2
  132. data/rbi/openai/models/beta/agents/environments/template_create_params.rbi +10 -7
  133. data/rbi/openai/models/beta/agents/environments/template_update_params.rbi +13 -7
  134. data/rbi/openai/models/beta/agents/session_create_params.rbi +18 -7
  135. data/rbi/openai/models/beta/agents/session_update_params.rbi +6 -6
  136. data/rbi/openai/models/beta/agents/sessions/turn.rbi +6 -4
  137. data/rbi/openai/models/beta/agents/vault.rbi +1 -2
  138. data/rbi/openai/models/beta/agents/vaults/credential.rbi +5 -4
  139. data/rbi/openai/models/beta/agents/vaults/credential_auth.rbi +74 -9
  140. data/rbi/openai/models/beta/agents/vaults/credential_auth_create_param.rbi +106 -5
  141. data/rbi/openai/models/beta/agents/vaults/credential_auth_rotate_param.rbi +61 -10
  142. data/rbi/openai/models/beta/agents/vaults/credential_create_params.rbi +8 -5
  143. data/rbi/openai/models/beta/agents/vaults/credential_networking.rbi +129 -0
  144. data/rbi/openai/models/beta/agents/vaults/credential_networking_param.rbi +129 -0
  145. data/rbi/openai/models/beta/agents/vaults/credential_update_params.rbi +6 -3
  146. data/rbi/openai/models/beta/beta_response.rbi +1 -1
  147. data/rbi/openai/models/beta/beta_response_output_text_annotation_added_event.rbi +3 -3
  148. data/rbi/openai/models/beta/beta_responses_client_event.rbi +4 -4
  149. data/rbi/openai/models/beta/beta_responses_server_event.rbi +1 -1
  150. data/rbi/openai/models/beta/beta_tool.rbi +9 -12
  151. data/rbi/openai/models/beta/environment_param.rbi +10 -7
  152. data/rbi/openai/models/beta/persisted_agent_tool.rbi +3 -3
  153. data/rbi/openai/models/beta/persisted_agent_tool_param.rbi +12 -12
  154. data/rbi/openai/models/beta/response_compact_params.rbi +1 -1
  155. data/rbi/openai/models/beta/response_create_params.rbi +1 -1
  156. data/rbi/openai/models/chat/completion_create_params.rbi +10 -4
  157. data/rbi/openai/models/chat_model.rbi +1 -1
  158. data/rbi/openai/models/conversations/conversation_update_params.rbi +6 -8
  159. data/rbi/openai/models/image_edit_params.rbi +9 -12
  160. data/rbi/openai/models/realtime/conversation_item_create_event.rbi +3 -2
  161. data/rbi/openai/models/responses/response_compact_params.rbi +1 -1
  162. data/rbi/openai/models/responses/response_output_text_annotation_added_event.rbi +3 -3
  163. data/rbi/openai/models/responses/responses_server_event.rbi +1 -1
  164. data/rbi/openai/models/responses/tool.rbi +9 -12
  165. data/rbi/openai/models/safety/case_retrieve_params.rbi +55 -0
  166. data/rbi/openai/models/safety/safety_case.rbi +140 -0
  167. data/rbi/openai/models/webhooks/live_call_incoming_webhook_event.rbi +70 -3
  168. data/rbi/openai/models/webhooks/live_transport_incoming_webhook_event.rbi +73 -1
  169. data/rbi/openai/models/webhooks/realtime_call_incoming_webhook_event.rbi +75 -3
  170. data/rbi/openai/models/webhooks/safety_deactivation_issued_webhook_event.rbi +130 -0
  171. data/rbi/openai/models/webhooks/safety_warning_issued_webhook_event.rbi +130 -0
  172. data/rbi/openai/models/webhooks/unwrap_webhook_event.rbi +3 -1
  173. data/rbi/openai/resources/admin/organization/external_storage.rbi +89 -0
  174. data/rbi/openai/resources/admin/organization.rbi +3 -0
  175. data/rbi/openai/resources/beta/agents/environments/templates.rbi +7 -4
  176. data/rbi/openai/resources/beta/agents/sessions/events.rbi +4 -1
  177. data/rbi/openai/resources/beta/agents/sessions.rbi +11 -3
  178. data/rbi/openai/resources/beta/agents/vaults/credentials.rbi +5 -3
  179. data/rbi/openai/resources/beta/agents.rbi +9 -6
  180. data/rbi/openai/resources/beta/responses/input_items.rbi +1 -0
  181. data/rbi/openai/resources/beta/responses/input_tokens.rbi +1 -0
  182. data/rbi/openai/resources/beta/responses.rbi +3 -0
  183. data/rbi/openai/resources/beta.rbi +1 -0
  184. data/rbi/openai/resources/chat/completions.rbi +10 -4
  185. data/rbi/openai/resources/conversations.rbi +3 -4
  186. data/rbi/openai/resources/images.rbi +6 -8
  187. data/rbi/openai/resources/responses/input_items.rbi +1 -0
  188. data/rbi/openai/resources/responses/input_tokens.rbi +1 -0
  189. data/rbi/openai/resources/responses.rbi +3 -0
  190. data/rbi/openai/resources/safety/cases.rbi +28 -0
  191. data/rbi/openai/resources/safety.rbi +3 -0
  192. data/rbi/openai/resources/webhooks.rbi +3 -1
  193. data/sig/openai/models/admin/organization/admin_api_key.rbs +45 -0
  194. data/sig/openai/models/admin/organization/admin_api_key_create_params.rbs +7 -0
  195. data/sig/openai/models/admin/organization/admin_api_key_create_response.rbs +18 -0
  196. data/sig/openai/models/admin/organization/admin_api_key_delete_params.rbs +3 -0
  197. data/sig/openai/models/admin/organization/admin_api_key_list_params.rbs +11 -0
  198. data/sig/openai/models/admin/organization/admin_api_key_retrieve_params.rbs +3 -0
  199. data/sig/openai/models/admin/organization/audit_log_list_params.rbs +114 -0
  200. data/sig/openai/models/admin/organization/audit_log_list_response.rbs +1108 -0
  201. data/sig/openai/models/admin/organization/aws_external_storage_provider.rbs +49 -0
  202. data/sig/openai/models/admin/organization/azure_external_storage_provider.rbs +54 -0
  203. data/sig/openai/models/admin/organization/certificate.rbs +45 -0
  204. data/sig/openai/models/admin/organization/certificate_activate_response.rbs +23 -0
  205. data/sig/openai/models/admin/organization/certificate_create_params.rbs +7 -0
  206. data/sig/openai/models/admin/organization/certificate_deactivate_response.rbs +23 -0
  207. data/sig/openai/models/admin/organization/certificate_delete_response.rbs +6 -0
  208. data/sig/openai/models/admin/organization/certificate_list_params.rbs +27 -0
  209. data/sig/openai/models/admin/organization/certificate_list_response.rbs +23 -0
  210. data/sig/openai/models/admin/organization/certificate_retrieve_params.rbs +7 -0
  211. data/sig/openai/models/admin/organization/certificate_update_params.rbs +4 -0
  212. data/sig/openai/models/admin/organization/data_retention_update_params.rbs +3 -0
  213. data/sig/openai/models/admin/organization/external_storage_configuration.rbs +76 -0
  214. data/sig/openai/models/admin/organization/external_storage_create_params.rbs +105 -0
  215. data/sig/openai/models/admin/organization/external_storage_delete_params.rbs +30 -0
  216. data/sig/openai/models/admin/organization/external_storage_deleted.rbs +34 -0
  217. data/sig/openai/models/admin/organization/external_storage_list_params.rbs +65 -0
  218. data/sig/openai/models/admin/organization/external_storage_retrieve_params.rbs +30 -0
  219. data/sig/openai/models/admin/organization/external_storage_validate_params.rbs +30 -0
  220. data/sig/openai/models/admin/organization/group.rbs +17 -0
  221. data/sig/openai/models/admin/organization/group_create_params.rbs +3 -0
  222. data/sig/openai/models/admin/organization/group_delete_response.rbs +9 -0
  223. data/sig/openai/models/admin/organization/group_list_params.rbs +24 -0
  224. data/sig/openai/models/admin/organization/group_update_params.rbs +3 -0
  225. data/sig/openai/models/admin/organization/group_update_response.rbs +14 -0
  226. data/sig/openai/models/admin/organization/groups/organization_group_user.rbs +9 -0
  227. data/sig/openai/models/admin/organization/groups/role_create_params.rbs +3 -0
  228. data/sig/openai/models/admin/organization/groups/role_create_response.rbs +24 -0
  229. data/sig/openai/models/admin/organization/groups/role_delete_response.rbs +8 -0
  230. data/sig/openai/models/admin/organization/groups/role_list_params.rbs +15 -0
  231. data/sig/openai/models/admin/organization/groups/role_list_response.rbs +36 -0
  232. data/sig/openai/models/admin/organization/groups/role_retrieve_response.rbs +36 -0
  233. data/sig/openai/models/admin/organization/groups/user_create_params.rbs +3 -0
  234. data/sig/openai/models/admin/organization/groups/user_create_response.rbs +9 -0
  235. data/sig/openai/models/admin/organization/groups/user_delete_response.rbs +6 -0
  236. data/sig/openai/models/admin/organization/groups/user_list_params.rbs +18 -0
  237. data/sig/openai/models/admin/organization/groups/user_retrieve_response.rbs +18 -0
  238. data/sig/openai/models/admin/organization/invite.rbs +33 -0
  239. data/sig/openai/models/admin/organization/invite_create_params.rbs +25 -0
  240. data/sig/openai/models/admin/organization/invite_delete_response.rbs +3 -0
  241. data/sig/openai/models/admin/organization/invite_list_params.rbs +20 -0
  242. data/sig/openai/models/admin/organization/organization_data_retention.rbs +6 -0
  243. data/sig/openai/models/admin/organization/organization_spend_alert.rbs +27 -0
  244. data/sig/openai/models/admin/organization/organization_spend_alert_deleted.rbs +9 -0
  245. data/sig/openai/models/admin/organization/organization_spend_limit.rbs +20 -0
  246. data/sig/openai/models/admin/organization/organization_spend_limit_deleted.rbs +6 -0
  247. data/sig/openai/models/admin/organization/organization_user.rbs +53 -0
  248. data/sig/openai/models/admin/organization/project.rbs +25 -0
  249. data/sig/openai/models/admin/organization/project_create_params.rbs +28 -0
  250. data/sig/openai/models/admin/organization/project_list_params.rbs +27 -0
  251. data/sig/openai/models/admin/organization/project_update_params.rbs +11 -0
  252. data/sig/openai/models/admin/organization/projects/api_key_list_params.rbs +36 -0
  253. data/sig/openai/models/admin/organization/projects/certificate_activate_response.rbs +23 -0
  254. data/sig/openai/models/admin/organization/projects/certificate_deactivate_response.rbs +23 -0
  255. data/sig/openai/models/admin/organization/projects/certificate_list_params.rbs +27 -0
  256. data/sig/openai/models/admin/organization/projects/certificate_list_response.rbs +23 -0
  257. data/sig/openai/models/admin/organization/projects/data_retention_update_params.rbs +3 -0
  258. data/sig/openai/models/admin/organization/projects/group_create_params.rbs +6 -0
  259. data/sig/openai/models/admin/organization/projects/group_delete_response.rbs +6 -0
  260. data/sig/openai/models/admin/organization/projects/group_list_params.rbs +15 -0
  261. data/sig/openai/models/admin/organization/projects/group_retrieve_params.rbs +4 -0
  262. data/sig/openai/models/admin/organization/projects/groups/role_create_params.rbs +3 -0
  263. data/sig/openai/models/admin/organization/projects/groups/role_create_response.rbs +24 -0
  264. data/sig/openai/models/admin/organization/projects/groups/role_delete_response.rbs +8 -0
  265. data/sig/openai/models/admin/organization/projects/groups/role_list_params.rbs +15 -0
  266. data/sig/openai/models/admin/organization/projects/groups/role_list_response.rbs +36 -0
  267. data/sig/openai/models/admin/organization/projects/groups/role_retrieve_response.rbs +36 -0
  268. data/sig/openai/models/admin/organization/projects/hosted_tool_permission_update_params.rbs +30 -0
  269. data/sig/openai/models/admin/organization/projects/model_permission_update_params.rbs +6 -0
  270. data/sig/openai/models/admin/organization/projects/project_api_key.rbs +65 -0
  271. data/sig/openai/models/admin/organization/projects/project_data_retention.rbs +6 -0
  272. data/sig/openai/models/admin/organization/projects/project_group.rbs +18 -0
  273. data/sig/openai/models/admin/organization/projects/project_hosted_tool_permissions.rbs +30 -0
  274. data/sig/openai/models/admin/organization/projects/project_model_permissions.rbs +9 -0
  275. data/sig/openai/models/admin/organization/projects/project_model_permissions_deleted.rbs +6 -0
  276. data/sig/openai/models/admin/organization/projects/project_rate_limit.rbs +31 -0
  277. data/sig/openai/models/admin/organization/projects/project_service_account.rbs +15 -0
  278. data/sig/openai/models/admin/organization/projects/project_spend_alert.rbs +27 -0
  279. data/sig/openai/models/admin/organization/projects/project_spend_alert_deleted.rbs +9 -0
  280. data/sig/openai/models/admin/organization/projects/project_spend_limit.rbs +20 -0
  281. data/sig/openai/models/admin/organization/projects/project_spend_limit_deleted.rbs +6 -0
  282. data/sig/openai/models/admin/organization/projects/project_user.rbs +18 -0
  283. data/sig/openai/models/admin/organization/projects/rate_limit_list_rate_limits_params.rbs +30 -0
  284. data/sig/openai/models/admin/organization/projects/rate_limit_update_rate_limit_params.rbs +24 -0
  285. data/sig/openai/models/admin/organization/projects/role_create_params.rbs +9 -0
  286. data/sig/openai/models/admin/organization/projects/role_delete_response.rbs +9 -0
  287. data/sig/openai/models/admin/organization/projects/role_list_params.rbs +15 -0
  288. data/sig/openai/models/admin/organization/projects/role_update_params.rbs +9 -0
  289. data/sig/openai/models/admin/organization/projects/service_account_create_params.rbs +17 -0
  290. data/sig/openai/models/admin/organization/projects/service_account_create_response.rbs +13 -0
  291. data/sig/openai/models/admin/organization/projects/service_account_list_params.rbs +20 -0
  292. data/sig/openai/models/admin/organization/projects/service_account_update_params.rbs +8 -0
  293. data/sig/openai/models/admin/organization/projects/service_accounts/api_key_create_params.rbs +17 -0
  294. data/sig/openai/models/admin/organization/projects/service_accounts/api_key_create_response.rbs +20 -0
  295. data/sig/openai/models/admin/organization/projects/spend_alert_create_params.rbs +21 -0
  296. data/sig/openai/models/admin/organization/projects/spend_alert_list_params.rbs +22 -0
  297. data/sig/openai/models/admin/organization/projects/spend_alert_update_params.rbs +21 -0
  298. data/sig/openai/models/admin/organization/projects/spend_limit_update_params.rbs +11 -0
  299. data/sig/openai/models/admin/organization/projects/user_create_params.rbs +9 -0
  300. data/sig/openai/models/admin/organization/projects/user_list_params.rbs +20 -0
  301. data/sig/openai/models/admin/organization/projects/user_update_params.rbs +3 -0
  302. data/sig/openai/models/admin/organization/projects/users/role_create_params.rbs +3 -0
  303. data/sig/openai/models/admin/organization/projects/users/role_create_response.rbs +9 -0
  304. data/sig/openai/models/admin/organization/projects/users/role_delete_response.rbs +8 -0
  305. data/sig/openai/models/admin/organization/projects/users/role_list_params.rbs +15 -0
  306. data/sig/openai/models/admin/organization/projects/users/role_list_response.rbs +36 -0
  307. data/sig/openai/models/admin/organization/projects/users/role_retrieve_response.rbs +36 -0
  308. data/sig/openai/models/admin/organization/role.rbs +23 -0
  309. data/sig/openai/models/admin/organization/role_create_params.rbs +9 -0
  310. data/sig/openai/models/admin/organization/role_delete_response.rbs +9 -0
  311. data/sig/openai/models/admin/organization/role_list_params.rbs +15 -0
  312. data/sig/openai/models/admin/organization/role_update_params.rbs +9 -0
  313. data/sig/openai/models/admin/organization/spend_alert_create_params.rbs +21 -0
  314. data/sig/openai/models/admin/organization/spend_alert_list_params.rbs +22 -0
  315. data/sig/openai/models/admin/organization/spend_alert_update_params.rbs +21 -0
  316. data/sig/openai/models/admin/organization/spend_limit_update_params.rbs +11 -0
  317. data/sig/openai/models/admin/organization/usage_audio_speeches_params.rbs +60 -0
  318. data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +351 -0
  319. data/sig/openai/models/admin/organization/usage_audio_transcriptions_params.rbs +60 -0
  320. data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +351 -0
  321. data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_params.rbs +48 -0
  322. data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +351 -0
  323. data/sig/openai/models/admin/organization/usage_completions_params.rbs +70 -0
  324. data/sig/openai/models/admin/organization/usage_completions_response.rbs +351 -0
  325. data/sig/openai/models/admin/organization/usage_costs_params.rbs +50 -0
  326. data/sig/openai/models/admin/organization/usage_costs_response.rbs +351 -0
  327. data/sig/openai/models/admin/organization/usage_embeddings_params.rbs +60 -0
  328. data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +351 -0
  329. data/sig/openai/models/admin/organization/usage_file_search_calls_params.rbs +63 -0
  330. data/sig/openai/models/admin/organization/usage_file_search_calls_response.rbs +351 -0
  331. data/sig/openai/models/admin/organization/usage_images_params.rbs +77 -0
  332. data/sig/openai/models/admin/organization/usage_images_response.rbs +351 -0
  333. data/sig/openai/models/admin/organization/usage_moderations_params.rbs +60 -0
  334. data/sig/openai/models/admin/organization/usage_moderations_response.rbs +351 -0
  335. data/sig/openai/models/admin/organization/usage_vector_stores_params.rbs +48 -0
  336. data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +351 -0
  337. data/sig/openai/models/admin/organization/usage_web_search_calls_params.rbs +67 -0
  338. data/sig/openai/models/admin/organization/usage_web_search_calls_response.rbs +351 -0
  339. data/sig/openai/models/admin/organization/user_list_params.rbs +24 -0
  340. data/sig/openai/models/admin/organization/user_update_params.rbs +12 -0
  341. data/sig/openai/models/admin/organization/users/role_create_params.rbs +3 -0
  342. data/sig/openai/models/admin/organization/users/role_create_response.rbs +9 -0
  343. data/sig/openai/models/admin/organization/users/role_delete_response.rbs +8 -0
  344. data/sig/openai/models/admin/organization/users/role_list_params.rbs +15 -0
  345. data/sig/openai/models/admin/organization/users/role_list_response.rbs +36 -0
  346. data/sig/openai/models/admin/organization/users/role_retrieve_response.rbs +36 -0
  347. data/sig/openai/models/audio/speech_create_params.rbs +54 -0
  348. data/sig/openai/models/audio/transcription.rbs +66 -0
  349. data/sig/openai/models/audio/transcription_create_params.rbs +205 -0
  350. data/sig/openai/models/audio/transcription_diarized.rbs +46 -0
  351. data/sig/openai/models/audio/transcription_diarized_segment.rbs +22 -0
  352. data/sig/openai/models/audio/transcription_language.rbs +3 -0
  353. data/sig/openai/models/audio/transcription_segment.rbs +36 -0
  354. data/sig/openai/models/audio/transcription_text_delta_event.rbs +35 -0
  355. data/sig/openai/models/audio/transcription_text_done_event.rbs +66 -0
  356. data/sig/openai/models/audio/transcription_text_segment_event.rbs +18 -0
  357. data/sig/openai/models/audio/transcription_verbose.rbs +27 -0
  358. data/sig/openai/models/audio/transcription_word.rbs +9 -0
  359. data/sig/openai/models/audio/translation_create_params.rbs +58 -0
  360. data/sig/openai/models/audio/translation_verbose.rbs +13 -0
  361. data/sig/openai/models/auto_file_chunking_strategy_param.rbs +3 -0
  362. data/sig/openai/models/batch.rbs +105 -0
  363. data/sig/openai/models/batch_create_params.rbs +71 -0
  364. data/sig/openai/models/batch_error.rbs +14 -0
  365. data/sig/openai/models/batch_list_params.rbs +20 -0
  366. data/sig/openai/models/batch_request_counts.rbs +9 -0
  367. data/sig/openai/models/batch_usage.rbs +23 -0
  368. data/sig/openai/models/beta/agent.rbs +41 -0
  369. data/sig/openai/models/beta/agent_close_subagent_call_item.rbs +18 -0
  370. data/sig/openai/models/beta/agent_command_execution_item.rbs +27 -0
  371. data/sig/openai/models/beta/agent_content.rbs +6 -0
  372. data/sig/openai/models/beta/agent_create_params.rbs +35 -0
  373. data/sig/openai/models/beta/agent_create_subagent_call_item.rbs +24 -0
  374. data/sig/openai/models/beta/agent_deleted.rbs +9 -0
  375. data/sig/openai/models/beta/agent_function_call_item.rbs +21 -0
  376. data/sig/openai/models/beta/agent_interrupt_subagent_call_item.rbs +18 -0
  377. data/sig/openai/models/beta/agent_list_params.rbs +11 -0
  378. data/sig/openai/models/beta/agent_mcp_call_item.rbs +27 -0
  379. data/sig/openai/models/beta/agent_output_command_execution_output_delta_event.rbs +21 -0
  380. data/sig/openai/models/beta/agent_reasoning.rbs +8 -0
  381. data/sig/openai/models/beta/agent_reasoning_item.rbs +15 -0
  382. data/sig/openai/models/beta/agent_reasoning_param.rbs +8 -0
  383. data/sig/openai/models/beta/agent_resume_subagent_call_item.rbs +18 -0
  384. data/sig/openai/models/beta/agent_send_subagent_input_call_item.rbs +21 -0
  385. data/sig/openai/models/beta/agent_session.rbs +88 -0
  386. data/sig/openai/models/beta/agent_session_assistant_message.rbs +21 -0
  387. data/sig/openai/models/beta/agent_session_created_event.rbs +9 -0
  388. data/sig/openai/models/beta/agent_session_deleted.rbs +11 -0
  389. data/sig/openai/models/beta/agent_session_environment_connected_event.rbs +15 -0
  390. data/sig/openai/models/beta/agent_session_environment_disconnected_event.rbs +15 -0
  391. data/sig/openai/models/beta/agent_session_environment_failed_event.rbs +15 -0
  392. data/sig/openai/models/beta/agent_session_environment_pending_event.rbs +15 -0
  393. data/sig/openai/models/beta/agent_session_environment_ready_event.rbs +15 -0
  394. data/sig/openai/models/beta/agent_session_environment_reset_event.rbs +65 -0
  395. data/sig/openai/models/beta/agent_session_environment_state.rbs +21 -0
  396. data/sig/openai/models/beta/agent_session_error_event.rbs +12 -0
  397. data/sig/openai/models/beta/agent_session_event.rbs +1 -0
  398. data/sig/openai/models/beta/agent_session_failed_event.rbs +9 -0
  399. data/sig/openai/models/beta/agent_session_idle_event.rbs +9 -0
  400. data/sig/openai/models/beta/agent_session_in_progress_event.rbs +9 -0
  401. data/sig/openai/models/beta/agent_session_input_message_param.rbs +10 -0
  402. data/sig/openai/models/beta/agent_session_input_param.rbs +27 -0
  403. data/sig/openai/models/beta/agent_session_item.rbs +39 -0
  404. data/sig/openai/models/beta/agent_session_message.rbs +23 -0
  405. data/sig/openai/models/beta/agent_session_message_content.rbs +20 -0
  406. data/sig/openai/models/beta/agent_session_requires_action_event.rbs +9 -0
  407. data/sig/openai/models/beta/agent_session_subagent_active_event.rbs +9 -0
  408. data/sig/openai/models/beta/agent_session_subagent_closed_event.rbs +9 -0
  409. data/sig/openai/models/beta/agent_session_subagent_created_event.rbs +9 -0
  410. data/sig/openai/models/beta/agent_session_turn_cancelled_event.rbs +18 -0
  411. data/sig/openai/models/beta/agent_session_turn_completed_event.rbs +18 -0
  412. data/sig/openai/models/beta/agent_session_turn_content_part_added_event.rbs +24 -0
  413. data/sig/openai/models/beta/agent_session_turn_content_part_done_event.rbs +24 -0
  414. data/sig/openai/models/beta/agent_session_turn_created_event.rbs +15 -0
  415. data/sig/openai/models/beta/agent_session_turn_failed_event.rbs +18 -0
  416. data/sig/openai/models/beta/agent_session_turn_in_progress_event.rbs +15 -0
  417. data/sig/openai/models/beta/agent_session_turn_item_added_event.rbs +18 -0
  418. data/sig/openai/models/beta/agent_session_turn_item_done_event.rbs +18 -0
  419. data/sig/openai/models/beta/agent_session_turn_output_text_delta_event.rbs +24 -0
  420. data/sig/openai/models/beta/agent_session_turn_output_text_done_event.rbs +24 -0
  421. data/sig/openai/models/beta/agent_session_turn_reasoning_summary_part_added_event.rbs +26 -0
  422. data/sig/openai/models/beta/agent_session_turn_reasoning_summary_part_done_event.rbs +28 -0
  423. data/sig/openai/models/beta/agent_session_turn_reasoning_summary_text_delta_event.rbs +26 -0
  424. data/sig/openai/models/beta/agent_session_turn_reasoning_summary_text_done_event.rbs +24 -0
  425. data/sig/openai/models/beta/agent_text.rbs +6 -0
  426. data/sig/openai/models/beta/agent_text_param.rbs +8 -0
  427. data/sig/openai/models/beta/agent_tool.rbs +74 -0
  428. data/sig/openai/models/beta/agent_tool_param.rbs +90 -0
  429. data/sig/openai/models/beta/agent_update_params.rbs +36 -0
  430. data/sig/openai/models/beta/agent_wait_for_subagents_call_item.rbs +18 -0
  431. data/sig/openai/models/beta/agent_web_search_call_item.rbs +15 -0
  432. data/sig/openai/models/beta/agents/environment_info.rbs +21 -0
  433. data/sig/openai/models/beta/agents/environments/environment_file.rbs +12 -0
  434. data/sig/openai/models/beta/agents/environments/environment_template.rbs +84 -0
  435. data/sig/openai/models/beta/agents/environments/environment_template_deleted.rbs +9 -0
  436. data/sig/openai/models/beta/agents/environments/file_list_params.rbs +14 -0
  437. data/sig/openai/models/beta/agents/environments/template_create_params.rbs +49 -1
  438. data/sig/openai/models/beta/agents/environments/template_list_params.rbs +12 -0
  439. data/sig/openai/models/beta/agents/environments/template_update_params.rbs +47 -1
  440. data/sig/openai/models/beta/agents/session_create_params.rbs +60 -0
  441. data/sig/openai/models/beta/agents/session_list_params.rbs +21 -0
  442. data/sig/openai/models/beta/agents/session_update_params.rbs +25 -0
  443. data/sig/openai/models/beta/agents/sessions/artifact_list_params.rbs +13 -0
  444. data/sig/openai/models/beta/agents/sessions/event_create_params.rbs +3 -0
  445. data/sig/openai/models/beta/agents/sessions/item_list_params.rbs +12 -0
  446. data/sig/openai/models/beta/agents/sessions/session_artifact.rbs +24 -0
  447. data/sig/openai/models/beta/agents/sessions/session_artifact_deleted.rbs +9 -0
  448. data/sig/openai/models/beta/agents/sessions/subagent_list_params.rbs +12 -0
  449. data/sig/openai/models/beta/agents/sessions/subagents/item_list_params.rbs +12 -0
  450. data/sig/openai/models/beta/agents/sessions/subagents/turn_list_params.rbs +12 -0
  451. data/sig/openai/models/beta/agents/sessions/subagents/turns/item_list_params.rbs +12 -0
  452. data/sig/openai/models/beta/agents/sessions/turn.rbs +39 -0
  453. data/sig/openai/models/beta/agents/sessions/turn_list_params.rbs +12 -0
  454. data/sig/openai/models/beta/agents/vault.rbs +17 -0
  455. data/sig/openai/models/beta/agents/vault_create_params.rbs +12 -0
  456. data/sig/openai/models/beta/agents/vault_deleted.rbs +9 -0
  457. data/sig/openai/models/beta/agents/vault_list_params.rbs +23 -0
  458. data/sig/openai/models/beta/agents/vaults/credential.rbs +21 -0
  459. data/sig/openai/models/beta/agents/vaults/credential_auth.rbs +74 -0
  460. data/sig/openai/models/beta/agents/vaults/credential_auth_create_param.rbs +107 -0
  461. data/sig/openai/models/beta/agents/vaults/credential_auth_rotate_param.rbs +67 -0
  462. data/sig/openai/models/beta/agents/vaults/credential_create_params.rbs +8 -0
  463. data/sig/openai/models/beta/agents/vaults/credential_deleted.rbs +9 -0
  464. data/sig/openai/models/beta/agents/vaults/credential_list_params.rbs +23 -0
  465. data/sig/openai/models/beta/agents/vaults/credential_networking.rbs +60 -0
  466. data/sig/openai/models/beta/agents/vaults/credential_networking_param.rbs +60 -0
  467. data/sig/openai/models/beta/agents/vaults/credential_update_params.rbs +3 -0
  468. data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth.rbs +9 -0
  469. data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth_create_param.rbs +15 -0
  470. data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth_rotate_param.rbs +16 -0
  471. data/sig/openai/models/beta/assistant.rbs +142 -0
  472. data/sig/openai/models/beta/assistant_create_params.rbs +213 -0
  473. data/sig/openai/models/beta/assistant_list_params.rbs +40 -0
  474. data/sig/openai/models/beta/assistant_stream_event.rbs +107 -0
  475. data/sig/openai/models/beta/assistant_tool_choice.rbs +3 -0
  476. data/sig/openai/models/beta/assistant_tool_choice_function.rbs +3 -0
  477. data/sig/openai/models/beta/assistant_update_params.rbs +157 -0
  478. data/sig/openai/models/beta/beta_apply_patch_tool.rbs +6 -0
  479. data/sig/openai/models/beta/beta_compacted_response.rbs +19 -0
  480. data/sig/openai/models/beta/beta_computer_action.rbs +126 -0
  481. data/sig/openai/models/beta/beta_computer_tool.rbs +3 -0
  482. data/sig/openai/models/beta/beta_computer_use_preview_tool.rbs +12 -0
  483. data/sig/openai/models/beta/beta_container_auto.rbs +18 -0
  484. data/sig/openai/models/beta/beta_container_network_policy_allowlist.rbs +10 -0
  485. data/sig/openai/models/beta/beta_container_network_policy_disabled.rbs +3 -0
  486. data/sig/openai/models/beta/beta_container_network_policy_domain_secret.rbs +9 -0
  487. data/sig/openai/models/beta/beta_container_reference.rbs +6 -0
  488. data/sig/openai/models/beta/beta_custom_tool.rbs +40 -0
  489. data/sig/openai/models/beta/beta_easy_input_message.rbs +23 -0
  490. data/sig/openai/models/beta/beta_file_search_tool.rbs +117 -0
  491. data/sig/openai/models/beta/beta_function_shell_tool.rbs +6 -0
  492. data/sig/openai/models/beta/beta_function_tool.rbs +29 -0
  493. data/sig/openai/models/beta/beta_inline_skill.rbs +12 -0
  494. data/sig/openai/models/beta/beta_inline_skill_source.rbs +9 -0
  495. data/sig/openai/models/beta/beta_local_environment.rbs +7 -0
  496. data/sig/openai/models/beta/beta_local_skill.rbs +9 -0
  497. data/sig/openai/models/beta/beta_namespace_tool.rbs +38 -0
  498. data/sig/openai/models/beta/beta_response.rbs +545 -2
  499. data/sig/openai/models/beta/beta_response_apply_patch_tool_call.rbs +60 -0
  500. data/sig/openai/models/beta/beta_response_apply_patch_tool_call_output.rbs +34 -0
  501. data/sig/openai/models/beta/beta_response_audio_delta_event.rbs +15 -0
  502. data/sig/openai/models/beta/beta_response_audio_done_event.rbs +12 -0
  503. data/sig/openai/models/beta/beta_response_audio_transcript_delta_event.rbs +15 -0
  504. data/sig/openai/models/beta/beta_response_audio_transcript_done_event.rbs +12 -0
  505. data/sig/openai/models/beta/beta_response_code_interpreter_call_code_delta_event.rbs +23 -0
  506. data/sig/openai/models/beta/beta_response_code_interpreter_call_code_done_event.rbs +21 -0
  507. data/sig/openai/models/beta/beta_response_code_interpreter_call_completed_event.rbs +20 -0
  508. data/sig/openai/models/beta/beta_response_code_interpreter_call_in_progress_event.rbs +20 -0
  509. data/sig/openai/models/beta/beta_response_code_interpreter_call_interpreting_event.rbs +20 -0
  510. data/sig/openai/models/beta/beta_response_code_interpreter_tool_call.rbs +40 -0
  511. data/sig/openai/models/beta/beta_response_compaction_compacting_event.rbs +19 -0
  512. data/sig/openai/models/beta/beta_response_compaction_item.rbs +20 -0
  513. data/sig/openai/models/beta/beta_response_compaction_item_param.rbs +15 -0
  514. data/sig/openai/models/beta/beta_response_completed_event.rbs +15 -0
  515. data/sig/openai/models/beta/beta_response_computer_tool_call.rbs +43 -0
  516. data/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs +43 -0
  517. data/sig/openai/models/beta/beta_response_computer_tool_call_output_screenshot.rbs +13 -0
  518. data/sig/openai/models/beta/beta_response_configuration_update_item.rbs +22 -0
  519. data/sig/openai/models/beta/beta_response_configuration_update_item_param.rbs +21 -0
  520. data/sig/openai/models/beta/beta_response_container_reference.rbs +3 -0
  521. data/sig/openai/models/beta/beta_response_content.rbs +6 -0
  522. data/sig/openai/models/beta/beta_response_content_part_added_event.rbs +30 -0
  523. data/sig/openai/models/beta/beta_response_content_part_done_event.rbs +30 -0
  524. data/sig/openai/models/beta/beta_response_conversation_param.rbs +3 -0
  525. data/sig/openai/models/beta/beta_response_created_event.rbs +15 -0
  526. data/sig/openai/models/beta/beta_response_custom_tool_call.rbs +36 -0
  527. data/sig/openai/models/beta/beta_response_custom_tool_call_input_delta_event.rbs +21 -0
  528. data/sig/openai/models/beta/beta_response_custom_tool_call_input_done_event.rbs +21 -0
  529. data/sig/openai/models/beta/beta_response_custom_tool_call_item.rbs +31 -0
  530. data/sig/openai/models/beta/beta_response_custom_tool_call_output.rbs +33 -0
  531. data/sig/openai/models/beta/beta_response_custom_tool_call_output_item.rbs +26 -0
  532. data/sig/openai/models/beta/beta_response_error.rbs +21 -0
  533. data/sig/openai/models/beta/beta_response_error_event.rbs +21 -0
  534. data/sig/openai/models/beta/beta_response_failed_event.rbs +15 -0
  535. data/sig/openai/models/beta/beta_response_file_search_call_completed_event.rbs +18 -0
  536. data/sig/openai/models/beta/beta_response_file_search_call_in_progress_event.rbs +18 -0
  537. data/sig/openai/models/beta/beta_response_file_search_call_searching_event.rbs +18 -0
  538. data/sig/openai/models/beta/beta_response_file_search_tool_call.rbs +50 -0
  539. data/sig/openai/models/beta/beta_response_format_text_config.rbs +6 -0
  540. data/sig/openai/models/beta/beta_response_format_text_json_schema_config.rbs +31 -0
  541. data/sig/openai/models/beta/beta_response_function_call_arguments_delta_event.rbs +21 -0
  542. data/sig/openai/models/beta/beta_response_function_call_arguments_done_event.rbs +18 -0
  543. data/sig/openai/models/beta/beta_response_function_shell_call_output_content.rbs +18 -0
  544. data/sig/openai/models/beta/beta_response_function_shell_tool_call.rbs +45 -0
  545. data/sig/openai/models/beta/beta_response_function_shell_tool_call_output.rbs +65 -0
  546. data/sig/openai/models/beta/beta_response_function_tool_call.rbs +43 -0
  547. data/sig/openai/models/beta/beta_response_function_tool_call_item.rbs +31 -0
  548. data/sig/openai/models/beta/beta_response_function_tool_call_output_item.rbs +50 -0
  549. data/sig/openai/models/beta/beta_response_function_web_search.rbs +56 -0
  550. data/sig/openai/models/beta/beta_response_image_gen_call_completed_event.rbs +18 -0
  551. data/sig/openai/models/beta/beta_response_image_gen_call_generating_event.rbs +18 -0
  552. data/sig/openai/models/beta/beta_response_image_gen_call_in_progress_event.rbs +18 -0
  553. data/sig/openai/models/beta/beta_response_image_gen_call_partial_image_event.rbs +42 -0
  554. data/sig/openai/models/beta/beta_response_in_progress_event.rbs +15 -0
  555. data/sig/openai/models/beta/beta_response_incomplete_event.rbs +15 -0
  556. data/sig/openai/models/beta/beta_response_inject_created_event.rbs +16 -0
  557. data/sig/openai/models/beta/beta_response_inject_event.rbs +9 -0
  558. data/sig/openai/models/beta/beta_response_inject_failed_event.rbs +28 -0
  559. data/sig/openai/models/beta/beta_response_input_audio.rbs +9 -0
  560. data/sig/openai/models/beta/beta_response_input_file.rbs +47 -0
  561. data/sig/openai/models/beta/beta_response_input_file_content.rbs +41 -0
  562. data/sig/openai/models/beta/beta_response_input_image.rbs +29 -0
  563. data/sig/openai/models/beta/beta_response_input_image_content.rbs +26 -0
  564. data/sig/openai/models/beta/beta_response_input_item.rbs +737 -0
  565. data/sig/openai/models/beta/beta_response_input_message_item.rbs +27 -0
  566. data/sig/openai/models/beta/beta_response_input_text.rbs +19 -0
  567. data/sig/openai/models/beta/beta_response_input_text_content.rbs +16 -0
  568. data/sig/openai/models/beta/beta_response_item.rbs +387 -0
  569. data/sig/openai/models/beta/beta_response_local_environment.rbs +3 -0
  570. data/sig/openai/models/beta/beta_response_mcp_call_arguments_delta_event.rbs +23 -0
  571. data/sig/openai/models/beta/beta_response_mcp_call_arguments_done_event.rbs +21 -0
  572. data/sig/openai/models/beta/beta_response_mcp_call_completed_event.rbs +18 -0
  573. data/sig/openai/models/beta/beta_response_mcp_call_failed_event.rbs +18 -0
  574. data/sig/openai/models/beta/beta_response_mcp_call_in_progress_event.rbs +18 -0
  575. data/sig/openai/models/beta/beta_response_mcp_list_tools_completed_event.rbs +18 -0
  576. data/sig/openai/models/beta/beta_response_mcp_list_tools_failed_event.rbs +18 -0
  577. data/sig/openai/models/beta/beta_response_mcp_list_tools_in_progress_event.rbs +18 -0
  578. data/sig/openai/models/beta/beta_response_output_audio.rbs +9 -0
  579. data/sig/openai/models/beta/beta_response_output_item.rbs +387 -0
  580. data/sig/openai/models/beta/beta_response_output_item_added_event.rbs +24 -0
  581. data/sig/openai/models/beta/beta_response_output_item_done_event.rbs +18 -0
  582. data/sig/openai/models/beta/beta_response_output_message.rbs +32 -0
  583. data/sig/openai/models/beta/beta_response_output_refusal.rbs +6 -0
  584. data/sig/openai/models/beta/beta_response_output_text.rbs +63 -0
  585. data/sig/openai/models/beta/beta_response_output_text_annotation_added_event.rbs +81 -0
  586. data/sig/openai/models/beta/beta_response_prompt.rbs +13 -0
  587. data/sig/openai/models/beta/beta_response_queued_event.rbs +15 -0
  588. data/sig/openai/models/beta/beta_response_reasoning_item.rbs +55 -0
  589. data/sig/openai/models/beta/beta_response_reasoning_summary_part_added_event.rbs +30 -0
  590. data/sig/openai/models/beta/beta_response_reasoning_summary_part_done_event.rbs +37 -0
  591. data/sig/openai/models/beta/beta_response_reasoning_summary_text_delta_event.rbs +24 -0
  592. data/sig/openai/models/beta/beta_response_reasoning_summary_text_done_event.rbs +24 -0
  593. data/sig/openai/models/beta/beta_response_reasoning_text_delta_event.rbs +24 -0
  594. data/sig/openai/models/beta/beta_response_reasoning_text_done_event.rbs +24 -0
  595. data/sig/openai/models/beta/beta_response_refusal_delta_event.rbs +24 -0
  596. data/sig/openai/models/beta/beta_response_refusal_done_event.rbs +24 -0
  597. data/sig/openai/models/beta/beta_response_shell_call_command_added_event.rbs +22 -0
  598. data/sig/openai/models/beta/beta_response_shell_call_command_delta_event.rbs +26 -0
  599. data/sig/openai/models/beta/beta_response_shell_call_command_done_event.rbs +22 -0
  600. data/sig/openai/models/beta/beta_response_shell_call_output_content_delta_event.rbs +33 -0
  601. data/sig/openai/models/beta/beta_response_shell_call_output_content_done_event.rbs +49 -0
  602. data/sig/openai/models/beta/beta_response_steer_accepted_event.rbs +22 -0
  603. data/sig/openai/models/beta/beta_response_steer_event.rbs +25 -0
  604. data/sig/openai/models/beta/beta_response_steer_failed_event.rbs +78 -0
  605. data/sig/openai/models/beta/beta_response_steer_input.rbs +64 -0
  606. data/sig/openai/models/beta/beta_response_steer_pending_event.rbs +42 -0
  607. data/sig/openai/models/beta/beta_response_text_config.rbs +49 -0
  608. data/sig/openai/models/beta/beta_response_text_delta_event.rbs +45 -0
  609. data/sig/openai/models/beta/beta_response_text_done_event.rbs +45 -0
  610. data/sig/openai/models/beta/beta_response_tool_search_call.rbs +29 -0
  611. data/sig/openai/models/beta/beta_response_tool_search_output_item.rbs +29 -0
  612. data/sig/openai/models/beta/beta_response_tool_search_output_item_param.rbs +25 -0
  613. data/sig/openai/models/beta/beta_response_usage.rbs +26 -0
  614. data/sig/openai/models/beta/beta_response_web_search_call_completed_event.rbs +18 -0
  615. data/sig/openai/models/beta/beta_response_web_search_call_in_progress_event.rbs +18 -0
  616. data/sig/openai/models/beta/beta_response_web_search_call_searching_event.rbs +18 -0
  617. data/sig/openai/models/beta/beta_responses_client_event.rbs +658 -2
  618. data/sig/openai/models/beta/beta_responses_server_event.rbs +1132 -0
  619. data/sig/openai/models/beta/beta_skill_reference.rbs +10 -0
  620. data/sig/openai/models/beta/beta_tool.rbs +347 -0
  621. data/sig/openai/models/beta/beta_tool_choice_allowed.rbs +39 -0
  622. data/sig/openai/models/beta/beta_tool_choice_apply_patch.rbs +3 -0
  623. data/sig/openai/models/beta/beta_tool_choice_custom.rbs +6 -0
  624. data/sig/openai/models/beta/beta_tool_choice_function.rbs +6 -0
  625. data/sig/openai/models/beta/beta_tool_choice_mcp.rbs +9 -0
  626. data/sig/openai/models/beta/beta_tool_choice_shell.rbs +3 -0
  627. data/sig/openai/models/beta/beta_tool_choice_types.rbs +25 -0
  628. data/sig/openai/models/beta/beta_tool_search_tool.rbs +13 -0
  629. data/sig/openai/models/beta/beta_web_search_preview_tool.rbs +34 -0
  630. data/sig/openai/models/beta/beta_web_search_tool.rbs +55 -0
  631. data/sig/openai/models/beta/chatkit/chat_session.rbs +30 -0
  632. data/sig/openai/models/beta/chatkit/chat_session_automatic_thread_titling.rbs +3 -0
  633. data/sig/openai/models/beta/chatkit/chat_session_chatkit_configuration.rbs +9 -0
  634. data/sig/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rbs +51 -0
  635. data/sig/openai/models/beta/chatkit/chat_session_expires_after_param.rbs +6 -0
  636. data/sig/openai/models/beta/chatkit/chat_session_file_upload.rbs +9 -0
  637. data/sig/openai/models/beta/chatkit/chat_session_history.rbs +8 -0
  638. data/sig/openai/models/beta/chatkit/chat_session_rate_limits.rbs +3 -0
  639. data/sig/openai/models/beta/chatkit/chat_session_rate_limits_param.rbs +4 -0
  640. data/sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs +25 -0
  641. data/sig/openai/models/beta/chatkit/chatkit_attachment.rbs +15 -0
  642. data/sig/openai/models/beta/chatkit/chatkit_response_output_text.rbs +33 -0
  643. data/sig/openai/models/beta/chatkit/chatkit_thread.rbs +35 -0
  644. data/sig/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rbs +18 -0
  645. data/sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs +98 -0
  646. data/sig/openai/models/beta/chatkit/chatkit_thread_user_message_item.rbs +44 -0
  647. data/sig/openai/models/beta/chatkit/chatkit_widget_item.rbs +18 -0
  648. data/sig/openai/models/beta/chatkit/session_create_params.rbs +23 -0
  649. data/sig/openai/models/beta/chatkit/thread_delete_response.rbs +9 -0
  650. data/sig/openai/models/beta/chatkit/thread_list_items_params.rbs +22 -0
  651. data/sig/openai/models/beta/chatkit/thread_list_params.rbs +29 -0
  652. data/sig/openai/models/beta/chatkit_workflow.rbs +19 -0
  653. data/sig/openai/models/beta/code_interpreter_tool.rbs +3 -0
  654. data/sig/openai/models/beta/environment.rbs +59 -0
  655. data/sig/openai/models/beta/environment_param.rbs +70 -1
  656. data/sig/openai/models/beta/file_search_tool.rbs +63 -0
  657. data/sig/openai/models/beta/function_tool.rbs +3 -0
  658. data/sig/openai/models/beta/hosted_environment_file.rbs +12 -0
  659. data/sig/openai/models/beta/hosted_environment_file_id.rbs +15 -0
  660. data/sig/openai/models/beta/hosted_environment_file_param.rbs +18 -0
  661. data/sig/openai/models/beta/hosted_plugin.rbs +9 -0
  662. data/sig/openai/models/beta/hosted_plugin_param.rbs +12 -0
  663. data/sig/openai/models/beta/hosted_skill.rbs +9 -0
  664. data/sig/openai/models/beta/hosted_skill_param.rbs +21 -0
  665. data/sig/openai/models/beta/hosted_skill_reference.rbs +15 -0
  666. data/sig/openai/models/beta/inline_capability_source_param.rbs +9 -0
  667. data/sig/openai/models/beta/input_content.rbs +14 -0
  668. data/sig/openai/models/beta/input_content_param.rbs +12 -0
  669. data/sig/openai/models/beta/mcp_transport.rbs +21 -0
  670. data/sig/openai/models/beta/mcp_transport_param.rbs +30 -0
  671. data/sig/openai/models/beta/message_stream_event.rbs +25 -0
  672. data/sig/openai/models/beta/multi_agent_config.rbs +8 -0
  673. data/sig/openai/models/beta/multi_agent_config_param.rbs +7 -0
  674. data/sig/openai/models/beta/output_text.rbs +6 -0
  675. data/sig/openai/models/beta/persisted_agent_tool.rbs +75 -0
  676. data/sig/openai/models/beta/persisted_agent_tool_param.rbs +86 -0
  677. data/sig/openai/models/beta/persisted_mcp_transport.rbs +24 -0
  678. data/sig/openai/models/beta/persisted_mcp_transport_param.rbs +24 -0
  679. data/sig/openai/models/beta/response_compact_params.rbs +121 -2
  680. data/sig/openai/models/beta/response_create_params.rbs +626 -2
  681. data/sig/openai/models/beta/response_retrieve_params.rbs +30 -0
  682. data/sig/openai/models/beta/responses/beta_response_item_list.rbs +15 -0
  683. data/sig/openai/models/beta/responses/input_item_list_params.rbs +31 -0
  684. data/sig/openai/models/beta/responses/input_token_count_params.rbs +206 -0
  685. data/sig/openai/models/beta/run_step_stream_event.rbs +23 -0
  686. data/sig/openai/models/beta/run_stream_event.rbs +50 -0
  687. data/sig/openai/models/beta/session_error.rbs +12 -0
  688. data/sig/openai/models/beta/session_turn_error.rbs +6 -0
  689. data/sig/openai/models/beta/setup_command_param.rbs +6 -0
  690. data/sig/openai/models/beta/subagent.rbs +33 -0
  691. data/sig/openai/models/beta/summary_text.rbs +6 -0
  692. data/sig/openai/models/beta/text_format.rbs +9 -0
  693. data/sig/openai/models/beta/text_format_param.rbs +9 -0
  694. data/sig/openai/models/beta/thread.rbs +54 -0
  695. data/sig/openai/models/beta/thread_create_and_run_params.rbs +367 -0
  696. data/sig/openai/models/beta/thread_create_params.rbs +162 -0
  697. data/sig/openai/models/beta/thread_stream_event.rbs +9 -0
  698. data/sig/openai/models/beta/thread_update_params.rbs +45 -0
  699. data/sig/openai/models/beta/threads/file_citation_annotation.rbs +9 -0
  700. data/sig/openai/models/beta/threads/file_citation_delta_annotation.rbs +18 -0
  701. data/sig/openai/models/beta/threads/file_path_annotation.rbs +9 -0
  702. data/sig/openai/models/beta/threads/file_path_delta_annotation.rbs +14 -0
  703. data/sig/openai/models/beta/threads/image_file.rbs +14 -0
  704. data/sig/openai/models/beta/threads/image_file_content_block.rbs +3 -0
  705. data/sig/openai/models/beta/threads/image_file_delta.rbs +17 -0
  706. data/sig/openai/models/beta/threads/image_file_delta_block.rbs +6 -0
  707. data/sig/openai/models/beta/threads/image_url.rbs +12 -0
  708. data/sig/openai/models/beta/threads/image_url_content_block.rbs +3 -0
  709. data/sig/openai/models/beta/threads/image_url_delta.rbs +14 -0
  710. data/sig/openai/models/beta/threads/image_url_delta_block.rbs +6 -0
  711. data/sig/openai/models/beta/threads/message.rbs +78 -0
  712. data/sig/openai/models/beta/threads/message_create_params.rbs +43 -0
  713. data/sig/openai/models/beta/threads/message_delta.rbs +8 -0
  714. data/sig/openai/models/beta/threads/message_delta_event.rbs +9 -0
  715. data/sig/openai/models/beta/threads/message_list_params.rbs +44 -0
  716. data/sig/openai/models/beta/threads/message_update_params.rbs +13 -0
  717. data/sig/openai/models/beta/threads/refusal_content_block.rbs +3 -0
  718. data/sig/openai/models/beta/threads/refusal_delta_block.rbs +6 -0
  719. data/sig/openai/models/beta/threads/required_action_function_tool_call.rbs +23 -0
  720. data/sig/openai/models/beta/threads/run.rbs +226 -0
  721. data/sig/openai/models/beta/threads/run_create_params.rbs +256 -0
  722. data/sig/openai/models/beta/threads/run_list_params.rbs +40 -0
  723. data/sig/openai/models/beta/threads/run_submit_tool_outputs_params.rbs +14 -0
  724. data/sig/openai/models/beta/threads/run_update_params.rbs +13 -0
  725. data/sig/openai/models/beta/threads/runs/code_interpreter_logs.rbs +10 -0
  726. data/sig/openai/models/beta/threads/runs/code_interpreter_output_image.rbs +13 -0
  727. data/sig/openai/models/beta/threads/runs/code_interpreter_tool_call.rbs +35 -0
  728. data/sig/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rbs +30 -0
  729. data/sig/openai/models/beta/threads/runs/file_search_tool_call.rbs +55 -0
  730. data/sig/openai/models/beta/threads/runs/file_search_tool_call_delta.rbs +15 -0
  731. data/sig/openai/models/beta/threads/runs/function_tool_call.rbs +22 -0
  732. data/sig/openai/models/beta/threads/runs/function_tool_call_delta.rbs +29 -0
  733. data/sig/openai/models/beta/threads/runs/message_creation_step_details.rbs +6 -0
  734. data/sig/openai/models/beta/threads/runs/run_step.rbs +91 -0
  735. data/sig/openai/models/beta/threads/runs/run_step_delta.rbs +4 -0
  736. data/sig/openai/models/beta/threads/runs/run_step_delta_event.rbs +9 -0
  737. data/sig/openai/models/beta/threads/runs/run_step_delta_message_delta.rbs +7 -0
  738. data/sig/openai/models/beta/threads/runs/step_list_params.rbs +62 -0
  739. data/sig/openai/models/beta/threads/runs/step_retrieve_params.rbs +22 -0
  740. data/sig/openai/models/beta/threads/runs/tool_call_delta_object.rbs +13 -0
  741. data/sig/openai/models/beta/threads/runs/tool_calls_step_details.rbs +10 -0
  742. data/sig/openai/models/beta/threads/text.rbs +3 -0
  743. data/sig/openai/models/beta/threads/text_content_block.rbs +3 -0
  744. data/sig/openai/models/beta/threads/text_content_block_param.rbs +6 -0
  745. data/sig/openai/models/beta/threads/text_delta.rbs +4 -0
  746. data/sig/openai/models/beta/threads/text_delta_block.rbs +6 -0
  747. data/sig/openai/models/beta/token_usage.rbs +21 -0
  748. data/sig/openai/models/beta/web_search_action.rbs +27 -0
  749. data/sig/openai/models/chat/chat_completion.rbs +213 -0
  750. data/sig/openai/models/chat/chat_completion_allowed_tool_choice.rbs +6 -0
  751. data/sig/openai/models/chat/chat_completion_allowed_tools.rbs +34 -0
  752. data/sig/openai/models/chat/chat_completion_assistant_message_param.rbs +47 -0
  753. data/sig/openai/models/chat/chat_completion_audio.rbs +16 -0
  754. data/sig/openai/models/chat/chat_completion_audio_param.rbs +17 -0
  755. data/sig/openai/models/chat/chat_completion_chunk.rbs +279 -0
  756. data/sig/openai/models/chat/chat_completion_content_part.rbs +31 -0
  757. data/sig/openai/models/chat/chat_completion_content_part_image.rbs +26 -0
  758. data/sig/openai/models/chat/chat_completion_content_part_input_audio.rbs +22 -0
  759. data/sig/openai/models/chat/chat_completion_content_part_refusal.rbs +6 -0
  760. data/sig/openai/models/chat/chat_completion_content_part_text.rbs +19 -0
  761. data/sig/openai/models/chat/chat_completion_custom_tool.rbs +32 -0
  762. data/sig/openai/models/chat/chat_completion_deleted.rbs +9 -0
  763. data/sig/openai/models/chat/chat_completion_developer_message_param.rbs +13 -0
  764. data/sig/openai/models/chat/chat_completion_function_call_option.rbs +3 -0
  765. data/sig/openai/models/chat/chat_completion_function_message_param.rbs +9 -0
  766. data/sig/openai/models/chat/chat_completion_function_tool.rbs +3 -0
  767. data/sig/openai/models/chat/chat_completion_message.rbs +64 -0
  768. data/sig/openai/models/chat/chat_completion_message_custom_tool_call.rbs +15 -0
  769. data/sig/openai/models/chat/chat_completion_message_function_tool_call.rbs +21 -0
  770. data/sig/openai/models/chat/chat_completion_named_tool_choice.rbs +6 -0
  771. data/sig/openai/models/chat/chat_completion_named_tool_choice_custom.rbs +6 -0
  772. data/sig/openai/models/chat/chat_completion_prediction_content.rbs +12 -0
  773. data/sig/openai/models/chat/chat_completion_store_message.rbs +29 -0
  774. data/sig/openai/models/chat/chat_completion_stream_options.rbs +41 -0
  775. data/sig/openai/models/chat/chat_completion_system_message_param.rbs +13 -0
  776. data/sig/openai/models/chat/chat_completion_token_logprob.rbs +43 -0
  777. data/sig/openai/models/chat/chat_completion_tool_message_param.rbs +9 -0
  778. data/sig/openai/models/chat/chat_completion_user_message_param.rbs +13 -0
  779. data/sig/openai/models/chat/completion_create_params.rbs +637 -0
  780. data/sig/openai/models/chat/completion_list_params.rbs +26 -0
  781. data/sig/openai/models/chat/completion_update_params.rbs +13 -0
  782. data/sig/openai/models/chat/completions/message_list_params.rbs +15 -0
  783. data/sig/openai/models/chat_model.rbs +2 -2
  784. data/sig/openai/models/comparison_filter.rbs +31 -0
  785. data/sig/openai/models/completion.rbs +32 -0
  786. data/sig/openai/models/completion_choice.rbs +9 -0
  787. data/sig/openai/models/completion_create_params.rbs +198 -0
  788. data/sig/openai/models/completion_usage.rbs +69 -0
  789. data/sig/openai/models/compound_filter.rbs +8 -0
  790. data/sig/openai/models/container_create_params.rbs +28 -0
  791. data/sig/openai/models/container_create_response.rbs +52 -0
  792. data/sig/openai/models/container_list_params.rbs +31 -0
  793. data/sig/openai/models/container_list_response.rbs +52 -0
  794. data/sig/openai/models/container_retrieve_response.rbs +52 -0
  795. data/sig/openai/models/containers/file_create_params.rbs +20 -0
  796. data/sig/openai/models/containers/file_create_response.rbs +21 -0
  797. data/sig/openai/models/containers/file_list_params.rbs +27 -0
  798. data/sig/openai/models/containers/file_list_response.rbs +21 -0
  799. data/sig/openai/models/containers/file_retrieve_response.rbs +21 -0
  800. data/sig/openai/models/content_provenance_check.rbs +69 -0
  801. data/sig/openai/models/content_provenance_check_create_params.rbs +11 -0
  802. data/sig/openai/models/conversations/computer_screenshot_content.rbs +29 -0
  803. data/sig/openai/models/conversations/conversation.rbs +22 -0
  804. data/sig/openai/models/conversations/conversation_create_params.rbs +18 -0
  805. data/sig/openai/models/conversations/conversation_item.rbs +211 -0
  806. data/sig/openai/models/conversations/conversation_item_list.rbs +15 -0
  807. data/sig/openai/models/conversations/conversation_update_params.rbs +11 -0
  808. data/sig/openai/models/conversations/item_create_params.rbs +13 -0
  809. data/sig/openai/models/conversations/item_list_params.rbs +79 -0
  810. data/sig/openai/models/conversations/item_retrieve_params.rbs +10 -0
  811. data/sig/openai/models/conversations/message.rbs +34 -0
  812. data/sig/openai/models/conversations/summary_text_content.rbs +6 -0
  813. data/sig/openai/models/create_embedding_response.rbs +18 -0
  814. data/sig/openai/models/custom_tool_input_format.rbs +12 -0
  815. data/sig/openai/models/embedding.rbs +13 -0
  816. data/sig/openai/models/embedding_create_params.rbs +54 -0
  817. data/sig/openai/models/error_object.rbs +15 -0
  818. data/sig/openai/models/eval_create_params.rbs +161 -0
  819. data/sig/openai/models/eval_create_response.rbs +96 -0
  820. data/sig/openai/models/eval_custom_data_source_config.rbs +8 -0
  821. data/sig/openai/models/eval_list_params.rbs +22 -0
  822. data/sig/openai/models/eval_list_response.rbs +96 -0
  823. data/sig/openai/models/eval_retrieve_response.rbs +96 -0
  824. data/sig/openai/models/eval_stored_completions_data_source_config.rbs +21 -0
  825. data/sig/openai/models/eval_update_params.rbs +17 -0
  826. data/sig/openai/models/eval_update_response.rbs +96 -0
  827. data/sig/openai/models/evals/create_eval_completions_run_data_source.rbs +180 -0
  828. data/sig/openai/models/evals/create_eval_jsonl_run_data_source.rbs +18 -0
  829. data/sig/openai/models/evals/eval_api_error.rbs +6 -0
  830. data/sig/openai/models/evals/run_cancel_response.rbs +363 -0
  831. data/sig/openai/models/evals/run_create_params.rbs +292 -0
  832. data/sig/openai/models/evals/run_create_response.rbs +363 -0
  833. data/sig/openai/models/evals/run_list_params.rbs +22 -0
  834. data/sig/openai/models/evals/run_list_response.rbs +363 -0
  835. data/sig/openai/models/evals/run_retrieve_response.rbs +363 -0
  836. data/sig/openai/models/evals/runs/output_item_list_params.rbs +22 -0
  837. data/sig/openai/models/evals/runs/output_item_list_response.rbs +102 -0
  838. data/sig/openai/models/evals/runs/output_item_retrieve_response.rbs +102 -0
  839. data/sig/openai/models/file_create_params.rbs +45 -0
  840. data/sig/openai/models/file_list_params.rbs +31 -0
  841. data/sig/openai/models/file_object.rbs +38 -0
  842. data/sig/openai/models/fine_tuning/alpha/grader_run_params.rbs +27 -0
  843. data/sig/openai/models/fine_tuning/alpha/grader_validate_params.rbs +3 -0
  844. data/sig/openai/models/fine_tuning/alpha/grader_validate_response.rbs +4 -0
  845. data/sig/openai/models/fine_tuning/checkpoints/permission_create_params.rbs +3 -0
  846. data/sig/openai/models/fine_tuning/checkpoints/permission_create_response.rbs +12 -0
  847. data/sig/openai/models/fine_tuning/checkpoints/permission_delete_response.rbs +9 -0
  848. data/sig/openai/models/fine_tuning/checkpoints/permission_list_params.rbs +16 -0
  849. data/sig/openai/models/fine_tuning/checkpoints/permission_list_response.rbs +12 -0
  850. data/sig/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rbs +16 -0
  851. data/sig/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rbs +12 -0
  852. data/sig/openai/models/fine_tuning/dpo_hyperparameters.rbs +28 -0
  853. data/sig/openai/models/fine_tuning/dpo_method.rbs +4 -0
  854. data/sig/openai/models/fine_tuning/fine_tuning_job.rbs +137 -0
  855. data/sig/openai/models/fine_tuning/fine_tuning_job_event.rbs +23 -0
  856. data/sig/openai/models/fine_tuning/fine_tuning_job_wandb_integration.rbs +25 -0
  857. data/sig/openai/models/fine_tuning/fine_tuning_job_wandb_integration_object.rbs +12 -0
  858. data/sig/openai/models/fine_tuning/job_create_params.rbs +191 -0
  859. data/sig/openai/models/fine_tuning/job_list_events_params.rbs +8 -0
  860. data/sig/openai/models/fine_tuning/job_list_params.rbs +13 -0
  861. data/sig/openai/models/fine_tuning/jobs/checkpoint_list_params.rbs +8 -0
  862. data/sig/openai/models/fine_tuning/jobs/fine_tuning_job_checkpoint.rbs +21 -0
  863. data/sig/openai/models/fine_tuning/reinforcement_hyperparameters.rbs +37 -0
  864. data/sig/openai/models/fine_tuning/reinforcement_method.rbs +7 -0
  865. data/sig/openai/models/fine_tuning/supervised_hyperparameters.rbs +21 -0
  866. data/sig/openai/models/fine_tuning/supervised_method.rbs +4 -0
  867. data/sig/openai/models/function_definition.rbs +45 -0
  868. data/sig/openai/models/graders/grader_input_item.rbs +19 -0
  869. data/sig/openai/models/graders/label_model_grader.rbs +48 -0
  870. data/sig/openai/models/graders/multi_grader.rbs +14 -0
  871. data/sig/openai/models/graders/python_grader.rbs +13 -0
  872. data/sig/openai/models/graders/score_model_grader.rbs +80 -0
  873. data/sig/openai/models/graders/string_check_grader.rbs +15 -0
  874. data/sig/openai/models/graders/text_similarity_grader.rbs +17 -0
  875. data/sig/openai/models/image.rbs +24 -0
  876. data/sig/openai/models/image_create_variation_params.rbs +43 -0
  877. data/sig/openai/models/image_edit_completed_event.rbs +44 -0
  878. data/sig/openai/models/image_edit_params.rbs +183 -0
  879. data/sig/openai/models/image_edit_partial_image_event.rbs +24 -0
  880. data/sig/openai/models/image_gen_completed_event.rbs +44 -0
  881. data/sig/openai/models/image_gen_partial_image_event.rbs +24 -0
  882. data/sig/openai/models/image_generate_params.rbs +148 -0
  883. data/sig/openai/models/image_input_reference_param.rbs +4 -0
  884. data/sig/openai/models/images_response.rbs +61 -0
  885. data/sig/openai/models/live/audio_format.rbs +18 -0
  886. data/sig/openai/models/live/client_config.rbs +3 -0
  887. data/sig/openai/models/live/client_delegation.rbs +3 -0
  888. data/sig/openai/models/live/commentary_append_event.rbs +22 -0
  889. data/sig/openai/models/live/commentary_appended_event.rbs +23 -0
  890. data/sig/openai/models/live/data_channel_config.rbs +23 -0
  891. data/sig/openai/models/live/delegation_created_event.rbs +43 -0
  892. data/sig/openai/models/live/error.rbs +19 -0
  893. data/sig/openai/models/live/error_event.rbs +16 -0
  894. data/sig/openai/models/live/fork_server_event.rbs +26 -0
  895. data/sig/openai/models/live/fork_session_config.rbs +48 -0
  896. data/sig/openai/models/live/fork_session_start_event.rbs +17 -0
  897. data/sig/openai/models/live/function_tool.rbs +17 -0
  898. data/sig/openai/models/live/info_event.rbs +19 -0
  899. data/sig/openai/models/live/initial_item.rbs +93 -0
  900. data/sig/openai/models/live/input_audio_append_event.rbs +19 -0
  901. data/sig/openai/models/live/input_audio_mute_event.rbs +8 -0
  902. data/sig/openai/models/live/input_audio_muted_event.rbs +13 -0
  903. data/sig/openai/models/live/input_audio_unmute_event.rbs +8 -0
  904. data/sig/openai/models/live/input_audio_unmuted_event.rbs +13 -0
  905. data/sig/openai/models/live/input_transcript_delta_event.rbs +28 -0
  906. data/sig/openai/models/live/instructions_append_event.rbs +20 -0
  907. data/sig/openai/models/live/instructions_appended_event.rbs +23 -0
  908. data/sig/openai/models/live/live_create_params.rbs +12 -0
  909. data/sig/openai/models/live/live_create_response.rbs +19 -0
  910. data/sig/openai/models/live/media_session_config.rbs +78 -0
  911. data/sig/openai/models/live/media_session_fork_config.rbs +31 -0
  912. data/sig/openai/models/live/output_audio_delta_event.rbs +25 -0
  913. data/sig/openai/models/live/output_transcript_delta_event.rbs +28 -0
  914. data/sig/openai/models/live/response_create_event.rbs +8 -0
  915. data/sig/openai/models/live/response_event.rbs +25 -0
  916. data/sig/openai/models/live/response_item_create_event.rbs +13 -0
  917. data/sig/openai/models/live/responses_delegation_config.rbs +59 -0
  918. data/sig/openai/models/live/responses_delegation_update_config.rbs +63 -0
  919. data/sig/openai/models/live/server_event.rbs +26 -0
  920. data/sig/openai/models/live/server_event_selector.rbs +10 -0
  921. data/sig/openai/models/live/session_accept_params.rbs +80 -0
  922. data/sig/openai/models/live/session_close_event.rbs +8 -0
  923. data/sig/openai/models/live/session_closed_event.rbs +28 -0
  924. data/sig/openai/models/live/session_config.rbs +85 -0
  925. data/sig/openai/models/live/session_download_recording_params.rbs +5 -0
  926. data/sig/openai/models/live/session_fork_params.rbs +16 -0
  927. data/sig/openai/models/live/session_fork_response.rbs +19 -0
  928. data/sig/openai/models/live/session_refer_params.rbs +5 -0
  929. data/sig/openai/models/live/session_reject_params.rbs +3 -0
  930. data/sig/openai/models/live/session_resource.rbs +100 -0
  931. data/sig/openai/models/live/session_start_event.rbs +15 -0
  932. data/sig/openai/models/live/session_started_event.rbs +16 -0
  933. data/sig/openai/models/live/session_update_config.rbs +15 -0
  934. data/sig/openai/models/live/session_update_event.rbs +15 -0
  935. data/sig/openai/models/live/session_updated_event.rbs +16 -0
  936. data/sig/openai/models/live/session_usage.rbs +5 -0
  937. data/sig/openai/models/live/session_usage_updated_event.rbs +28 -0
  938. data/sig/openai/models/live/thinking_append_event.rbs +22 -0
  939. data/sig/openai/models/live/thinking_appended_event.rbs +23 -0
  940. data/sig/openai/models/model.rbs +15 -0
  941. data/sig/openai/models/moderation.rbs +163 -0
  942. data/sig/openai/models/moderation_create_params.rbs +18 -0
  943. data/sig/openai/models/moderation_create_response.rbs +9 -0
  944. data/sig/openai/models/moderation_image_url_input.rbs +9 -0
  945. data/sig/openai/models/moderation_text_input.rbs +6 -0
  946. data/sig/openai/models/other_file_chunking_strategy_object.rbs +3 -0
  947. data/sig/openai/models/realtime/audio_transcription.rbs +72 -0
  948. data/sig/openai/models/realtime/call_accept_params.rbs +72 -0
  949. data/sig/openai/models/realtime/call_create_params.rbs +7 -0
  950. data/sig/openai/models/realtime/call_refer_params.rbs +5 -0
  951. data/sig/openai/models/realtime/call_reject_params.rbs +7 -0
  952. data/sig/openai/models/realtime/client_secret_create_params.rbs +40 -0
  953. data/sig/openai/models/realtime/client_secret_create_response.rbs +9 -0
  954. data/sig/openai/models/realtime/conversation_created_event.rbs +17 -0
  955. data/sig/openai/models/realtime/conversation_item_added.rbs +14 -0
  956. data/sig/openai/models/realtime/conversation_item_create_event.rbs +38 -0
  957. data/sig/openai/models/realtime/conversation_item_created_event.rbs +16 -0
  958. data/sig/openai/models/realtime/conversation_item_delete_event.rbs +10 -0
  959. data/sig/openai/models/realtime/conversation_item_deleted_event.rbs +9 -0
  960. data/sig/openai/models/realtime/conversation_item_done.rbs +14 -0
  961. data/sig/openai/models/realtime/conversation_item_input_audio_transcription_completed_event.rbs +60 -0
  962. data/sig/openai/models/realtime/conversation_item_input_audio_transcription_delta_event.rbs +30 -0
  963. data/sig/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rbs +31 -0
  964. data/sig/openai/models/realtime/conversation_item_input_audio_transcription_segment.rbs +27 -0
  965. data/sig/openai/models/realtime/conversation_item_retrieve_event.rbs +10 -0
  966. data/sig/openai/models/realtime/conversation_item_truncate_event.rbs +22 -0
  967. data/sig/openai/models/realtime/conversation_item_truncated_event.rbs +15 -0
  968. data/sig/openai/models/realtime/conversation_item_with_reference.rbs +111 -0
  969. data/sig/openai/models/realtime/input_audio_buffer_append_event.rbs +12 -0
  970. data/sig/openai/models/realtime/input_audio_buffer_clear_event.rbs +7 -0
  971. data/sig/openai/models/realtime/input_audio_buffer_cleared_event.rbs +6 -0
  972. data/sig/openai/models/realtime/input_audio_buffer_commit_event.rbs +7 -0
  973. data/sig/openai/models/realtime/input_audio_buffer_committed_event.rbs +14 -0
  974. data/sig/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rbs +9 -0
  975. data/sig/openai/models/realtime/input_audio_buffer_speech_started_event.rbs +18 -0
  976. data/sig/openai/models/realtime/input_audio_buffer_speech_stopped_event.rbs +16 -0
  977. data/sig/openai/models/realtime/input_audio_buffer_timeout_triggered.rbs +19 -0
  978. data/sig/openai/models/realtime/log_prob_properties.rbs +9 -0
  979. data/sig/openai/models/realtime/mcp_list_tools_completed.rbs +9 -0
  980. data/sig/openai/models/realtime/mcp_list_tools_failed.rbs +9 -0
  981. data/sig/openai/models/realtime/mcp_list_tools_in_progress.rbs +9 -0
  982. data/sig/openai/models/realtime/output_audio_buffer_clear_event.rbs +7 -0
  983. data/sig/openai/models/realtime/rate_limits_updated_event.rbs +25 -0
  984. data/sig/openai/models/realtime/realtime_audio_config_input.rbs +88 -0
  985. data/sig/openai/models/realtime/realtime_audio_config_output.rbs +48 -0
  986. data/sig/openai/models/realtime/realtime_audio_formats.rbs +16 -0
  987. data/sig/openai/models/realtime/realtime_audio_input_turn_detection.rbs +129 -0
  988. data/sig/openai/models/realtime/realtime_conversation_item_assistant_message.rbs +55 -0
  989. data/sig/openai/models/realtime/realtime_conversation_item_function_call.rbs +35 -0
  990. data/sig/openai/models/realtime/realtime_conversation_item_function_call_output.rbs +29 -0
  991. data/sig/openai/models/realtime/realtime_conversation_item_system_message.rbs +35 -0
  992. data/sig/openai/models/realtime/realtime_conversation_item_user_message.rbs +69 -0
  993. data/sig/openai/models/realtime/realtime_error.rbs +15 -0
  994. data/sig/openai/models/realtime/realtime_error_event.rbs +9 -0
  995. data/sig/openai/models/realtime/realtime_function_tool.rbs +19 -0
  996. data/sig/openai/models/realtime/realtime_mcp_approval_request.rbs +15 -0
  997. data/sig/openai/models/realtime/realtime_mcp_approval_response.rbs +15 -0
  998. data/sig/openai/models/realtime/realtime_mcp_list_tools.rbs +25 -0
  999. data/sig/openai/models/realtime/realtime_mcp_tool_call.rbs +24 -0
  1000. data/sig/openai/models/realtime/realtime_reasoning.rbs +7 -0
  1001. data/sig/openai/models/realtime/realtime_response.rbs +109 -0
  1002. data/sig/openai/models/realtime/realtime_response_create_audio_output.rbs +26 -0
  1003. data/sig/openai/models/realtime/realtime_response_create_mcp_tool.rbs +169 -0
  1004. data/sig/openai/models/realtime/realtime_response_create_params.rbs +127 -0
  1005. data/sig/openai/models/realtime/realtime_response_status.rbs +38 -0
  1006. data/sig/openai/models/realtime/realtime_response_usage.rbs +38 -0
  1007. data/sig/openai/models/realtime/realtime_response_usage_input_token_details.rbs +32 -0
  1008. data/sig/openai/models/realtime/realtime_response_usage_output_token_details.rbs +8 -0
  1009. data/sig/openai/models/realtime/realtime_server_event.rbs +36 -0
  1010. data/sig/openai/models/realtime/realtime_session.rbs +373 -0
  1011. data/sig/openai/models/realtime/realtime_session_create_request.rbs +178 -0
  1012. data/sig/openai/models/realtime/realtime_session_create_response.rbs +602 -0
  1013. data/sig/openai/models/realtime/realtime_tools_config_union.rbs +169 -0
  1014. data/sig/openai/models/realtime/realtime_tracing_config.rbs +21 -0
  1015. data/sig/openai/models/realtime/realtime_transcription_session_audio_input.rbs +88 -0
  1016. data/sig/openai/models/realtime/realtime_transcription_session_audio_input_turn_detection.rbs +129 -0
  1017. data/sig/openai/models/realtime/realtime_transcription_session_create_request.rbs +22 -0
  1018. data/sig/openai/models/realtime/realtime_transcription_session_create_response.rbs +57 -0
  1019. data/sig/openai/models/realtime/realtime_transcription_session_turn_detection.rbs +31 -0
  1020. data/sig/openai/models/realtime/realtime_translation_client_secret_create_request.rbs +38 -0
  1021. data/sig/openai/models/realtime/realtime_translation_client_secret_create_response.rbs +11 -0
  1022. data/sig/openai/models/realtime/realtime_translation_input_audio_buffer_append_event.rbs +10 -0
  1023. data/sig/openai/models/realtime/realtime_translation_input_transcript_delta_event.rbs +18 -0
  1024. data/sig/openai/models/realtime/realtime_translation_output_audio_delta_event.rbs +28 -0
  1025. data/sig/openai/models/realtime/realtime_translation_output_transcript_delta_event.rbs +18 -0
  1026. data/sig/openai/models/realtime/realtime_translation_session.rbs +41 -0
  1027. data/sig/openai/models/realtime/realtime_translation_session_close_event.rbs +7 -0
  1028. data/sig/openai/models/realtime/realtime_translation_session_closed_event.rbs +6 -0
  1029. data/sig/openai/models/realtime/realtime_translation_session_create_request.rbs +31 -0
  1030. data/sig/openai/models/realtime/realtime_translation_session_created_event.rbs +9 -0
  1031. data/sig/openai/models/realtime/realtime_translation_session_update_event.rbs +12 -0
  1032. data/sig/openai/models/realtime/realtime_translation_session_update_request.rbs +28 -0
  1033. data/sig/openai/models/realtime/realtime_translation_session_updated_event.rbs +9 -0
  1034. data/sig/openai/models/realtime/realtime_truncation_retention_ratio.rbs +35 -0
  1035. data/sig/openai/models/realtime/response_audio_delta_event.rbs +21 -0
  1036. data/sig/openai/models/realtime/response_audio_done_event.rbs +18 -0
  1037. data/sig/openai/models/realtime/response_audio_transcript_delta_event.rbs +21 -0
  1038. data/sig/openai/models/realtime/response_audio_transcript_done_event.rbs +21 -0
  1039. data/sig/openai/models/realtime/response_cancel_event.rbs +14 -0
  1040. data/sig/openai/models/realtime/response_content_part_added_event.rbs +37 -0
  1041. data/sig/openai/models/realtime/response_content_part_done_event.rbs +37 -0
  1042. data/sig/openai/models/realtime/response_create_event.rbs +11 -0
  1043. data/sig/openai/models/realtime/response_created_event.rbs +9 -0
  1044. data/sig/openai/models/realtime/response_done_event.rbs +9 -0
  1045. data/sig/openai/models/realtime/response_function_call_arguments_delta_event.rbs +21 -0
  1046. data/sig/openai/models/realtime/response_function_call_arguments_done_event.rbs +24 -0
  1047. data/sig/openai/models/realtime/response_mcp_call_arguments_delta.rbs +21 -0
  1048. data/sig/openai/models/realtime/response_mcp_call_arguments_done.rbs +18 -0
  1049. data/sig/openai/models/realtime/response_mcp_call_completed.rbs +12 -0
  1050. data/sig/openai/models/realtime/response_mcp_call_failed.rbs +12 -0
  1051. data/sig/openai/models/realtime/response_mcp_call_in_progress.rbs +12 -0
  1052. data/sig/openai/models/realtime/response_output_item_added_event.rbs +15 -0
  1053. data/sig/openai/models/realtime/response_output_item_done_event.rbs +15 -0
  1054. data/sig/openai/models/realtime/response_text_delta_event.rbs +21 -0
  1055. data/sig/openai/models/realtime/response_text_done_event.rbs +21 -0
  1056. data/sig/openai/models/realtime/session_created_event.rbs +9 -0
  1057. data/sig/openai/models/realtime/session_update_event.rbs +21 -0
  1058. data/sig/openai/models/realtime/session_updated_event.rbs +9 -0
  1059. data/sig/openai/models/realtime/transcription_session_update.rbs +107 -0
  1060. data/sig/openai/models/realtime/transcription_session_updated_event.rbs +86 -0
  1061. data/sig/openai/models/reasoning.rbs +60 -0
  1062. data/sig/openai/models/response_format_json_object.rbs +3 -0
  1063. data/sig/openai/models/response_format_json_schema.rbs +36 -0
  1064. data/sig/openai/models/response_format_text.rbs +3 -0
  1065. data/sig/openai/models/response_format_text_grammar.rbs +6 -0
  1066. data/sig/openai/models/response_format_text_python.rbs +3 -0
  1067. data/sig/openai/models/responses/apply_patch_tool.rbs +6 -0
  1068. data/sig/openai/models/responses/compacted_response.rbs +19 -0
  1069. data/sig/openai/models/responses/computer_action.rbs +126 -0
  1070. data/sig/openai/models/responses/computer_tool.rbs +3 -0
  1071. data/sig/openai/models/responses/computer_use_preview_tool.rbs +12 -0
  1072. data/sig/openai/models/responses/container_auto.rbs +18 -0
  1073. data/sig/openai/models/responses/container_network_policy_allowlist.rbs +10 -0
  1074. data/sig/openai/models/responses/container_network_policy_disabled.rbs +3 -0
  1075. data/sig/openai/models/responses/container_network_policy_domain_secret.rbs +9 -0
  1076. data/sig/openai/models/responses/container_reference.rbs +6 -0
  1077. data/sig/openai/models/responses/custom_tool.rbs +28 -0
  1078. data/sig/openai/models/responses/easy_input_message.rbs +23 -0
  1079. data/sig/openai/models/responses/file_search_tool.rbs +47 -0
  1080. data/sig/openai/models/responses/function_shell_tool.rbs +6 -0
  1081. data/sig/openai/models/responses/function_tool.rbs +29 -0
  1082. data/sig/openai/models/responses/inline_skill.rbs +12 -0
  1083. data/sig/openai/models/responses/inline_skill_source.rbs +9 -0
  1084. data/sig/openai/models/responses/input_item_list_params.rbs +31 -0
  1085. data/sig/openai/models/responses/input_token_count_params.rbs +146 -0
  1086. data/sig/openai/models/responses/local_environment.rbs +7 -0
  1087. data/sig/openai/models/responses/local_skill.rbs +9 -0
  1088. data/sig/openai/models/responses/namespace_tool.rbs +38 -0
  1089. data/sig/openai/models/responses/response.rbs +483 -0
  1090. data/sig/openai/models/responses/response_apply_patch_tool_call.rbs +53 -0
  1091. data/sig/openai/models/responses/response_apply_patch_tool_call_output.rbs +27 -0
  1092. data/sig/openai/models/responses/response_audio_delta_event.rbs +9 -0
  1093. data/sig/openai/models/responses/response_audio_done_event.rbs +6 -0
  1094. data/sig/openai/models/responses/response_audio_transcript_delta_event.rbs +9 -0
  1095. data/sig/openai/models/responses/response_audio_transcript_done_event.rbs +6 -0
  1096. data/sig/openai/models/responses/response_code_interpreter_call_code_delta_event.rbs +17 -0
  1097. data/sig/openai/models/responses/response_code_interpreter_call_code_done_event.rbs +15 -0
  1098. data/sig/openai/models/responses/response_code_interpreter_call_completed_event.rbs +14 -0
  1099. data/sig/openai/models/responses/response_code_interpreter_call_in_progress_event.rbs +14 -0
  1100. data/sig/openai/models/responses/response_code_interpreter_call_interpreting_event.rbs +14 -0
  1101. data/sig/openai/models/responses/response_code_interpreter_tool_call.rbs +34 -0
  1102. data/sig/openai/models/responses/response_compact_params.rbs +121 -2
  1103. data/sig/openai/models/responses/response_compaction_compacting_event.rbs +12 -0
  1104. data/sig/openai/models/responses/response_compaction_item.rbs +13 -0
  1105. data/sig/openai/models/responses/response_compaction_item_param.rbs +9 -0
  1106. data/sig/openai/models/responses/response_completed_event.rbs +9 -0
  1107. data/sig/openai/models/responses/response_computer_tool_call.rbs +163 -0
  1108. data/sig/openai/models/responses/response_computer_tool_call_output_item.rbs +37 -0
  1109. data/sig/openai/models/responses/response_computer_tool_call_output_screenshot.rbs +13 -0
  1110. data/sig/openai/models/responses/response_configuration_update_item.rbs +15 -0
  1111. data/sig/openai/models/responses/response_configuration_update_item_param.rbs +15 -0
  1112. data/sig/openai/models/responses/response_container_reference.rbs +3 -0
  1113. data/sig/openai/models/responses/response_content.rbs +6 -0
  1114. data/sig/openai/models/responses/response_content_part_added_event.rbs +24 -0
  1115. data/sig/openai/models/responses/response_content_part_done_event.rbs +24 -0
  1116. data/sig/openai/models/responses/response_conversation_param.rbs +3 -0
  1117. data/sig/openai/models/responses/response_create_params.rbs +539 -0
  1118. data/sig/openai/models/responses/response_created_event.rbs +9 -0
  1119. data/sig/openai/models/responses/response_custom_tool_call.rbs +30 -0
  1120. data/sig/openai/models/responses/response_custom_tool_call_input_delta_event.rbs +15 -0
  1121. data/sig/openai/models/responses/response_custom_tool_call_input_done_event.rbs +15 -0
  1122. data/sig/openai/models/responses/response_custom_tool_call_item.rbs +29 -0
  1123. data/sig/openai/models/responses/response_custom_tool_call_output.rbs +27 -0
  1124. data/sig/openai/models/responses/response_custom_tool_call_output_item.rbs +24 -0
  1125. data/sig/openai/models/responses/response_error.rbs +21 -0
  1126. data/sig/openai/models/responses/response_error_event.rbs +15 -0
  1127. data/sig/openai/models/responses/response_failed_event.rbs +9 -0
  1128. data/sig/openai/models/responses/response_file_search_call_completed_event.rbs +12 -0
  1129. data/sig/openai/models/responses/response_file_search_call_in_progress_event.rbs +12 -0
  1130. data/sig/openai/models/responses/response_file_search_call_searching_event.rbs +12 -0
  1131. data/sig/openai/models/responses/response_file_search_tool_call.rbs +44 -0
  1132. data/sig/openai/models/responses/response_format_text_json_schema_config.rbs +31 -0
  1133. data/sig/openai/models/responses/response_function_call_arguments_delta_event.rbs +15 -0
  1134. data/sig/openai/models/responses/response_function_call_arguments_done_event.rbs +12 -0
  1135. data/sig/openai/models/responses/response_function_shell_call_output_content.rbs +18 -0
  1136. data/sig/openai/models/responses/response_function_shell_tool_call.rbs +38 -0
  1137. data/sig/openai/models/responses/response_function_shell_tool_call_output.rbs +58 -0
  1138. data/sig/openai/models/responses/response_function_tool_call.rbs +37 -0
  1139. data/sig/openai/models/responses/response_function_tool_call_item.rbs +29 -0
  1140. data/sig/openai/models/responses/response_function_tool_call_output_item.rbs +44 -0
  1141. data/sig/openai/models/responses/response_function_web_search.rbs +50 -0
  1142. data/sig/openai/models/responses/response_image_gen_call_completed_event.rbs +12 -0
  1143. data/sig/openai/models/responses/response_image_gen_call_generating_event.rbs +12 -0
  1144. data/sig/openai/models/responses/response_image_gen_call_in_progress_event.rbs +12 -0
  1145. data/sig/openai/models/responses/response_image_gen_call_partial_image_event.rbs +36 -0
  1146. data/sig/openai/models/responses/response_in_progress_event.rbs +9 -0
  1147. data/sig/openai/models/responses/response_incomplete_event.rbs +9 -0
  1148. data/sig/openai/models/responses/response_input_audio.rbs +9 -0
  1149. data/sig/openai/models/responses/response_input_file.rbs +47 -0
  1150. data/sig/openai/models/responses/response_input_file_content.rbs +41 -0
  1151. data/sig/openai/models/responses/response_input_image.rbs +29 -0
  1152. data/sig/openai/models/responses/response_input_image_content.rbs +26 -0
  1153. data/sig/openai/models/responses/response_input_item.rbs +493 -0
  1154. data/sig/openai/models/responses/response_input_message_item.rbs +21 -0
  1155. data/sig/openai/models/responses/response_input_text.rbs +19 -0
  1156. data/sig/openai/models/responses/response_input_text_content.rbs +16 -0
  1157. data/sig/openai/models/responses/response_item.rbs +211 -0
  1158. data/sig/openai/models/responses/response_item_list.rbs +15 -0
  1159. data/sig/openai/models/responses/response_local_environment.rbs +3 -0
  1160. data/sig/openai/models/responses/response_mcp_call_arguments_delta_event.rbs +17 -0
  1161. data/sig/openai/models/responses/response_mcp_call_arguments_done_event.rbs +15 -0
  1162. data/sig/openai/models/responses/response_mcp_call_completed_event.rbs +12 -0
  1163. data/sig/openai/models/responses/response_mcp_call_failed_event.rbs +12 -0
  1164. data/sig/openai/models/responses/response_mcp_call_in_progress_event.rbs +12 -0
  1165. data/sig/openai/models/responses/response_mcp_list_tools_completed_event.rbs +12 -0
  1166. data/sig/openai/models/responses/response_mcp_list_tools_failed_event.rbs +12 -0
  1167. data/sig/openai/models/responses/response_mcp_list_tools_in_progress_event.rbs +12 -0
  1168. data/sig/openai/models/responses/response_output_audio.rbs +9 -0
  1169. data/sig/openai/models/responses/response_output_item.rbs +211 -0
  1170. data/sig/openai/models/responses/response_output_item_added_event.rbs +18 -0
  1171. data/sig/openai/models/responses/response_output_item_done_event.rbs +12 -0
  1172. data/sig/openai/models/responses/response_output_message.rbs +26 -0
  1173. data/sig/openai/models/responses/response_output_refusal.rbs +6 -0
  1174. data/sig/openai/models/responses/response_output_text.rbs +63 -0
  1175. data/sig/openai/models/responses/response_output_text_annotation_added_event.rbs +75 -0
  1176. data/sig/openai/models/responses/response_prompt.rbs +13 -0
  1177. data/sig/openai/models/responses/response_queued_event.rbs +9 -0
  1178. data/sig/openai/models/responses/response_reasoning_item.rbs +49 -0
  1179. data/sig/openai/models/responses/response_reasoning_summary_part_added_event.rbs +24 -0
  1180. data/sig/openai/models/responses/response_reasoning_summary_part_done_event.rbs +31 -0
  1181. data/sig/openai/models/responses/response_reasoning_summary_text_delta_event.rbs +18 -0
  1182. data/sig/openai/models/responses/response_reasoning_summary_text_done_event.rbs +18 -0
  1183. data/sig/openai/models/responses/response_reasoning_text_delta_event.rbs +18 -0
  1184. data/sig/openai/models/responses/response_reasoning_text_done_event.rbs +18 -0
  1185. data/sig/openai/models/responses/response_refusal_delta_event.rbs +18 -0
  1186. data/sig/openai/models/responses/response_refusal_done_event.rbs +18 -0
  1187. data/sig/openai/models/responses/response_retrieve_params.rbs +30 -0
  1188. data/sig/openai/models/responses/response_shell_call_command_added_event.rbs +15 -0
  1189. data/sig/openai/models/responses/response_shell_call_command_delta_event.rbs +19 -0
  1190. data/sig/openai/models/responses/response_shell_call_command_done_event.rbs +15 -0
  1191. data/sig/openai/models/responses/response_shell_call_output_content_delta_event.rbs +26 -0
  1192. data/sig/openai/models/responses/response_shell_call_output_content_done_event.rbs +42 -0
  1193. data/sig/openai/models/responses/response_steer_accepted_event.rbs +22 -0
  1194. data/sig/openai/models/responses/response_steer_event.rbs +25 -0
  1195. data/sig/openai/models/responses/response_steer_failed_event.rbs +78 -0
  1196. data/sig/openai/models/responses/response_steer_input.rbs +52 -0
  1197. data/sig/openai/models/responses/response_steer_pending_event.rbs +42 -0
  1198. data/sig/openai/models/responses/response_text_config.rbs +49 -0
  1199. data/sig/openai/models/responses/response_text_delta_event.rbs +39 -0
  1200. data/sig/openai/models/responses/response_text_done_event.rbs +39 -0
  1201. data/sig/openai/models/responses/response_tool_search_call.rbs +22 -0
  1202. data/sig/openai/models/responses/response_tool_search_output_item.rbs +22 -0
  1203. data/sig/openai/models/responses/response_tool_search_output_item_param.rbs +19 -0
  1204. data/sig/openai/models/responses/response_usage.rbs +26 -0
  1205. data/sig/openai/models/responses/response_web_search_call_completed_event.rbs +12 -0
  1206. data/sig/openai/models/responses/response_web_search_call_in_progress_event.rbs +12 -0
  1207. data/sig/openai/models/responses/response_web_search_call_searching_event.rbs +12 -0
  1208. data/sig/openai/models/responses/responses_client_event.rbs +571 -0
  1209. data/sig/openai/models/responses/responses_server_event.rbs +1010 -0
  1210. data/sig/openai/models/responses/skill_reference.rbs +10 -0
  1211. data/sig/openai/models/responses/tool.rbs +347 -0
  1212. data/sig/openai/models/responses/tool_choice_allowed.rbs +39 -0
  1213. data/sig/openai/models/responses/tool_choice_apply_patch.rbs +3 -0
  1214. data/sig/openai/models/responses/tool_choice_custom.rbs +6 -0
  1215. data/sig/openai/models/responses/tool_choice_function.rbs +6 -0
  1216. data/sig/openai/models/responses/tool_choice_mcp.rbs +9 -0
  1217. data/sig/openai/models/responses/tool_choice_shell.rbs +3 -0
  1218. data/sig/openai/models/responses/tool_choice_types.rbs +25 -0
  1219. data/sig/openai/models/responses/tool_search_tool.rbs +13 -0
  1220. data/sig/openai/models/responses/web_search_preview_tool.rbs +34 -0
  1221. data/sig/openai/models/responses/web_search_tool.rbs +55 -0
  1222. data/sig/openai/models/safety/alert_retrieve_params.rbs +3 -0
  1223. data/sig/openai/models/safety/case_retrieve_params.rbs +25 -0
  1224. data/sig/openai/models/safety/safety_alert.rbs +10 -0
  1225. data/sig/openai/models/safety/safety_case.rbs +75 -0
  1226. data/sig/openai/models/skill.rbs +21 -0
  1227. data/sig/openai/models/skill_create_params.rbs +16 -0
  1228. data/sig/openai/models/skill_list.rbs +15 -0
  1229. data/sig/openai/models/skill_list_params.rbs +15 -0
  1230. data/sig/openai/models/skill_update_params.rbs +3 -0
  1231. data/sig/openai/models/skills/deleted_skill_version.rbs +3 -0
  1232. data/sig/openai/models/skills/skill_version.rbs +21 -0
  1233. data/sig/openai/models/skills/skill_version_list.rbs +15 -0
  1234. data/sig/openai/models/skills/version_create_params.rbs +20 -0
  1235. data/sig/openai/models/skills/version_delete_params.rbs +3 -0
  1236. data/sig/openai/models/skills/version_list_params.rbs +12 -0
  1237. data/sig/openai/models/skills/version_retrieve_params.rbs +3 -0
  1238. data/sig/openai/models/skills/versions/content_retrieve_params.rbs +3 -0
  1239. data/sig/openai/models/static_file_chunking_strategy.rbs +12 -0
  1240. data/sig/openai/models/static_file_chunking_strategy_object.rbs +3 -0
  1241. data/sig/openai/models/static_file_chunking_strategy_object_param.rbs +3 -0
  1242. data/sig/openai/models/upload.rbs +31 -0
  1243. data/sig/openai/models/upload_complete_params.rbs +10 -0
  1244. data/sig/openai/models/upload_create_params.rbs +41 -0
  1245. data/sig/openai/models/uploads/part_create_params.rbs +11 -0
  1246. data/sig/openai/models/uploads/upload_part.rbs +12 -0
  1247. data/sig/openai/models/vector_store.rbs +68 -0
  1248. data/sig/openai/models/vector_store_create_params.rbs +53 -0
  1249. data/sig/openai/models/vector_store_list_params.rbs +40 -0
  1250. data/sig/openai/models/vector_store_search_params.rbs +26 -0
  1251. data/sig/openai/models/vector_store_search_response.rbs +29 -0
  1252. data/sig/openai/models/vector_store_update_params.rbs +27 -0
  1253. data/sig/openai/models/vector_stores/file_batch_create_params.rbs +85 -0
  1254. data/sig/openai/models/vector_stores/file_batch_list_files_params.rbs +44 -0
  1255. data/sig/openai/models/vector_stores/file_content_response.rbs +8 -0
  1256. data/sig/openai/models/vector_stores/file_create_params.rbs +29 -0
  1257. data/sig/openai/models/vector_stores/file_list_params.rbs +44 -0
  1258. data/sig/openai/models/vector_stores/file_update_params.rbs +11 -0
  1259. data/sig/openai/models/vector_stores/vector_store_file.rbs +56 -0
  1260. data/sig/openai/models/vector_stores/vector_store_file_batch.rbs +40 -0
  1261. data/sig/openai/models/video.rbs +41 -0
  1262. data/sig/openai/models/video_create_character_params.rbs +14 -0
  1263. data/sig/openai/models/video_create_character_response.rbs +9 -0
  1264. data/sig/openai/models/video_create_error.rbs +21 -0
  1265. data/sig/openai/models/video_create_params.rbs +37 -0
  1266. data/sig/openai/models/video_delete_response.rbs +9 -0
  1267. data/sig/openai/models/video_download_content_params.rbs +4 -0
  1268. data/sig/openai/models/video_edit_params.rbs +17 -0
  1269. data/sig/openai/models/video_extend_params.rbs +22 -0
  1270. data/sig/openai/models/video_get_character_response.rbs +9 -0
  1271. data/sig/openai/models/video_list_params.rbs +15 -0
  1272. data/sig/openai/models/video_remix_params.rbs +3 -0
  1273. data/sig/openai/models/webhooks/batch_cancelled_webhook_event.rbs +19 -0
  1274. data/sig/openai/models/webhooks/batch_completed_webhook_event.rbs +19 -0
  1275. data/sig/openai/models/webhooks/batch_expired_webhook_event.rbs +19 -0
  1276. data/sig/openai/models/webhooks/batch_failed_webhook_event.rbs +19 -0
  1277. data/sig/openai/models/webhooks/deleted_webhook_endpoint.rbs +9 -0
  1278. data/sig/openai/models/webhooks/eval_run_canceled_webhook_event.rbs +19 -0
  1279. data/sig/openai/models/webhooks/eval_run_failed_webhook_event.rbs +19 -0
  1280. data/sig/openai/models/webhooks/eval_run_succeeded_webhook_event.rbs +19 -0
  1281. data/sig/openai/models/webhooks/fine_tuning_job_cancelled_webhook_event.rbs +19 -0
  1282. data/sig/openai/models/webhooks/fine_tuning_job_failed_webhook_event.rbs +19 -0
  1283. data/sig/openai/models/webhooks/fine_tuning_job_succeeded_webhook_event.rbs +19 -0
  1284. data/sig/openai/models/webhooks/live_call_incoming_webhook_event.rbs +72 -3
  1285. data/sig/openai/models/webhooks/live_transport_incoming_webhook_event.rbs +72 -2
  1286. data/sig/openai/models/webhooks/realtime_call_incoming_webhook_event.rbs +72 -3
  1287. data/sig/openai/models/webhooks/response_cancelled_webhook_event.rbs +19 -0
  1288. data/sig/openai/models/webhooks/response_completed_webhook_event.rbs +19 -0
  1289. data/sig/openai/models/webhooks/response_failed_webhook_event.rbs +19 -0
  1290. data/sig/openai/models/webhooks/response_incomplete_webhook_event.rbs +19 -0
  1291. data/sig/openai/models/webhooks/safety_alert_created_webhook_event.rbs +15 -0
  1292. data/sig/openai/models/webhooks/safety_deactivation_issued_webhook_event.rbs +67 -0
  1293. data/sig/openai/models/webhooks/safety_org_alert_created_webhook_event.rbs +15 -0
  1294. data/sig/openai/models/webhooks/safety_warning_issued_webhook_event.rbs +67 -0
  1295. data/sig/openai/models/webhooks/unwrap_webhook_event.rbs +2 -0
  1296. data/sig/openai/models/webhooks/webhook_create_params.rbs +9 -0
  1297. data/sig/openai/models/webhooks/webhook_endpoint.rbs +28 -0
  1298. data/sig/openai/models/webhooks/webhook_endpoint_list.rbs +15 -0
  1299. data/sig/openai/models/webhooks/webhook_endpoint_test_result.rbs +17 -0
  1300. data/sig/openai/models/webhooks/webhook_endpoint_with_secret.rbs +33 -0
  1301. data/sig/openai/models/webhooks/webhook_event_type_list.rbs +6 -0
  1302. data/sig/openai/models/webhooks/webhook_list_params.rbs +7 -0
  1303. data/sig/openai/models/webhooks/webhook_rotate_secret_params.rbs +7 -0
  1304. data/sig/openai/models/webhooks/webhook_test_params.rbs +3 -0
  1305. data/sig/openai/models/webhooks/webhook_update_params.rbs +12 -0
  1306. data/sig/openai/resources/admin/organization/external_storage.rbs +40 -0
  1307. data/sig/openai/resources/admin/organization.rbs +2 -0
  1308. data/sig/openai/resources/safety/cases.rbs +14 -0
  1309. data/sig/openai/resources/safety.rbs +2 -0
  1310. data/sig/openai/resources/webhooks.rbs +3 -1
  1311. metadata +55 -1
@@ -18,30 +18,127 @@ module OpenAI
18
18
  }
19
19
 
20
20
  class ChatCompletion < OpenAI::Internal::Type::BaseModel
21
+ # A unique identifier for the chat completion.
21
22
  attr_accessor id: String
22
23
 
24
+ # A list of chat completion choices. Can be more than one if `n` is greater
25
+ # than 1.
23
26
  attr_accessor choices: ::Array[OpenAI::Chat::ChatCompletion::Choice]
24
27
 
28
+ # The Unix timestamp (in seconds) of when the chat completion was created.
25
29
  attr_accessor created: Integer
26
30
 
31
+ # The model used for the chat completion.
27
32
  attr_accessor model: String
28
33
 
34
+ # The object type, which is always `chat.completion`.
29
35
  attr_accessor object: :"chat.completion"
30
36
 
37
+ # Set of 16 key-value pairs that can be attached to an object. This can be useful
38
+ # for storing additional information about the object in a structured format, and
39
+ # querying for objects via API or the dashboard.
40
+ #
41
+ # Keys are strings with a maximum length of 64 characters. Values are strings with
42
+ # a maximum length of 512 characters.
31
43
  attr_accessor metadata: OpenAI::Models::metadata?
32
44
 
45
+ # Moderation results for the request input and generated output, if moderated
46
+ # completions were requested.
33
47
  attr_accessor moderation: OpenAI::Chat::ChatCompletion::Moderation?
34
48
 
49
+ # Specifies the processing type used for serving the request.
50
+ #
51
+ # - If set to 'auto', then the request will be processed with the service tier
52
+ # configured in the Project settings. Unless otherwise configured, the Project
53
+ # will use 'default'.
54
+ # - If set to 'default', then the request will be processed with the standard
55
+ # pricing and performance for the selected model.
56
+ # - If set to
57
+ # '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then
58
+ # the request will be processed with the Flex Processing service tier.
59
+ # - To opt-in to
60
+ # [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the
61
+ # request level, include the `service_tier=fast` or `service_tier=priority`
62
+ # parameter for Responses or Chat Completions. The response will show
63
+ # `service_tier=priority` regardless of if you specify `service_tier=fast` or
64
+ # `priority` in your request.
65
+ # - When not set, the default behavior is 'auto'.
66
+ #
67
+ # When the `service_tier` parameter is set, the response body will include the
68
+ # `service_tier` value based on the processing mode actually used to serve the
69
+ # request. This response value may be different from the value set in the
70
+ # parameter.
35
71
  attr_accessor service_tier: OpenAI::Models::Chat::ChatCompletion::service_tier?
36
72
 
73
+ # This fingerprint represents the backend configuration that the model runs with.
74
+ #
75
+ # Can be used in conjunction with the `seed` request parameter to understand when
76
+ # backend changes have been made that might impact determinism.
37
77
  attr_reader system_fingerprint: String?
38
78
 
79
+ # This fingerprint represents the backend configuration that the model runs with.
80
+ #
81
+ # Can be used in conjunction with the `seed` request parameter to understand when
82
+ # backend changes have been made that might impact determinism.
39
83
  def system_fingerprint=: (String) -> String
40
84
 
85
+ # Usage statistics for the completion request.
41
86
  attr_reader usage: OpenAI::CompletionUsage?
42
87
 
88
+ # Usage statistics for the completion request.
43
89
  def usage=: (OpenAI::CompletionUsage) -> OpenAI::CompletionUsage
44
90
 
91
+ # @param id
92
+ # A unique identifier for the chat completion.
93
+ # @param choices
94
+ # A list of chat completion choices. Can be more than one if `n` is greater
95
+ # than 1.
96
+ # @param created
97
+ # The Unix timestamp (in seconds) of when the chat completion was created.
98
+ # @param model
99
+ # The model used for the chat completion.
100
+ # @param metadata
101
+ # Set of 16 key-value pairs that can be attached to an object. This can be useful
102
+ # for storing additional information about the object in a structured format, and
103
+ # querying for objects via API or the dashboard.
104
+ #
105
+ # Keys are strings with a maximum length of 64 characters. Values are strings with
106
+ # a maximum length of 512 characters.
107
+ # @param moderation
108
+ # Moderation results for the request input and generated output, if moderated
109
+ # completions were requested.
110
+ # @param service_tier
111
+ # Specifies the processing type used for serving the request.
112
+ #
113
+ # - If set to 'auto', then the request will be processed with the service tier
114
+ # configured in the Project settings. Unless otherwise configured, the Project
115
+ # will use 'default'.
116
+ # - If set to 'default', then the request will be processed with the standard
117
+ # pricing and performance for the selected model.
118
+ # - If set to
119
+ # '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then
120
+ # the request will be processed with the Flex Processing service tier.
121
+ # - To opt-in to
122
+ # [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the
123
+ # request level, include the `service_tier=fast` or `service_tier=priority`
124
+ # parameter for Responses or Chat Completions. The response will show
125
+ # `service_tier=priority` regardless of if you specify `service_tier=fast` or
126
+ # `priority` in your request.
127
+ # - When not set, the default behavior is 'auto'.
128
+ #
129
+ # When the `service_tier` parameter is set, the response body will include the
130
+ # `service_tier` value based on the processing mode actually used to serve the
131
+ # request. This response value may be different from the value set in the
132
+ # parameter.
133
+ # @param system_fingerprint
134
+ # This fingerprint represents the backend configuration that the model runs with.
135
+ #
136
+ # Can be used in conjunction with the `seed` request parameter to understand when
137
+ # backend changes have been made that might impact determinism.
138
+ # @param usage
139
+ # Usage statistics for the completion request.
140
+ # @param object
141
+ # The object type, which is always `chat.completion`.
45
142
  def initialize: (
46
143
  id: String,
47
144
  choices: ::Array[OpenAI::Chat::ChatCompletion::Choice],
@@ -77,14 +174,38 @@ module OpenAI
77
174
  }
78
175
 
79
176
  class Choice < OpenAI::Internal::Type::BaseModel
177
+ # The reason the model stopped generating tokens. This will be `stop` if the model
178
+ # hit a natural stop point or a provided stop sequence, `length` if the maximum
179
+ # number of tokens specified in the request was reached, `content_filter` if
180
+ # content was omitted due to a flag from our content filters, `tool_calls` if the
181
+ # model called a tool, or `function_call` (deprecated) if the model called a
182
+ # function. Read the [Model Spec](https://model-spec.openai.com/2025-12-18.html)
183
+ # for more.
80
184
  attr_accessor finish_reason: OpenAI::Models::Chat::ChatCompletion::Choice::finish_reason
81
185
 
186
+ # The index of the choice in the list of choices.
82
187
  attr_accessor index: Integer
83
188
 
189
+ # Log probability information for the choice.
84
190
  attr_accessor logprobs: OpenAI::Chat::ChatCompletion::Choice::Logprobs?
85
191
 
192
+ # A chat completion message generated by the model.
86
193
  attr_accessor message: OpenAI::Chat::ChatCompletionMessage
87
194
 
195
+ # @param finish_reason
196
+ # The reason the model stopped generating tokens. This will be `stop` if the model
197
+ # hit a natural stop point or a provided stop sequence, `length` if the maximum
198
+ # number of tokens specified in the request was reached, `content_filter` if
199
+ # content was omitted due to a flag from our content filters, `tool_calls` if the
200
+ # model called a tool, or `function_call` (deprecated) if the model called a
201
+ # function. Read the [Model Spec](https://model-spec.openai.com/2025-12-18.html)
202
+ # for more.
203
+ # @param index
204
+ # The index of the choice in the list of choices.
205
+ # @param logprobs
206
+ # Log probability information for the choice.
207
+ # @param message
208
+ # A chat completion message generated by the model.
88
209
  def initialize: (
89
210
  finish_reason: OpenAI::Models::Chat::ChatCompletion::Choice::finish_reason,
90
211
  index: Integer,
@@ -121,10 +242,16 @@ module OpenAI
121
242
  }
122
243
 
123
244
  class Logprobs < OpenAI::Internal::Type::BaseModel
245
+ # A list of message content tokens with log probability information.
124
246
  attr_accessor content: ::Array[OpenAI::Chat::ChatCompletionTokenLogprob]?
125
247
 
248
+ # A list of message refusal tokens with log probability information.
126
249
  attr_accessor refusal: ::Array[OpenAI::Chat::ChatCompletionTokenLogprob]?
127
250
 
251
+ # @param content
252
+ # A list of message content tokens with log probability information.
253
+ # @param refusal
254
+ # A list of message refusal tokens with log probability information.
128
255
  def initialize: (
129
256
  content: ::Array[OpenAI::Chat::ChatCompletionTokenLogprob]?,
130
257
  refusal: ::Array[OpenAI::Chat::ChatCompletionTokenLogprob]?
@@ -144,10 +271,16 @@ module OpenAI
144
271
  }
145
272
 
146
273
  class Moderation < OpenAI::Internal::Type::BaseModel
274
+ # Moderation for the request input.
147
275
  attr_accessor input: OpenAI::Models::Chat::ChatCompletion::Moderation::input
148
276
 
277
+ # Moderation for the generated output.
149
278
  attr_accessor output: OpenAI::Models::Chat::ChatCompletion::Moderation::output
150
279
 
280
+ # @param input
281
+ # Moderation for the request input.
282
+ # @param output
283
+ # Moderation for the generated output.
151
284
  def initialize: (
152
285
  input: OpenAI::Models::Chat::ChatCompletion::Moderation::input,
153
286
  output: OpenAI::Models::Chat::ChatCompletion::Moderation::output
@@ -173,12 +306,21 @@ module OpenAI
173
306
  }
174
307
 
175
308
  class ModerationResults < OpenAI::Internal::Type::BaseModel
309
+ # The moderation model used to generate the results.
176
310
  attr_accessor model: String
177
311
 
312
+ # A list of moderation results.
178
313
  attr_accessor results: ::Array[OpenAI::Chat::ChatCompletion::Moderation::Input::ModerationResults::Result]
179
314
 
315
+ # The object type, which is always `moderation_results`.
180
316
  attr_accessor type: :moderation_results
181
317
 
318
+ # @param model
319
+ # The moderation model used to generate the results.
320
+ # @param results
321
+ # A list of moderation results.
322
+ # @param type
323
+ # The object type, which is always `moderation_results`.
182
324
  def initialize: (
183
325
  model: String,
184
326
  results: ::Array[OpenAI::Chat::ChatCompletion::Moderation::Input::ModerationResults::Result],
@@ -202,18 +344,40 @@ module OpenAI
202
344
  }
203
345
 
204
346
  class Result < OpenAI::Internal::Type::BaseModel
347
+ # A dictionary of moderation categories to booleans, True if the input is flagged
348
+ # under this category.
205
349
  attr_accessor categories: ::Hash[Symbol, bool]
206
350
 
351
+ # Which modalities of input are reflected by the score for each category.
207
352
  attr_accessor category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Chat::ChatCompletion::Moderation::Input::ModerationResults::Result::category_applied_input_type]]
208
353
 
354
+ # A dictionary of moderation categories to scores.
209
355
  attr_accessor category_scores: ::Hash[Symbol, Float]
210
356
 
357
+ # A boolean indicating whether the content was flagged by any category.
211
358
  attr_accessor flagged: bool
212
359
 
360
+ # The moderation model that produced this result.
213
361
  attr_accessor model: String
214
362
 
363
+ # The object type, which was always `moderation_result` for successful moderation
364
+ # results.
215
365
  attr_accessor type: :moderation_result
216
366
 
367
+ # @param categories
368
+ # A dictionary of moderation categories to booleans, True if the input is flagged
369
+ # under this category.
370
+ # @param category_applied_input_types
371
+ # Which modalities of input are reflected by the score for each category.
372
+ # @param category_scores
373
+ # A dictionary of moderation categories to scores.
374
+ # @param flagged
375
+ # A boolean indicating whether the content was flagged by any category.
376
+ # @param model
377
+ # The moderation model that produced this result.
378
+ # @param type
379
+ # The object type, which was always `moderation_result` for successful moderation
380
+ # results.
217
381
  def initialize: (
218
382
  categories: ::Hash[Symbol, bool],
219
383
  category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Chat::ChatCompletion::Moderation::Input::ModerationResults::Result::category_applied_input_type]],
@@ -248,12 +412,21 @@ module OpenAI
248
412
  type error = { code: String, message: String, ?type: :error }
249
413
 
250
414
  class Error < OpenAI::Internal::Type::BaseModel
415
+ # The error code.
251
416
  attr_accessor code: String
252
417
 
418
+ # The error message.
253
419
  attr_accessor message: String
254
420
 
421
+ # The object type, which is always `error`.
255
422
  attr_accessor type: :error
256
423
 
424
+ # @param code
425
+ # The error code.
426
+ # @param message
427
+ # The error message.
428
+ # @param type
429
+ # The object type, which is always `error`.
257
430
  def initialize: (
258
431
  code: String,
259
432
  message: String,
@@ -281,12 +454,21 @@ module OpenAI
281
454
  }
282
455
 
283
456
  class ModerationResults < OpenAI::Internal::Type::BaseModel
457
+ # The moderation model used to generate the results.
284
458
  attr_accessor model: String
285
459
 
460
+ # A list of moderation results.
286
461
  attr_accessor results: ::Array[OpenAI::Chat::ChatCompletion::Moderation::Output::ModerationResults::Result]
287
462
 
463
+ # The object type, which is always `moderation_results`.
288
464
  attr_accessor type: :moderation_results
289
465
 
466
+ # @param model
467
+ # The moderation model used to generate the results.
468
+ # @param results
469
+ # A list of moderation results.
470
+ # @param type
471
+ # The object type, which is always `moderation_results`.
290
472
  def initialize: (
291
473
  model: String,
292
474
  results: ::Array[OpenAI::Chat::ChatCompletion::Moderation::Output::ModerationResults::Result],
@@ -310,18 +492,40 @@ module OpenAI
310
492
  }
311
493
 
312
494
  class Result < OpenAI::Internal::Type::BaseModel
495
+ # A dictionary of moderation categories to booleans, True if the input is flagged
496
+ # under this category.
313
497
  attr_accessor categories: ::Hash[Symbol, bool]
314
498
 
499
+ # Which modalities of input are reflected by the score for each category.
315
500
  attr_accessor category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Chat::ChatCompletion::Moderation::Output::ModerationResults::Result::category_applied_input_type]]
316
501
 
502
+ # A dictionary of moderation categories to scores.
317
503
  attr_accessor category_scores: ::Hash[Symbol, Float]
318
504
 
505
+ # A boolean indicating whether the content was flagged by any category.
319
506
  attr_accessor flagged: bool
320
507
 
508
+ # The moderation model that produced this result.
321
509
  attr_accessor model: String
322
510
 
511
+ # The object type, which was always `moderation_result` for successful moderation
512
+ # results.
323
513
  attr_accessor type: :moderation_result
324
514
 
515
+ # @param categories
516
+ # A dictionary of moderation categories to booleans, True if the input is flagged
517
+ # under this category.
518
+ # @param category_applied_input_types
519
+ # Which modalities of input are reflected by the score for each category.
520
+ # @param category_scores
521
+ # A dictionary of moderation categories to scores.
522
+ # @param flagged
523
+ # A boolean indicating whether the content was flagged by any category.
524
+ # @param model
525
+ # The moderation model that produced this result.
526
+ # @param type
527
+ # The object type, which was always `moderation_result` for successful moderation
528
+ # results.
325
529
  def initialize: (
326
530
  categories: ::Hash[Symbol, bool],
327
531
  category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Chat::ChatCompletion::Moderation::Output::ModerationResults::Result::category_applied_input_type]],
@@ -356,12 +560,21 @@ module OpenAI
356
560
  type error = { code: String, message: String, ?type: :error }
357
561
 
358
562
  class Error < OpenAI::Internal::Type::BaseModel
563
+ # The error code.
359
564
  attr_accessor code: String
360
565
 
566
+ # The error message.
361
567
  attr_accessor message: String
362
568
 
569
+ # The object type, which is always `error`.
363
570
  attr_accessor type: :error
364
571
 
572
+ # @param code
573
+ # The error code.
574
+ # @param message
575
+ # The error message.
576
+ # @param type
577
+ # The object type, which is always `error`.
365
578
  def initialize: (
366
579
  code: String,
367
580
  message: String,
@@ -10,10 +10,16 @@ module OpenAI
10
10
  }
11
11
 
12
12
  class ChatCompletionAllowedToolChoice < OpenAI::Internal::Type::BaseModel
13
+ # Constrains the tools available to the model to a pre-defined set.
13
14
  attr_accessor allowed_tools: OpenAI::Chat::ChatCompletionAllowedTools
14
15
 
16
+ # Allowed tool configuration type. Always `allowed_tools`.
15
17
  attr_accessor type: :allowed_tools
16
18
 
19
+ # @param allowed_tools
20
+ # Constrains the tools available to the model to a pre-defined set.
21
+ # @param type
22
+ # Allowed tool configuration type. Always `allowed_tools`.
17
23
  def initialize: (
18
24
  allowed_tools: OpenAI::Chat::ChatCompletionAllowedTools,
19
25
  ?type: :allowed_tools
@@ -8,10 +8,44 @@ module OpenAI
8
8
  }
9
9
 
10
10
  class ChatCompletionAllowedTools < OpenAI::Internal::Type::BaseModel
11
+ # Constrains the tools available to the model to a pre-defined set.
12
+ #
13
+ # `auto` allows the model to pick from among the allowed tools and generate a
14
+ # message.
15
+ #
16
+ # `required` requires the model to call one or more of the allowed tools.
11
17
  attr_accessor mode: OpenAI::Models::Chat::ChatCompletionAllowedTools::mode
12
18
 
19
+ # A list of tool definitions that the model should be allowed to call.
20
+ #
21
+ # For the Chat Completions API, the list of tool definitions might look like:
22
+ #
23
+ # ```json
24
+ # [
25
+ # { "type": "function", "function": { "name": "get_weather" } },
26
+ # { "type": "function", "function": { "name": "get_time" } }
27
+ # ]
28
+ # ```
13
29
  attr_accessor tools: ::Array[::Hash[Symbol, top]]
14
30
 
31
+ # @param mode
32
+ # Constrains the tools available to the model to a pre-defined set.
33
+ #
34
+ # `auto` allows the model to pick from among the allowed tools and generate a
35
+ # message.
36
+ #
37
+ # `required` requires the model to call one or more of the allowed tools.
38
+ # @param tools
39
+ # A list of tool definitions that the model should be allowed to call.
40
+ #
41
+ # For the Chat Completions API, the list of tool definitions might look like:
42
+ #
43
+ # ```json
44
+ # [
45
+ # { "type": "function", "function": { "name": "get_weather" } },
46
+ # { "type": "function", "function": { "name": "get_time" } }
47
+ # ]
48
+ # ```
15
49
  def initialize: (
16
50
  mode: OpenAI::Models::Chat::ChatCompletionAllowedTools::mode,
17
51
  tools: ::Array[::Hash[Symbol, top]]
@@ -15,26 +15,58 @@ module OpenAI
15
15
  }
16
16
 
17
17
  class ChatCompletionAssistantMessageParam < OpenAI::Internal::Type::BaseModel
18
+ # The role of the messages author, in this case `assistant`.
18
19
  attr_accessor role: :assistant
19
20
 
21
+ # Data about a previous audio response from the model.
22
+ # [Learn more](https://developers.openai.com/api/docs/guides/audio).
20
23
  attr_accessor audio: OpenAI::Chat::ChatCompletionAssistantMessageParam::Audio?
21
24
 
25
+ # The contents of the assistant message. Required unless `tool_calls` or
26
+ # `function_call` is specified.
22
27
  attr_accessor content: OpenAI::Models::Chat::ChatCompletionAssistantMessageParam::content?
23
28
 
29
+ # Deprecated and replaced by `tool_calls`. The name and arguments of a function
30
+ # that should be called, as generated by the model.
24
31
  attr_accessor function_call: OpenAI::Chat::ChatCompletionAssistantMessageParam::FunctionCall?
25
32
 
33
+ # An optional name for the participant. Provides the model information to
34
+ # differentiate between participants of the same role.
26
35
  attr_reader name: String?
27
36
 
37
+ # An optional name for the participant. Provides the model information to
38
+ # differentiate between participants of the same role.
28
39
  def name=: (String) -> String
29
40
 
41
+ # The refusal message by the assistant.
30
42
  attr_accessor refusal: String?
31
43
 
44
+ # The tool calls generated by the model, such as function calls.
32
45
  attr_reader tool_calls: ::Array[OpenAI::Models::Chat::chat_completion_message_tool_call]?
33
46
 
47
+ # The tool calls generated by the model, such as function calls.
34
48
  def tool_calls=: (
35
49
  ::Array[OpenAI::Models::Chat::chat_completion_message_tool_call]
36
50
  ) -> ::Array[OpenAI::Models::Chat::chat_completion_message_tool_call]
37
51
 
52
+ # @param audio
53
+ # Data about a previous audio response from the model.
54
+ # [Learn more](https://developers.openai.com/api/docs/guides/audio).
55
+ # @param content
56
+ # The contents of the assistant message. Required unless `tool_calls` or
57
+ # `function_call` is specified.
58
+ # @param function_call
59
+ # Deprecated and replaced by `tool_calls`. The name and arguments of a function
60
+ # that should be called, as generated by the model.
61
+ # @param name
62
+ # An optional name for the participant. Provides the model information to
63
+ # differentiate between participants of the same role.
64
+ # @param refusal
65
+ # The refusal message by the assistant.
66
+ # @param tool_calls
67
+ # The tool calls generated by the model, such as function calls.
68
+ # @param role
69
+ # The role of the messages author, in this case `assistant`.
38
70
  def initialize: (
39
71
  ?audio: OpenAI::Chat::ChatCompletionAssistantMessageParam::Audio?,
40
72
  ?content: OpenAI::Models::Chat::ChatCompletionAssistantMessageParam::content?,
@@ -58,8 +90,11 @@ module OpenAI
58
90
  type audio = { id: String }
59
91
 
60
92
  class Audio < OpenAI::Internal::Type::BaseModel
93
+ # Unique identifier for a previous audio response from the model.
61
94
  attr_accessor id: String
62
95
 
96
+ # @param id
97
+ # Unique identifier for a previous audio response from the model.
63
98
  def initialize: (id: String) -> void
64
99
 
65
100
  def to_hash: -> { id: String }
@@ -90,10 +125,22 @@ module OpenAI
90
125
  type function_call = { arguments: String, name: String }
91
126
 
92
127
  class FunctionCall < OpenAI::Internal::Type::BaseModel
128
+ # The arguments to call the function with, as generated by the model in JSON
129
+ # format. Note that the model does not always generate valid JSON, and may
130
+ # hallucinate parameters not defined by your function schema. Validate the
131
+ # arguments in your code before calling your function.
93
132
  attr_accessor arguments: String
94
133
 
134
+ # The name of the function to call.
95
135
  attr_accessor name: String
96
136
 
137
+ # @param arguments
138
+ # The arguments to call the function with, as generated by the model in JSON
139
+ # format. Note that the model does not always generate valid JSON, and may
140
+ # hallucinate parameters not defined by your function schema. Validate the
141
+ # arguments in your code before calling your function.
142
+ # @param name
143
+ # The name of the function to call.
97
144
  def initialize: (arguments: String, name: String) -> void
98
145
 
99
146
  def to_hash: -> { arguments: String, name: String }
@@ -7,14 +7,30 @@ module OpenAI
7
7
  { id: String, data: String, expires_at: Integer, transcript: String }
8
8
 
9
9
  class ChatCompletionAudio < OpenAI::Internal::Type::BaseModel
10
+ # Unique identifier for this audio response.
10
11
  attr_accessor id: String
11
12
 
13
+ # Base64 encoded audio bytes generated by the model, in the format specified in
14
+ # the request.
12
15
  attr_accessor data: String
13
16
 
17
+ # The Unix timestamp (in seconds) for when this audio response will no longer be
18
+ # accessible on the server for use in multi-turn conversations.
14
19
  attr_accessor expires_at: Integer
15
20
 
21
+ # Transcript of the audio generated by the model.
16
22
  attr_accessor transcript: String
17
23
 
24
+ # @param id
25
+ # Unique identifier for this audio response.
26
+ # @param data
27
+ # Base64 encoded audio bytes generated by the model, in the format specified in
28
+ # the request.
29
+ # @param expires_at
30
+ # The Unix timestamp (in seconds) for when this audio response will no longer be
31
+ # accessible on the server for use in multi-turn conversations.
32
+ # @param transcript
33
+ # Transcript of the audio generated by the model.
18
34
  def initialize: (
19
35
  id: String,
20
36
  data: String,
@@ -10,10 +10,24 @@ module OpenAI
10
10
  }
11
11
 
12
12
  class ChatCompletionAudioParam < OpenAI::Internal::Type::BaseModel
13
+ # Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`, `opus`,
14
+ # or `pcm16`.
13
15
  attr_accessor format_: OpenAI::Models::Chat::ChatCompletionAudioParam::format_
14
16
 
17
+ # The voice the model uses to respond. Supported built-in voices are `alloy`,
18
+ # `ash`, `ballad`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, `shimmer`,
19
+ # `marin`, and `cedar`. You may also provide a custom voice object with an `id`,
20
+ # for example `{ "id": "voice_1234" }`.
15
21
  attr_accessor voice: OpenAI::Models::Chat::ChatCompletionAudioParam::voice
16
22
 
23
+ # @param format_
24
+ # Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`, `opus`,
25
+ # or `pcm16`.
26
+ # @param voice
27
+ # The voice the model uses to respond. Supported built-in voices are `alloy`,
28
+ # `ash`, `ballad`, `coral`, `echo`, `fable`, `nova`, `onyx`, `sage`, `shimmer`,
29
+ # `marin`, and `cedar`. You may also provide a custom voice object with an `id`,
30
+ # for example `{ "id": "voice_1234" }`.
17
31
  def initialize: (
18
32
  format_: OpenAI::Models::Chat::ChatCompletionAudioParam::format_,
19
33
  voice: OpenAI::Models::Chat::ChatCompletionAudioParam::voice
@@ -59,8 +73,11 @@ module OpenAI
59
73
  type id = { id: String }
60
74
 
61
75
  class ID < OpenAI::Internal::Type::BaseModel
76
+ # The custom voice ID, e.g. `voice_1234`.
62
77
  attr_accessor id: String
63
78
 
79
+ # @param id
80
+ # The custom voice ID, e.g. `voice_1234`.
64
81
  def initialize: (id: String) -> void
65
82
 
66
83
  def to_hash: -> { id: String }