openai 0.92.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/README.md +1 -1
- data/lib/openai/client.rb +1 -0
- data/lib/openai/models/admin/organization/audit_log_list_params.rb +2 -0
- data/lib/openai/models/admin/organization/audit_log_list_response.rb +116 -1
- data/lib/openai/models/admin/organization/aws_external_storage_provider.rb +49 -0
- data/lib/openai/models/admin/organization/azure_external_storage_provider.rb +55 -0
- data/lib/openai/models/admin/organization/external_storage_configuration.rb +82 -0
- data/lib/openai/models/admin/organization/external_storage_create_params.rb +105 -0
- data/lib/openai/models/admin/organization/external_storage_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/external_storage_deleted.rb +32 -0
- data/lib/openai/models/admin/organization/external_storage_list_params.rb +58 -0
- data/lib/openai/models/admin/organization/external_storage_retrieve_params.rb +24 -0
- data/lib/openai/models/admin/organization/external_storage_validate_params.rb +24 -0
- data/lib/openai/models/beta/agent_create_params.rb +13 -9
- data/lib/openai/models/beta/agent_reasoning.rb +9 -6
- data/lib/openai/models/beta/agent_reasoning_item.rb +2 -2
- data/lib/openai/models/beta/agent_reasoning_param.rb +9 -6
- data/lib/openai/models/beta/agent_session.rb +4 -2
- data/lib/openai/models/beta/agent_session_assistant_message.rb +3 -3
- data/lib/openai/models/beta/agent_session_environment_reset_event.rb +67 -0
- data/lib/openai/models/beta/agent_session_environment_state.rb +3 -3
- data/lib/openai/models/beta/agent_session_event.rb +4 -1
- data/lib/openai/models/beta/agent_session_input_param.rb +2 -2
- data/lib/openai/models/beta/agent_session_item.rb +2 -2
- data/lib/openai/models/beta/agent_session_message.rb +3 -3
- data/lib/openai/models/beta/agent_session_turn_cancelled_event.rb +2 -2
- data/lib/openai/models/beta/agent_session_turn_completed_event.rb +2 -2
- data/lib/openai/models/beta/agent_session_turn_failed_event.rb +2 -2
- data/lib/openai/models/beta/agent_text_param.rb +8 -5
- data/lib/openai/models/beta/agent_tool.rb +3 -3
- data/lib/openai/models/beta/agent_tool_param.rb +18 -12
- data/lib/openai/models/beta/agent_update_params.rb +6 -4
- data/lib/openai/models/beta/agent_web_search_call_item.rb +2 -2
- data/lib/openai/models/beta/agents/environments/template_create_params.rb +10 -7
- data/lib/openai/models/beta/agents/environments/template_update_params.rb +13 -7
- data/lib/openai/models/beta/agents/session_create_params.rb +18 -7
- data/lib/openai/models/beta/agents/session_update_params.rb +6 -6
- data/lib/openai/models/beta/agents/sessions/turn.rb +6 -4
- data/lib/openai/models/beta/agents/vault.rb +1 -2
- data/lib/openai/models/beta/agents/vaults/credential.rb +5 -5
- data/lib/openai/models/beta/agents/vaults/credential_auth.rb +45 -9
- data/lib/openai/models/beta/agents/vaults/credential_auth_create_param.rb +69 -5
- data/lib/openai/models/beta/agents/vaults/credential_auth_rotate_param.rb +42 -10
- data/lib/openai/models/beta/agents/vaults/credential_create_params.rb +4 -4
- data/lib/openai/models/beta/agents/vaults/credential_networking.rb +72 -0
- data/lib/openai/models/beta/agents/vaults/credential_networking_param.rb +72 -0
- data/lib/openai/models/beta/agents/vaults/credential_update_params.rb +2 -2
- data/lib/openai/models/beta/beta_response.rb +9 -3
- data/lib/openai/models/beta/beta_response_output_text_annotation_added_event.rb +3 -3
- data/lib/openai/models/beta/beta_responses_client_event.rb +9 -3
- data/lib/openai/models/beta/beta_responses_server_event.rb +1 -1
- data/lib/openai/models/beta/beta_tool.rb +9 -12
- data/lib/openai/models/beta/environment_param.rb +10 -7
- data/lib/openai/models/beta/persisted_agent_tool.rb +3 -3
- data/lib/openai/models/beta/persisted_agent_tool_param.rb +12 -12
- data/lib/openai/models/beta/response_compact_params.rb +9 -3
- data/lib/openai/models/beta/response_create_params.rb +9 -3
- data/lib/openai/models/chat/completion_create_params.rb +10 -4
- data/lib/openai/models/chat_model.rb +3 -1
- data/lib/openai/models/conversations/conversation_update_params.rb +6 -8
- data/lib/openai/models/image_edit_params.rb +9 -12
- data/lib/openai/models/realtime/conversation_item_create_event.rb +3 -2
- data/lib/openai/models/realtime/realtime_client_event.rb +3 -2
- data/lib/openai/models/responses/response_compact_params.rb +9 -3
- data/lib/openai/models/responses/response_output_text_annotation_added_event.rb +3 -3
- data/lib/openai/models/responses/responses_server_event.rb +1 -1
- data/lib/openai/models/responses/tool.rb +9 -12
- data/lib/openai/models/safety/case_retrieve_params.rb +25 -0
- data/lib/openai/models/safety/safety_case.rb +72 -0
- data/lib/openai/models/webhooks/live_call_incoming_webhook_event.rb +51 -1
- data/lib/openai/models/webhooks/live_transport_incoming_webhook_event.rb +55 -1
- data/lib/openai/models/webhooks/realtime_call_incoming_webhook_event.rb +55 -1
- data/lib/openai/models/webhooks/safety_deactivation_issued_webhook_event.rb +68 -0
- data/lib/openai/models/webhooks/safety_warning_issued_webhook_event.rb +68 -0
- data/lib/openai/models/webhooks/unwrap_webhook_event.rb +7 -1
- data/lib/openai/resources/admin/organization/external_storage.rb +136 -0
- data/lib/openai/resources/admin/organization.rb +4 -0
- data/lib/openai/resources/beta/agents/environments/templates.rb +7 -4
- data/lib/openai/resources/beta/agents/sessions/events.rb +5 -2
- data/lib/openai/resources/beta/agents/sessions.rb +12 -4
- data/lib/openai/resources/beta/agents/vaults/credentials.rb +3 -3
- data/lib/openai/resources/beta/agents.rb +9 -6
- data/lib/openai/resources/beta/responses/input_items.rb +1 -0
- data/lib/openai/resources/beta/responses/input_tokens.rb +1 -0
- data/lib/openai/resources/beta/responses.rb +3 -0
- data/lib/openai/resources/beta.rb +1 -0
- data/lib/openai/resources/chat/completions.rb +10 -4
- data/lib/openai/resources/conversations.rb +3 -4
- data/lib/openai/resources/images.rb +6 -8
- data/lib/openai/resources/responses/input_items.rb +1 -0
- data/lib/openai/resources/responses/input_tokens.rb +1 -0
- data/lib/openai/resources/responses.rb +3 -0
- data/lib/openai/resources/safety/cases.rb +38 -0
- data/lib/openai/resources/safety.rb +4 -0
- data/lib/openai/resources/webhooks.rb +1 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +19 -1
- data/rbi/openai/client.rbi +1 -0
- data/rbi/openai/models/admin/organization/audit_log_list_params.rbi +8 -0
- data/rbi/openai/models/admin/organization/audit_log_list_response.rbi +246 -0
- data/rbi/openai/models/admin/organization/aws_external_storage_provider.rbi +85 -0
- data/rbi/openai/models/admin/organization/azure_external_storage_provider.rbi +100 -0
- data/rbi/openai/models/admin/organization/external_storage_configuration.rbi +148 -0
- data/rbi/openai/models/admin/organization/external_storage_create_params.rbi +223 -0
- data/rbi/openai/models/admin/organization/external_storage_delete_params.rbi +57 -0
- data/rbi/openai/models/admin/organization/external_storage_deleted.rbi +64 -0
- data/rbi/openai/models/admin/organization/external_storage_list_params.rbi +110 -0
- data/rbi/openai/models/admin/organization/external_storage_retrieve_params.rbi +57 -0
- data/rbi/openai/models/admin/organization/external_storage_validate_params.rbi +57 -0
- data/rbi/openai/models/beta/agent_create_params.rbi +13 -9
- data/rbi/openai/models/beta/agent_reasoning.rbi +9 -6
- data/rbi/openai/models/beta/agent_reasoning_item.rbi +2 -2
- data/rbi/openai/models/beta/agent_reasoning_param.rbi +9 -6
- data/rbi/openai/models/beta/agent_session.rbi +4 -2
- data/rbi/openai/models/beta/agent_session_assistant_message.rbi +3 -3
- data/rbi/openai/models/beta/agent_session_environment_reset_event.rbi +103 -0
- data/rbi/openai/models/beta/agent_session_environment_state.rbi +3 -3
- data/rbi/openai/models/beta/agent_session_event.rbi +1 -0
- data/rbi/openai/models/beta/agent_session_input_param.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_item.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_message.rbi +3 -3
- data/rbi/openai/models/beta/agent_session_turn_cancelled_event.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_turn_completed_event.rbi +2 -2
- data/rbi/openai/models/beta/agent_session_turn_failed_event.rbi +2 -2
- data/rbi/openai/models/beta/agent_text_param.rbi +8 -5
- data/rbi/openai/models/beta/agent_tool.rbi +3 -3
- data/rbi/openai/models/beta/agent_tool_param.rbi +18 -12
- data/rbi/openai/models/beta/agent_update_params.rbi +6 -4
- data/rbi/openai/models/beta/agent_web_search_call_item.rbi +2 -2
- data/rbi/openai/models/beta/agents/environments/template_create_params.rbi +10 -7
- data/rbi/openai/models/beta/agents/environments/template_update_params.rbi +13 -7
- data/rbi/openai/models/beta/agents/session_create_params.rbi +18 -7
- data/rbi/openai/models/beta/agents/session_update_params.rbi +6 -6
- data/rbi/openai/models/beta/agents/sessions/turn.rbi +6 -4
- data/rbi/openai/models/beta/agents/vault.rbi +1 -2
- data/rbi/openai/models/beta/agents/vaults/credential.rbi +5 -4
- data/rbi/openai/models/beta/agents/vaults/credential_auth.rbi +74 -9
- data/rbi/openai/models/beta/agents/vaults/credential_auth_create_param.rbi +106 -5
- data/rbi/openai/models/beta/agents/vaults/credential_auth_rotate_param.rbi +61 -10
- data/rbi/openai/models/beta/agents/vaults/credential_create_params.rbi +8 -5
- data/rbi/openai/models/beta/agents/vaults/credential_networking.rbi +129 -0
- data/rbi/openai/models/beta/agents/vaults/credential_networking_param.rbi +129 -0
- data/rbi/openai/models/beta/agents/vaults/credential_update_params.rbi +6 -3
- data/rbi/openai/models/beta/beta_response.rbi +3 -1
- data/rbi/openai/models/beta/beta_response_output_text_annotation_added_event.rbi +3 -3
- data/rbi/openai/models/beta/beta_responses_client_event.rbi +9 -4
- data/rbi/openai/models/beta/beta_responses_server_event.rbi +1 -1
- data/rbi/openai/models/beta/beta_tool.rbi +9 -12
- data/rbi/openai/models/beta/environment_param.rbi +10 -7
- data/rbi/openai/models/beta/persisted_agent_tool.rbi +3 -3
- data/rbi/openai/models/beta/persisted_agent_tool_param.rbi +12 -12
- data/rbi/openai/models/beta/response_compact_params.rbi +3 -1
- data/rbi/openai/models/beta/response_create_params.rbi +3 -1
- data/rbi/openai/models/chat/completion_create_params.rbi +10 -4
- data/rbi/openai/models/chat_model.rbi +3 -1
- data/rbi/openai/models/conversations/conversation_update_params.rbi +6 -8
- data/rbi/openai/models/image_edit_params.rbi +9 -12
- data/rbi/openai/models/realtime/conversation_item_create_event.rbi +3 -2
- data/rbi/openai/models/responses/response_compact_params.rbi +3 -1
- data/rbi/openai/models/responses/response_output_text_annotation_added_event.rbi +3 -3
- data/rbi/openai/models/responses/responses_server_event.rbi +1 -1
- data/rbi/openai/models/responses/tool.rbi +9 -12
- data/rbi/openai/models/safety/case_retrieve_params.rbi +55 -0
- data/rbi/openai/models/safety/safety_case.rbi +140 -0
- data/rbi/openai/models/webhooks/live_call_incoming_webhook_event.rbi +70 -3
- data/rbi/openai/models/webhooks/live_transport_incoming_webhook_event.rbi +73 -1
- data/rbi/openai/models/webhooks/realtime_call_incoming_webhook_event.rbi +75 -3
- data/rbi/openai/models/webhooks/safety_deactivation_issued_webhook_event.rbi +130 -0
- data/rbi/openai/models/webhooks/safety_warning_issued_webhook_event.rbi +130 -0
- data/rbi/openai/models/webhooks/unwrap_webhook_event.rbi +3 -1
- data/rbi/openai/resources/admin/organization/external_storage.rbi +89 -0
- data/rbi/openai/resources/admin/organization.rbi +3 -0
- data/rbi/openai/resources/beta/agents/environments/templates.rbi +7 -4
- data/rbi/openai/resources/beta/agents/sessions/events.rbi +4 -1
- data/rbi/openai/resources/beta/agents/sessions.rbi +11 -3
- data/rbi/openai/resources/beta/agents/vaults/credentials.rbi +5 -3
- data/rbi/openai/resources/beta/agents.rbi +9 -6
- data/rbi/openai/resources/beta/responses/input_items.rbi +1 -0
- data/rbi/openai/resources/beta/responses/input_tokens.rbi +1 -0
- data/rbi/openai/resources/beta/responses.rbi +3 -0
- data/rbi/openai/resources/beta.rbi +1 -0
- data/rbi/openai/resources/chat/completions.rbi +10 -4
- data/rbi/openai/resources/conversations.rbi +3 -4
- data/rbi/openai/resources/images.rbi +6 -8
- data/rbi/openai/resources/responses/input_items.rbi +1 -0
- data/rbi/openai/resources/responses/input_tokens.rbi +1 -0
- data/rbi/openai/resources/responses.rbi +3 -0
- data/rbi/openai/resources/safety/cases.rbi +28 -0
- data/rbi/openai/resources/safety.rbi +3 -0
- data/rbi/openai/resources/webhooks.rbi +3 -1
- data/sig/openai/models/admin/organization/admin_api_key.rbs +45 -0
- data/sig/openai/models/admin/organization/admin_api_key_create_params.rbs +7 -0
- data/sig/openai/models/admin/organization/admin_api_key_create_response.rbs +18 -0
- data/sig/openai/models/admin/organization/admin_api_key_delete_params.rbs +3 -0
- data/sig/openai/models/admin/organization/admin_api_key_list_params.rbs +11 -0
- data/sig/openai/models/admin/organization/admin_api_key_retrieve_params.rbs +3 -0
- data/sig/openai/models/admin/organization/audit_log_list_params.rbs +114 -0
- data/sig/openai/models/admin/organization/audit_log_list_response.rbs +1108 -0
- data/sig/openai/models/admin/organization/aws_external_storage_provider.rbs +49 -0
- data/sig/openai/models/admin/organization/azure_external_storage_provider.rbs +54 -0
- data/sig/openai/models/admin/organization/certificate.rbs +45 -0
- data/sig/openai/models/admin/organization/certificate_activate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/certificate_create_params.rbs +7 -0
- data/sig/openai/models/admin/organization/certificate_deactivate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/certificate_delete_response.rbs +6 -0
- data/sig/openai/models/admin/organization/certificate_list_params.rbs +27 -0
- data/sig/openai/models/admin/organization/certificate_list_response.rbs +23 -0
- data/sig/openai/models/admin/organization/certificate_retrieve_params.rbs +7 -0
- data/sig/openai/models/admin/organization/certificate_update_params.rbs +4 -0
- data/sig/openai/models/admin/organization/data_retention_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/external_storage_configuration.rbs +76 -0
- data/sig/openai/models/admin/organization/external_storage_create_params.rbs +105 -0
- data/sig/openai/models/admin/organization/external_storage_delete_params.rbs +30 -0
- data/sig/openai/models/admin/organization/external_storage_deleted.rbs +34 -0
- data/sig/openai/models/admin/organization/external_storage_list_params.rbs +65 -0
- data/sig/openai/models/admin/organization/external_storage_retrieve_params.rbs +30 -0
- data/sig/openai/models/admin/organization/external_storage_validate_params.rbs +30 -0
- data/sig/openai/models/admin/organization/group.rbs +17 -0
- data/sig/openai/models/admin/organization/group_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/group_delete_response.rbs +9 -0
- data/sig/openai/models/admin/organization/group_list_params.rbs +24 -0
- data/sig/openai/models/admin/organization/group_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/group_update_response.rbs +14 -0
- data/sig/openai/models/admin/organization/groups/organization_group_user.rbs +9 -0
- data/sig/openai/models/admin/organization/groups/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/groups/role_create_response.rbs +24 -0
- data/sig/openai/models/admin/organization/groups/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/groups/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/groups/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/groups/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/admin/organization/groups/user_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/groups/user_create_response.rbs +9 -0
- data/sig/openai/models/admin/organization/groups/user_delete_response.rbs +6 -0
- data/sig/openai/models/admin/organization/groups/user_list_params.rbs +18 -0
- data/sig/openai/models/admin/organization/groups/user_retrieve_response.rbs +18 -0
- data/sig/openai/models/admin/organization/invite.rbs +33 -0
- data/sig/openai/models/admin/organization/invite_create_params.rbs +25 -0
- data/sig/openai/models/admin/organization/invite_delete_response.rbs +3 -0
- data/sig/openai/models/admin/organization/invite_list_params.rbs +20 -0
- data/sig/openai/models/admin/organization/organization_data_retention.rbs +6 -0
- data/sig/openai/models/admin/organization/organization_spend_alert.rbs +27 -0
- data/sig/openai/models/admin/organization/organization_spend_alert_deleted.rbs +9 -0
- data/sig/openai/models/admin/organization/organization_spend_limit.rbs +20 -0
- data/sig/openai/models/admin/organization/organization_spend_limit_deleted.rbs +6 -0
- data/sig/openai/models/admin/organization/organization_user.rbs +53 -0
- data/sig/openai/models/admin/organization/project.rbs +25 -0
- data/sig/openai/models/admin/organization/project_create_params.rbs +28 -0
- data/sig/openai/models/admin/organization/project_list_params.rbs +27 -0
- data/sig/openai/models/admin/organization/project_update_params.rbs +11 -0
- data/sig/openai/models/admin/organization/projects/api_key_list_params.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/certificate_activate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/certificate_deactivate_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/certificate_list_params.rbs +27 -0
- data/sig/openai/models/admin/organization/projects/certificate_list_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/data_retention_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/group_create_params.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/group_delete_response.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/group_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/group_retrieve_params.rbs +4 -0
- data/sig/openai/models/admin/organization/projects/groups/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/groups/role_create_response.rbs +24 -0
- data/sig/openai/models/admin/organization/projects/groups/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/projects/groups/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/groups/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/groups/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/hosted_tool_permission_update_params.rbs +30 -0
- data/sig/openai/models/admin/organization/projects/model_permission_update_params.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_api_key.rbs +65 -0
- data/sig/openai/models/admin/organization/projects/project_data_retention.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_group.rbs +18 -0
- data/sig/openai/models/admin/organization/projects/project_hosted_tool_permissions.rbs +30 -0
- data/sig/openai/models/admin/organization/projects/project_model_permissions.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/project_model_permissions_deleted.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_rate_limit.rbs +31 -0
- data/sig/openai/models/admin/organization/projects/project_service_account.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/project_spend_alert.rbs +27 -0
- data/sig/openai/models/admin/organization/projects/project_spend_alert_deleted.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/project_spend_limit.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/project_spend_limit_deleted.rbs +6 -0
- data/sig/openai/models/admin/organization/projects/project_user.rbs +18 -0
- data/sig/openai/models/admin/organization/projects/rate_limit_list_rate_limits_params.rbs +30 -0
- data/sig/openai/models/admin/organization/projects/rate_limit_update_rate_limit_params.rbs +24 -0
- data/sig/openai/models/admin/organization/projects/role_create_params.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/role_delete_response.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/role_update_params.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/service_account_create_params.rbs +17 -0
- data/sig/openai/models/admin/organization/projects/service_account_create_response.rbs +13 -0
- data/sig/openai/models/admin/organization/projects/service_account_list_params.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/service_account_update_params.rbs +8 -0
- data/sig/openai/models/admin/organization/projects/service_accounts/api_key_create_params.rbs +17 -0
- data/sig/openai/models/admin/organization/projects/service_accounts/api_key_create_response.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/spend_alert_create_params.rbs +21 -0
- data/sig/openai/models/admin/organization/projects/spend_alert_list_params.rbs +22 -0
- data/sig/openai/models/admin/organization/projects/spend_alert_update_params.rbs +21 -0
- data/sig/openai/models/admin/organization/projects/spend_limit_update_params.rbs +11 -0
- data/sig/openai/models/admin/organization/projects/user_create_params.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/user_list_params.rbs +20 -0
- data/sig/openai/models/admin/organization/projects/user_update_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/users/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/projects/users/role_create_response.rbs +9 -0
- data/sig/openai/models/admin/organization/projects/users/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/projects/users/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/projects/users/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/users/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/admin/organization/role.rbs +23 -0
- data/sig/openai/models/admin/organization/role_create_params.rbs +9 -0
- data/sig/openai/models/admin/organization/role_delete_response.rbs +9 -0
- data/sig/openai/models/admin/organization/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/role_update_params.rbs +9 -0
- data/sig/openai/models/admin/organization/spend_alert_create_params.rbs +21 -0
- data/sig/openai/models/admin/organization/spend_alert_list_params.rbs +22 -0
- data/sig/openai/models/admin/organization/spend_alert_update_params.rbs +21 -0
- data/sig/openai/models/admin/organization/spend_limit_update_params.rbs +11 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_params.rbs +48 -0
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_completions_params.rbs +70 -0
- data/sig/openai/models/admin/organization/usage_completions_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_costs_params.rbs +50 -0
- data/sig/openai/models/admin/organization/usage_costs_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_embeddings_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_file_search_calls_params.rbs +63 -0
- data/sig/openai/models/admin/organization/usage_file_search_calls_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_images_params.rbs +77 -0
- data/sig/openai/models/admin/organization/usage_images_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_moderations_params.rbs +60 -0
- data/sig/openai/models/admin/organization/usage_moderations_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_vector_stores_params.rbs +48 -0
- data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +351 -0
- data/sig/openai/models/admin/organization/usage_web_search_calls_params.rbs +67 -0
- data/sig/openai/models/admin/organization/usage_web_search_calls_response.rbs +351 -0
- data/sig/openai/models/admin/organization/user_list_params.rbs +24 -0
- data/sig/openai/models/admin/organization/user_update_params.rbs +12 -0
- data/sig/openai/models/admin/organization/users/role_create_params.rbs +3 -0
- data/sig/openai/models/admin/organization/users/role_create_response.rbs +9 -0
- data/sig/openai/models/admin/organization/users/role_delete_response.rbs +8 -0
- data/sig/openai/models/admin/organization/users/role_list_params.rbs +15 -0
- data/sig/openai/models/admin/organization/users/role_list_response.rbs +36 -0
- data/sig/openai/models/admin/organization/users/role_retrieve_response.rbs +36 -0
- data/sig/openai/models/audio/speech_create_params.rbs +54 -0
- data/sig/openai/models/audio/transcription.rbs +66 -0
- data/sig/openai/models/audio/transcription_create_params.rbs +205 -0
- data/sig/openai/models/audio/transcription_diarized.rbs +46 -0
- data/sig/openai/models/audio/transcription_diarized_segment.rbs +22 -0
- data/sig/openai/models/audio/transcription_language.rbs +3 -0
- data/sig/openai/models/audio/transcription_segment.rbs +36 -0
- data/sig/openai/models/audio/transcription_text_delta_event.rbs +35 -0
- data/sig/openai/models/audio/transcription_text_done_event.rbs +66 -0
- data/sig/openai/models/audio/transcription_text_segment_event.rbs +18 -0
- data/sig/openai/models/audio/transcription_verbose.rbs +27 -0
- data/sig/openai/models/audio/transcription_word.rbs +9 -0
- data/sig/openai/models/audio/translation_create_params.rbs +58 -0
- data/sig/openai/models/audio/translation_verbose.rbs +13 -0
- data/sig/openai/models/auto_file_chunking_strategy_param.rbs +3 -0
- data/sig/openai/models/batch.rbs +105 -0
- data/sig/openai/models/batch_create_params.rbs +71 -0
- data/sig/openai/models/batch_error.rbs +14 -0
- data/sig/openai/models/batch_list_params.rbs +20 -0
- data/sig/openai/models/batch_request_counts.rbs +9 -0
- data/sig/openai/models/batch_usage.rbs +23 -0
- data/sig/openai/models/beta/agent.rbs +41 -0
- data/sig/openai/models/beta/agent_close_subagent_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_command_execution_item.rbs +27 -0
- data/sig/openai/models/beta/agent_content.rbs +6 -0
- data/sig/openai/models/beta/agent_create_params.rbs +35 -0
- data/sig/openai/models/beta/agent_create_subagent_call_item.rbs +24 -0
- data/sig/openai/models/beta/agent_deleted.rbs +9 -0
- data/sig/openai/models/beta/agent_function_call_item.rbs +21 -0
- data/sig/openai/models/beta/agent_interrupt_subagent_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_list_params.rbs +11 -0
- data/sig/openai/models/beta/agent_mcp_call_item.rbs +27 -0
- data/sig/openai/models/beta/agent_output_command_execution_output_delta_event.rbs +21 -0
- data/sig/openai/models/beta/agent_reasoning.rbs +8 -0
- data/sig/openai/models/beta/agent_reasoning_item.rbs +15 -0
- data/sig/openai/models/beta/agent_reasoning_param.rbs +8 -0
- data/sig/openai/models/beta/agent_resume_subagent_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_send_subagent_input_call_item.rbs +21 -0
- data/sig/openai/models/beta/agent_session.rbs +88 -0
- data/sig/openai/models/beta/agent_session_assistant_message.rbs +21 -0
- data/sig/openai/models/beta/agent_session_created_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_deleted.rbs +11 -0
- data/sig/openai/models/beta/agent_session_environment_connected_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_disconnected_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_failed_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_pending_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_ready_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_environment_reset_event.rbs +65 -0
- data/sig/openai/models/beta/agent_session_environment_state.rbs +21 -0
- data/sig/openai/models/beta/agent_session_error_event.rbs +12 -0
- data/sig/openai/models/beta/agent_session_event.rbs +1 -0
- data/sig/openai/models/beta/agent_session_failed_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_idle_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_in_progress_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_input_message_param.rbs +10 -0
- data/sig/openai/models/beta/agent_session_input_param.rbs +27 -0
- data/sig/openai/models/beta/agent_session_item.rbs +39 -0
- data/sig/openai/models/beta/agent_session_message.rbs +23 -0
- data/sig/openai/models/beta/agent_session_message_content.rbs +20 -0
- data/sig/openai/models/beta/agent_session_requires_action_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_subagent_active_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_subagent_closed_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_subagent_created_event.rbs +9 -0
- data/sig/openai/models/beta/agent_session_turn_cancelled_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_completed_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_content_part_added_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_content_part_done_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_created_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_turn_failed_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_in_progress_event.rbs +15 -0
- data/sig/openai/models/beta/agent_session_turn_item_added_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_item_done_event.rbs +18 -0
- data/sig/openai/models/beta/agent_session_turn_output_text_delta_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_output_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_part_added_event.rbs +26 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_part_done_event.rbs +28 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_text_delta_event.rbs +26 -0
- data/sig/openai/models/beta/agent_session_turn_reasoning_summary_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/agent_text.rbs +6 -0
- data/sig/openai/models/beta/agent_text_param.rbs +8 -0
- data/sig/openai/models/beta/agent_tool.rbs +74 -0
- data/sig/openai/models/beta/agent_tool_param.rbs +90 -0
- data/sig/openai/models/beta/agent_update_params.rbs +36 -0
- data/sig/openai/models/beta/agent_wait_for_subagents_call_item.rbs +18 -0
- data/sig/openai/models/beta/agent_web_search_call_item.rbs +15 -0
- data/sig/openai/models/beta/agents/environment_info.rbs +21 -0
- data/sig/openai/models/beta/agents/environments/environment_file.rbs +12 -0
- data/sig/openai/models/beta/agents/environments/environment_template.rbs +84 -0
- data/sig/openai/models/beta/agents/environments/environment_template_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/environments/file_list_params.rbs +14 -0
- data/sig/openai/models/beta/agents/environments/template_create_params.rbs +49 -1
- data/sig/openai/models/beta/agents/environments/template_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/environments/template_update_params.rbs +47 -1
- data/sig/openai/models/beta/agents/session_create_params.rbs +60 -0
- data/sig/openai/models/beta/agents/session_list_params.rbs +21 -0
- data/sig/openai/models/beta/agents/session_update_params.rbs +25 -0
- data/sig/openai/models/beta/agents/sessions/artifact_list_params.rbs +13 -0
- data/sig/openai/models/beta/agents/sessions/event_create_params.rbs +3 -0
- data/sig/openai/models/beta/agents/sessions/item_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/session_artifact.rbs +24 -0
- data/sig/openai/models/beta/agents/sessions/session_artifact_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/sessions/subagent_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/subagents/item_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/subagents/turn_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/subagents/turns/item_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/sessions/turn.rbs +39 -0
- data/sig/openai/models/beta/agents/sessions/turn_list_params.rbs +12 -0
- data/sig/openai/models/beta/agents/vault.rbs +17 -0
- data/sig/openai/models/beta/agents/vault_create_params.rbs +12 -0
- data/sig/openai/models/beta/agents/vault_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/vault_list_params.rbs +23 -0
- data/sig/openai/models/beta/agents/vaults/credential.rbs +21 -0
- data/sig/openai/models/beta/agents/vaults/credential_auth.rbs +74 -0
- data/sig/openai/models/beta/agents/vaults/credential_auth_create_param.rbs +107 -0
- data/sig/openai/models/beta/agents/vaults/credential_auth_rotate_param.rbs +67 -0
- data/sig/openai/models/beta/agents/vaults/credential_create_params.rbs +8 -0
- data/sig/openai/models/beta/agents/vaults/credential_deleted.rbs +9 -0
- data/sig/openai/models/beta/agents/vaults/credential_list_params.rbs +23 -0
- data/sig/openai/models/beta/agents/vaults/credential_networking.rbs +60 -0
- data/sig/openai/models/beta/agents/vaults/credential_networking_param.rbs +60 -0
- data/sig/openai/models/beta/agents/vaults/credential_update_params.rbs +3 -0
- data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth.rbs +9 -0
- data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth_create_param.rbs +15 -0
- data/sig/openai/models/beta/agents/vaults/mcp_oauth_token_endpoint_auth_rotate_param.rbs +16 -0
- data/sig/openai/models/beta/assistant.rbs +142 -0
- data/sig/openai/models/beta/assistant_create_params.rbs +213 -0
- data/sig/openai/models/beta/assistant_list_params.rbs +40 -0
- data/sig/openai/models/beta/assistant_stream_event.rbs +107 -0
- data/sig/openai/models/beta/assistant_tool_choice.rbs +3 -0
- data/sig/openai/models/beta/assistant_tool_choice_function.rbs +3 -0
- data/sig/openai/models/beta/assistant_update_params.rbs +157 -0
- data/sig/openai/models/beta/beta_apply_patch_tool.rbs +6 -0
- data/sig/openai/models/beta/beta_compacted_response.rbs +19 -0
- data/sig/openai/models/beta/beta_computer_action.rbs +126 -0
- data/sig/openai/models/beta/beta_computer_tool.rbs +3 -0
- data/sig/openai/models/beta/beta_computer_use_preview_tool.rbs +12 -0
- data/sig/openai/models/beta/beta_container_auto.rbs +18 -0
- data/sig/openai/models/beta/beta_container_network_policy_allowlist.rbs +10 -0
- data/sig/openai/models/beta/beta_container_network_policy_disabled.rbs +3 -0
- data/sig/openai/models/beta/beta_container_network_policy_domain_secret.rbs +9 -0
- data/sig/openai/models/beta/beta_container_reference.rbs +6 -0
- data/sig/openai/models/beta/beta_custom_tool.rbs +40 -0
- data/sig/openai/models/beta/beta_easy_input_message.rbs +23 -0
- data/sig/openai/models/beta/beta_file_search_tool.rbs +117 -0
- data/sig/openai/models/beta/beta_function_shell_tool.rbs +6 -0
- data/sig/openai/models/beta/beta_function_tool.rbs +29 -0
- data/sig/openai/models/beta/beta_inline_skill.rbs +12 -0
- data/sig/openai/models/beta/beta_inline_skill_source.rbs +9 -0
- data/sig/openai/models/beta/beta_local_environment.rbs +7 -0
- data/sig/openai/models/beta/beta_local_skill.rbs +9 -0
- data/sig/openai/models/beta/beta_namespace_tool.rbs +38 -0
- data/sig/openai/models/beta/beta_response.rbs +549 -2
- data/sig/openai/models/beta/beta_response_apply_patch_tool_call.rbs +60 -0
- data/sig/openai/models/beta/beta_response_apply_patch_tool_call_output.rbs +34 -0
- data/sig/openai/models/beta/beta_response_audio_delta_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_audio_done_event.rbs +12 -0
- data/sig/openai/models/beta/beta_response_audio_transcript_delta_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_audio_transcript_done_event.rbs +12 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_code_delta_event.rbs +23 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_code_done_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_completed_event.rbs +20 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_in_progress_event.rbs +20 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_call_interpreting_event.rbs +20 -0
- data/sig/openai/models/beta/beta_response_code_interpreter_tool_call.rbs +40 -0
- data/sig/openai/models/beta/beta_response_compaction_compacting_event.rbs +19 -0
- data/sig/openai/models/beta/beta_response_compaction_item.rbs +20 -0
- data/sig/openai/models/beta/beta_response_compaction_item_param.rbs +15 -0
- data/sig/openai/models/beta/beta_response_completed_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_computer_tool_call.rbs +43 -0
- data/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs +43 -0
- data/sig/openai/models/beta/beta_response_computer_tool_call_output_screenshot.rbs +13 -0
- data/sig/openai/models/beta/beta_response_configuration_update_item.rbs +22 -0
- data/sig/openai/models/beta/beta_response_configuration_update_item_param.rbs +21 -0
- data/sig/openai/models/beta/beta_response_container_reference.rbs +3 -0
- data/sig/openai/models/beta/beta_response_content.rbs +6 -0
- data/sig/openai/models/beta/beta_response_content_part_added_event.rbs +30 -0
- data/sig/openai/models/beta/beta_response_content_part_done_event.rbs +30 -0
- data/sig/openai/models/beta/beta_response_conversation_param.rbs +3 -0
- data/sig/openai/models/beta/beta_response_created_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call.rbs +36 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_input_delta_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_input_done_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_item.rbs +31 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_output.rbs +33 -0
- data/sig/openai/models/beta/beta_response_custom_tool_call_output_item.rbs +26 -0
- data/sig/openai/models/beta/beta_response_error.rbs +21 -0
- data/sig/openai/models/beta/beta_response_error_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_failed_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_file_search_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_file_search_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_file_search_call_searching_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_file_search_tool_call.rbs +50 -0
- data/sig/openai/models/beta/beta_response_format_text_config.rbs +6 -0
- data/sig/openai/models/beta/beta_response_format_text_json_schema_config.rbs +31 -0
- data/sig/openai/models/beta/beta_response_function_call_arguments_delta_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_function_call_arguments_done_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_function_shell_call_output_content.rbs +18 -0
- data/sig/openai/models/beta/beta_response_function_shell_tool_call.rbs +45 -0
- data/sig/openai/models/beta/beta_response_function_shell_tool_call_output.rbs +65 -0
- data/sig/openai/models/beta/beta_response_function_tool_call.rbs +43 -0
- data/sig/openai/models/beta/beta_response_function_tool_call_item.rbs +31 -0
- data/sig/openai/models/beta/beta_response_function_tool_call_output_item.rbs +50 -0
- data/sig/openai/models/beta/beta_response_function_web_search.rbs +56 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_generating_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_image_gen_call_partial_image_event.rbs +42 -0
- data/sig/openai/models/beta/beta_response_in_progress_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_incomplete_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_inject_created_event.rbs +16 -0
- data/sig/openai/models/beta/beta_response_inject_event.rbs +9 -0
- data/sig/openai/models/beta/beta_response_inject_failed_event.rbs +28 -0
- data/sig/openai/models/beta/beta_response_input_audio.rbs +9 -0
- data/sig/openai/models/beta/beta_response_input_file.rbs +47 -0
- data/sig/openai/models/beta/beta_response_input_file_content.rbs +41 -0
- data/sig/openai/models/beta/beta_response_input_image.rbs +29 -0
- data/sig/openai/models/beta/beta_response_input_image_content.rbs +26 -0
- data/sig/openai/models/beta/beta_response_input_item.rbs +737 -0
- data/sig/openai/models/beta/beta_response_input_message_item.rbs +27 -0
- data/sig/openai/models/beta/beta_response_input_text.rbs +19 -0
- data/sig/openai/models/beta/beta_response_input_text_content.rbs +16 -0
- data/sig/openai/models/beta/beta_response_item.rbs +387 -0
- data/sig/openai/models/beta/beta_response_local_environment.rbs +3 -0
- data/sig/openai/models/beta/beta_response_mcp_call_arguments_delta_event.rbs +23 -0
- data/sig/openai/models/beta/beta_response_mcp_call_arguments_done_event.rbs +21 -0
- data/sig/openai/models/beta/beta_response_mcp_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_call_failed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_list_tools_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_list_tools_failed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_mcp_list_tools_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_output_audio.rbs +9 -0
- data/sig/openai/models/beta/beta_response_output_item.rbs +387 -0
- data/sig/openai/models/beta/beta_response_output_item_added_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_output_item_done_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_output_message.rbs +32 -0
- data/sig/openai/models/beta/beta_response_output_refusal.rbs +6 -0
- data/sig/openai/models/beta/beta_response_output_text.rbs +63 -0
- data/sig/openai/models/beta/beta_response_output_text_annotation_added_event.rbs +81 -0
- data/sig/openai/models/beta/beta_response_prompt.rbs +13 -0
- data/sig/openai/models/beta/beta_response_queued_event.rbs +15 -0
- data/sig/openai/models/beta/beta_response_reasoning_item.rbs +55 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_part_added_event.rbs +30 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_part_done_event.rbs +37 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_text_delta_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_reasoning_summary_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_reasoning_text_delta_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_reasoning_text_done_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_refusal_delta_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_refusal_done_event.rbs +24 -0
- data/sig/openai/models/beta/beta_response_shell_call_command_added_event.rbs +22 -0
- data/sig/openai/models/beta/beta_response_shell_call_command_delta_event.rbs +26 -0
- data/sig/openai/models/beta/beta_response_shell_call_command_done_event.rbs +22 -0
- data/sig/openai/models/beta/beta_response_shell_call_output_content_delta_event.rbs +33 -0
- data/sig/openai/models/beta/beta_response_shell_call_output_content_done_event.rbs +49 -0
- data/sig/openai/models/beta/beta_response_steer_accepted_event.rbs +22 -0
- data/sig/openai/models/beta/beta_response_steer_event.rbs +25 -0
- data/sig/openai/models/beta/beta_response_steer_failed_event.rbs +78 -0
- data/sig/openai/models/beta/beta_response_steer_input.rbs +64 -0
- data/sig/openai/models/beta/beta_response_steer_pending_event.rbs +42 -0
- data/sig/openai/models/beta/beta_response_text_config.rbs +49 -0
- data/sig/openai/models/beta/beta_response_text_delta_event.rbs +45 -0
- data/sig/openai/models/beta/beta_response_text_done_event.rbs +45 -0
- data/sig/openai/models/beta/beta_response_tool_search_call.rbs +29 -0
- data/sig/openai/models/beta/beta_response_tool_search_output_item.rbs +29 -0
- data/sig/openai/models/beta/beta_response_tool_search_output_item_param.rbs +25 -0
- data/sig/openai/models/beta/beta_response_usage.rbs +26 -0
- data/sig/openai/models/beta/beta_response_web_search_call_completed_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_web_search_call_in_progress_event.rbs +18 -0
- data/sig/openai/models/beta/beta_response_web_search_call_searching_event.rbs +18 -0
- data/sig/openai/models/beta/beta_responses_client_event.rbs +662 -2
- data/sig/openai/models/beta/beta_responses_server_event.rbs +1132 -0
- data/sig/openai/models/beta/beta_skill_reference.rbs +10 -0
- data/sig/openai/models/beta/beta_tool.rbs +347 -0
- data/sig/openai/models/beta/beta_tool_choice_allowed.rbs +39 -0
- data/sig/openai/models/beta/beta_tool_choice_apply_patch.rbs +3 -0
- data/sig/openai/models/beta/beta_tool_choice_custom.rbs +6 -0
- data/sig/openai/models/beta/beta_tool_choice_function.rbs +6 -0
- data/sig/openai/models/beta/beta_tool_choice_mcp.rbs +9 -0
- data/sig/openai/models/beta/beta_tool_choice_shell.rbs +3 -0
- data/sig/openai/models/beta/beta_tool_choice_types.rbs +25 -0
- data/sig/openai/models/beta/beta_tool_search_tool.rbs +13 -0
- data/sig/openai/models/beta/beta_web_search_preview_tool.rbs +34 -0
- data/sig/openai/models/beta/beta_web_search_tool.rbs +55 -0
- data/sig/openai/models/beta/chatkit/chat_session.rbs +30 -0
- data/sig/openai/models/beta/chatkit/chat_session_automatic_thread_titling.rbs +3 -0
- data/sig/openai/models/beta/chatkit/chat_session_chatkit_configuration.rbs +9 -0
- data/sig/openai/models/beta/chatkit/chat_session_chatkit_configuration_param.rbs +51 -0
- data/sig/openai/models/beta/chatkit/chat_session_expires_after_param.rbs +6 -0
- data/sig/openai/models/beta/chatkit/chat_session_file_upload.rbs +9 -0
- data/sig/openai/models/beta/chatkit/chat_session_history.rbs +8 -0
- data/sig/openai/models/beta/chatkit/chat_session_rate_limits.rbs +3 -0
- data/sig/openai/models/beta/chatkit/chat_session_rate_limits_param.rbs +4 -0
- data/sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs +25 -0
- data/sig/openai/models/beta/chatkit/chatkit_attachment.rbs +15 -0
- data/sig/openai/models/beta/chatkit/chatkit_response_output_text.rbs +33 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread.rbs +35 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread_assistant_message_item.rbs +18 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread_item_list.rbs +98 -0
- data/sig/openai/models/beta/chatkit/chatkit_thread_user_message_item.rbs +44 -0
- data/sig/openai/models/beta/chatkit/chatkit_widget_item.rbs +18 -0
- data/sig/openai/models/beta/chatkit/session_create_params.rbs +23 -0
- data/sig/openai/models/beta/chatkit/thread_delete_response.rbs +9 -0
- data/sig/openai/models/beta/chatkit/thread_list_items_params.rbs +22 -0
- data/sig/openai/models/beta/chatkit/thread_list_params.rbs +29 -0
- data/sig/openai/models/beta/chatkit_workflow.rbs +19 -0
- data/sig/openai/models/beta/code_interpreter_tool.rbs +3 -0
- data/sig/openai/models/beta/environment.rbs +59 -0
- data/sig/openai/models/beta/environment_param.rbs +70 -1
- data/sig/openai/models/beta/file_search_tool.rbs +63 -0
- data/sig/openai/models/beta/function_tool.rbs +3 -0
- data/sig/openai/models/beta/hosted_environment_file.rbs +12 -0
- data/sig/openai/models/beta/hosted_environment_file_id.rbs +15 -0
- data/sig/openai/models/beta/hosted_environment_file_param.rbs +18 -0
- data/sig/openai/models/beta/hosted_plugin.rbs +9 -0
- data/sig/openai/models/beta/hosted_plugin_param.rbs +12 -0
- data/sig/openai/models/beta/hosted_skill.rbs +9 -0
- data/sig/openai/models/beta/hosted_skill_param.rbs +21 -0
- data/sig/openai/models/beta/hosted_skill_reference.rbs +15 -0
- data/sig/openai/models/beta/inline_capability_source_param.rbs +9 -0
- data/sig/openai/models/beta/input_content.rbs +14 -0
- data/sig/openai/models/beta/input_content_param.rbs +12 -0
- data/sig/openai/models/beta/mcp_transport.rbs +21 -0
- data/sig/openai/models/beta/mcp_transport_param.rbs +30 -0
- data/sig/openai/models/beta/message_stream_event.rbs +25 -0
- data/sig/openai/models/beta/multi_agent_config.rbs +8 -0
- data/sig/openai/models/beta/multi_agent_config_param.rbs +7 -0
- data/sig/openai/models/beta/output_text.rbs +6 -0
- data/sig/openai/models/beta/persisted_agent_tool.rbs +75 -0
- data/sig/openai/models/beta/persisted_agent_tool_param.rbs +86 -0
- data/sig/openai/models/beta/persisted_mcp_transport.rbs +24 -0
- data/sig/openai/models/beta/persisted_mcp_transport_param.rbs +24 -0
- data/sig/openai/models/beta/response_compact_params.rbs +125 -2
- data/sig/openai/models/beta/response_create_params.rbs +630 -2
- data/sig/openai/models/beta/response_retrieve_params.rbs +30 -0
- data/sig/openai/models/beta/responses/beta_response_item_list.rbs +15 -0
- data/sig/openai/models/beta/responses/input_item_list_params.rbs +31 -0
- data/sig/openai/models/beta/responses/input_token_count_params.rbs +206 -0
- data/sig/openai/models/beta/run_step_stream_event.rbs +23 -0
- data/sig/openai/models/beta/run_stream_event.rbs +50 -0
- data/sig/openai/models/beta/session_error.rbs +12 -0
- data/sig/openai/models/beta/session_turn_error.rbs +6 -0
- data/sig/openai/models/beta/setup_command_param.rbs +6 -0
- data/sig/openai/models/beta/subagent.rbs +33 -0
- data/sig/openai/models/beta/summary_text.rbs +6 -0
- data/sig/openai/models/beta/text_format.rbs +9 -0
- data/sig/openai/models/beta/text_format_param.rbs +9 -0
- data/sig/openai/models/beta/thread.rbs +54 -0
- data/sig/openai/models/beta/thread_create_and_run_params.rbs +367 -0
- data/sig/openai/models/beta/thread_create_params.rbs +162 -0
- data/sig/openai/models/beta/thread_stream_event.rbs +9 -0
- data/sig/openai/models/beta/thread_update_params.rbs +45 -0
- data/sig/openai/models/beta/threads/file_citation_annotation.rbs +9 -0
- data/sig/openai/models/beta/threads/file_citation_delta_annotation.rbs +18 -0
- data/sig/openai/models/beta/threads/file_path_annotation.rbs +9 -0
- data/sig/openai/models/beta/threads/file_path_delta_annotation.rbs +14 -0
- data/sig/openai/models/beta/threads/image_file.rbs +14 -0
- data/sig/openai/models/beta/threads/image_file_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/image_file_delta.rbs +17 -0
- data/sig/openai/models/beta/threads/image_file_delta_block.rbs +6 -0
- data/sig/openai/models/beta/threads/image_url.rbs +12 -0
- data/sig/openai/models/beta/threads/image_url_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/image_url_delta.rbs +14 -0
- data/sig/openai/models/beta/threads/image_url_delta_block.rbs +6 -0
- data/sig/openai/models/beta/threads/message.rbs +78 -0
- data/sig/openai/models/beta/threads/message_create_params.rbs +43 -0
- data/sig/openai/models/beta/threads/message_delta.rbs +8 -0
- data/sig/openai/models/beta/threads/message_delta_event.rbs +9 -0
- data/sig/openai/models/beta/threads/message_list_params.rbs +44 -0
- data/sig/openai/models/beta/threads/message_update_params.rbs +13 -0
- data/sig/openai/models/beta/threads/refusal_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/refusal_delta_block.rbs +6 -0
- data/sig/openai/models/beta/threads/required_action_function_tool_call.rbs +23 -0
- data/sig/openai/models/beta/threads/run.rbs +226 -0
- data/sig/openai/models/beta/threads/run_create_params.rbs +256 -0
- data/sig/openai/models/beta/threads/run_list_params.rbs +40 -0
- data/sig/openai/models/beta/threads/run_submit_tool_outputs_params.rbs +14 -0
- data/sig/openai/models/beta/threads/run_update_params.rbs +13 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_logs.rbs +10 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_output_image.rbs +13 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_tool_call.rbs +35 -0
- data/sig/openai/models/beta/threads/runs/code_interpreter_tool_call_delta.rbs +30 -0
- data/sig/openai/models/beta/threads/runs/file_search_tool_call.rbs +55 -0
- data/sig/openai/models/beta/threads/runs/file_search_tool_call_delta.rbs +15 -0
- data/sig/openai/models/beta/threads/runs/function_tool_call.rbs +22 -0
- data/sig/openai/models/beta/threads/runs/function_tool_call_delta.rbs +29 -0
- data/sig/openai/models/beta/threads/runs/message_creation_step_details.rbs +6 -0
- data/sig/openai/models/beta/threads/runs/run_step.rbs +91 -0
- data/sig/openai/models/beta/threads/runs/run_step_delta.rbs +4 -0
- data/sig/openai/models/beta/threads/runs/run_step_delta_event.rbs +9 -0
- data/sig/openai/models/beta/threads/runs/run_step_delta_message_delta.rbs +7 -0
- data/sig/openai/models/beta/threads/runs/step_list_params.rbs +62 -0
- data/sig/openai/models/beta/threads/runs/step_retrieve_params.rbs +22 -0
- data/sig/openai/models/beta/threads/runs/tool_call_delta_object.rbs +13 -0
- data/sig/openai/models/beta/threads/runs/tool_calls_step_details.rbs +10 -0
- data/sig/openai/models/beta/threads/text.rbs +3 -0
- data/sig/openai/models/beta/threads/text_content_block.rbs +3 -0
- data/sig/openai/models/beta/threads/text_content_block_param.rbs +6 -0
- data/sig/openai/models/beta/threads/text_delta.rbs +4 -0
- data/sig/openai/models/beta/threads/text_delta_block.rbs +6 -0
- data/sig/openai/models/beta/token_usage.rbs +21 -0
- data/sig/openai/models/beta/web_search_action.rbs +27 -0
- data/sig/openai/models/chat/chat_completion.rbs +213 -0
- data/sig/openai/models/chat/chat_completion_allowed_tool_choice.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_allowed_tools.rbs +34 -0
- data/sig/openai/models/chat/chat_completion_assistant_message_param.rbs +47 -0
- data/sig/openai/models/chat/chat_completion_audio.rbs +16 -0
- data/sig/openai/models/chat/chat_completion_audio_param.rbs +17 -0
- data/sig/openai/models/chat/chat_completion_chunk.rbs +279 -0
- data/sig/openai/models/chat/chat_completion_content_part.rbs +31 -0
- data/sig/openai/models/chat/chat_completion_content_part_image.rbs +26 -0
- data/sig/openai/models/chat/chat_completion_content_part_input_audio.rbs +22 -0
- data/sig/openai/models/chat/chat_completion_content_part_refusal.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_content_part_text.rbs +19 -0
- data/sig/openai/models/chat/chat_completion_custom_tool.rbs +32 -0
- data/sig/openai/models/chat/chat_completion_deleted.rbs +9 -0
- data/sig/openai/models/chat/chat_completion_developer_message_param.rbs +13 -0
- data/sig/openai/models/chat/chat_completion_function_call_option.rbs +3 -0
- data/sig/openai/models/chat/chat_completion_function_message_param.rbs +9 -0
- data/sig/openai/models/chat/chat_completion_function_tool.rbs +3 -0
- data/sig/openai/models/chat/chat_completion_message.rbs +64 -0
- data/sig/openai/models/chat/chat_completion_message_custom_tool_call.rbs +15 -0
- data/sig/openai/models/chat/chat_completion_message_function_tool_call.rbs +21 -0
- data/sig/openai/models/chat/chat_completion_named_tool_choice.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_named_tool_choice_custom.rbs +6 -0
- data/sig/openai/models/chat/chat_completion_prediction_content.rbs +12 -0
- data/sig/openai/models/chat/chat_completion_store_message.rbs +29 -0
- data/sig/openai/models/chat/chat_completion_stream_options.rbs +41 -0
- data/sig/openai/models/chat/chat_completion_system_message_param.rbs +13 -0
- data/sig/openai/models/chat/chat_completion_token_logprob.rbs +43 -0
- data/sig/openai/models/chat/chat_completion_tool_message_param.rbs +9 -0
- data/sig/openai/models/chat/chat_completion_user_message_param.rbs +13 -0
- data/sig/openai/models/chat/completion_create_params.rbs +637 -0
- data/sig/openai/models/chat/completion_list_params.rbs +26 -0
- data/sig/openai/models/chat/completion_update_params.rbs +13 -0
- data/sig/openai/models/chat/completions/message_list_params.rbs +15 -0
- data/sig/openai/models/chat_model.rbs +6 -2
- data/sig/openai/models/comparison_filter.rbs +31 -0
- data/sig/openai/models/completion.rbs +32 -0
- data/sig/openai/models/completion_choice.rbs +9 -0
- data/sig/openai/models/completion_create_params.rbs +198 -0
- data/sig/openai/models/completion_usage.rbs +69 -0
- data/sig/openai/models/compound_filter.rbs +8 -0
- data/sig/openai/models/container_create_params.rbs +28 -0
- data/sig/openai/models/container_create_response.rbs +52 -0
- data/sig/openai/models/container_list_params.rbs +31 -0
- data/sig/openai/models/container_list_response.rbs +52 -0
- data/sig/openai/models/container_retrieve_response.rbs +52 -0
- data/sig/openai/models/containers/file_create_params.rbs +20 -0
- data/sig/openai/models/containers/file_create_response.rbs +21 -0
- data/sig/openai/models/containers/file_list_params.rbs +27 -0
- data/sig/openai/models/containers/file_list_response.rbs +21 -0
- data/sig/openai/models/containers/file_retrieve_response.rbs +21 -0
- data/sig/openai/models/content_provenance_check.rbs +69 -0
- data/sig/openai/models/content_provenance_check_create_params.rbs +11 -0
- data/sig/openai/models/conversations/computer_screenshot_content.rbs +29 -0
- data/sig/openai/models/conversations/conversation.rbs +22 -0
- data/sig/openai/models/conversations/conversation_create_params.rbs +18 -0
- data/sig/openai/models/conversations/conversation_item.rbs +211 -0
- data/sig/openai/models/conversations/conversation_item_list.rbs +15 -0
- data/sig/openai/models/conversations/conversation_update_params.rbs +11 -0
- data/sig/openai/models/conversations/item_create_params.rbs +13 -0
- data/sig/openai/models/conversations/item_list_params.rbs +79 -0
- data/sig/openai/models/conversations/item_retrieve_params.rbs +10 -0
- data/sig/openai/models/conversations/message.rbs +34 -0
- data/sig/openai/models/conversations/summary_text_content.rbs +6 -0
- data/sig/openai/models/create_embedding_response.rbs +18 -0
- data/sig/openai/models/custom_tool_input_format.rbs +12 -0
- data/sig/openai/models/embedding.rbs +13 -0
- data/sig/openai/models/embedding_create_params.rbs +54 -0
- data/sig/openai/models/error_object.rbs +15 -0
- data/sig/openai/models/eval_create_params.rbs +161 -0
- data/sig/openai/models/eval_create_response.rbs +96 -0
- data/sig/openai/models/eval_custom_data_source_config.rbs +8 -0
- data/sig/openai/models/eval_list_params.rbs +22 -0
- data/sig/openai/models/eval_list_response.rbs +96 -0
- data/sig/openai/models/eval_retrieve_response.rbs +96 -0
- data/sig/openai/models/eval_stored_completions_data_source_config.rbs +21 -0
- data/sig/openai/models/eval_update_params.rbs +17 -0
- data/sig/openai/models/eval_update_response.rbs +96 -0
- data/sig/openai/models/evals/create_eval_completions_run_data_source.rbs +180 -0
- data/sig/openai/models/evals/create_eval_jsonl_run_data_source.rbs +18 -0
- data/sig/openai/models/evals/eval_api_error.rbs +6 -0
- data/sig/openai/models/evals/run_cancel_response.rbs +363 -0
- data/sig/openai/models/evals/run_create_params.rbs +292 -0
- data/sig/openai/models/evals/run_create_response.rbs +363 -0
- data/sig/openai/models/evals/run_list_params.rbs +22 -0
- data/sig/openai/models/evals/run_list_response.rbs +363 -0
- data/sig/openai/models/evals/run_retrieve_response.rbs +363 -0
- data/sig/openai/models/evals/runs/output_item_list_params.rbs +22 -0
- data/sig/openai/models/evals/runs/output_item_list_response.rbs +102 -0
- data/sig/openai/models/evals/runs/output_item_retrieve_response.rbs +102 -0
- data/sig/openai/models/file_create_params.rbs +45 -0
- data/sig/openai/models/file_list_params.rbs +31 -0
- data/sig/openai/models/file_object.rbs +38 -0
- data/sig/openai/models/fine_tuning/alpha/grader_run_params.rbs +27 -0
- data/sig/openai/models/fine_tuning/alpha/grader_validate_params.rbs +3 -0
- data/sig/openai/models/fine_tuning/alpha/grader_validate_response.rbs +4 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_create_params.rbs +3 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_create_response.rbs +12 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_delete_response.rbs +9 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_list_params.rbs +16 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_list_response.rbs +12 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_retrieve_params.rbs +16 -0
- data/sig/openai/models/fine_tuning/checkpoints/permission_retrieve_response.rbs +12 -0
- data/sig/openai/models/fine_tuning/dpo_hyperparameters.rbs +28 -0
- data/sig/openai/models/fine_tuning/dpo_method.rbs +4 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job.rbs +137 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job_event.rbs +23 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job_wandb_integration.rbs +25 -0
- data/sig/openai/models/fine_tuning/fine_tuning_job_wandb_integration_object.rbs +12 -0
- data/sig/openai/models/fine_tuning/job_create_params.rbs +191 -0
- data/sig/openai/models/fine_tuning/job_list_events_params.rbs +8 -0
- data/sig/openai/models/fine_tuning/job_list_params.rbs +13 -0
- data/sig/openai/models/fine_tuning/jobs/checkpoint_list_params.rbs +8 -0
- data/sig/openai/models/fine_tuning/jobs/fine_tuning_job_checkpoint.rbs +21 -0
- data/sig/openai/models/fine_tuning/reinforcement_hyperparameters.rbs +37 -0
- data/sig/openai/models/fine_tuning/reinforcement_method.rbs +7 -0
- data/sig/openai/models/fine_tuning/supervised_hyperparameters.rbs +21 -0
- data/sig/openai/models/fine_tuning/supervised_method.rbs +4 -0
- data/sig/openai/models/function_definition.rbs +45 -0
- data/sig/openai/models/graders/grader_input_item.rbs +19 -0
- data/sig/openai/models/graders/label_model_grader.rbs +48 -0
- data/sig/openai/models/graders/multi_grader.rbs +14 -0
- data/sig/openai/models/graders/python_grader.rbs +13 -0
- data/sig/openai/models/graders/score_model_grader.rbs +80 -0
- data/sig/openai/models/graders/string_check_grader.rbs +15 -0
- data/sig/openai/models/graders/text_similarity_grader.rbs +17 -0
- data/sig/openai/models/image.rbs +24 -0
- data/sig/openai/models/image_create_variation_params.rbs +43 -0
- data/sig/openai/models/image_edit_completed_event.rbs +44 -0
- data/sig/openai/models/image_edit_params.rbs +183 -0
- data/sig/openai/models/image_edit_partial_image_event.rbs +24 -0
- data/sig/openai/models/image_gen_completed_event.rbs +44 -0
- data/sig/openai/models/image_gen_partial_image_event.rbs +24 -0
- data/sig/openai/models/image_generate_params.rbs +148 -0
- data/sig/openai/models/image_input_reference_param.rbs +4 -0
- data/sig/openai/models/images_response.rbs +61 -0
- data/sig/openai/models/live/audio_format.rbs +18 -0
- data/sig/openai/models/live/client_config.rbs +3 -0
- data/sig/openai/models/live/client_delegation.rbs +3 -0
- data/sig/openai/models/live/commentary_append_event.rbs +22 -0
- data/sig/openai/models/live/commentary_appended_event.rbs +23 -0
- data/sig/openai/models/live/data_channel_config.rbs +23 -0
- data/sig/openai/models/live/delegation_created_event.rbs +43 -0
- data/sig/openai/models/live/error.rbs +19 -0
- data/sig/openai/models/live/error_event.rbs +16 -0
- data/sig/openai/models/live/fork_server_event.rbs +26 -0
- data/sig/openai/models/live/fork_session_config.rbs +48 -0
- data/sig/openai/models/live/fork_session_start_event.rbs +17 -0
- data/sig/openai/models/live/function_tool.rbs +17 -0
- data/sig/openai/models/live/info_event.rbs +19 -0
- data/sig/openai/models/live/initial_item.rbs +93 -0
- data/sig/openai/models/live/input_audio_append_event.rbs +19 -0
- data/sig/openai/models/live/input_audio_mute_event.rbs +8 -0
- data/sig/openai/models/live/input_audio_muted_event.rbs +13 -0
- data/sig/openai/models/live/input_audio_unmute_event.rbs +8 -0
- data/sig/openai/models/live/input_audio_unmuted_event.rbs +13 -0
- data/sig/openai/models/live/input_transcript_delta_event.rbs +28 -0
- data/sig/openai/models/live/instructions_append_event.rbs +20 -0
- data/sig/openai/models/live/instructions_appended_event.rbs +23 -0
- data/sig/openai/models/live/live_create_params.rbs +12 -0
- data/sig/openai/models/live/live_create_response.rbs +19 -0
- data/sig/openai/models/live/media_session_config.rbs +78 -0
- data/sig/openai/models/live/media_session_fork_config.rbs +31 -0
- data/sig/openai/models/live/output_audio_delta_event.rbs +25 -0
- data/sig/openai/models/live/output_transcript_delta_event.rbs +28 -0
- data/sig/openai/models/live/response_create_event.rbs +8 -0
- data/sig/openai/models/live/response_event.rbs +25 -0
- data/sig/openai/models/live/response_item_create_event.rbs +13 -0
- data/sig/openai/models/live/responses_delegation_config.rbs +59 -0
- data/sig/openai/models/live/responses_delegation_update_config.rbs +63 -0
- data/sig/openai/models/live/server_event.rbs +26 -0
- data/sig/openai/models/live/server_event_selector.rbs +10 -0
- data/sig/openai/models/live/session_accept_params.rbs +80 -0
- data/sig/openai/models/live/session_close_event.rbs +8 -0
- data/sig/openai/models/live/session_closed_event.rbs +28 -0
- data/sig/openai/models/live/session_config.rbs +85 -0
- data/sig/openai/models/live/session_download_recording_params.rbs +5 -0
- data/sig/openai/models/live/session_fork_params.rbs +16 -0
- data/sig/openai/models/live/session_fork_response.rbs +19 -0
- data/sig/openai/models/live/session_refer_params.rbs +5 -0
- data/sig/openai/models/live/session_reject_params.rbs +3 -0
- data/sig/openai/models/live/session_resource.rbs +100 -0
- data/sig/openai/models/live/session_start_event.rbs +15 -0
- data/sig/openai/models/live/session_started_event.rbs +16 -0
- data/sig/openai/models/live/session_update_config.rbs +15 -0
- data/sig/openai/models/live/session_update_event.rbs +15 -0
- data/sig/openai/models/live/session_updated_event.rbs +16 -0
- data/sig/openai/models/live/session_usage.rbs +5 -0
- data/sig/openai/models/live/session_usage_updated_event.rbs +28 -0
- data/sig/openai/models/live/thinking_append_event.rbs +22 -0
- data/sig/openai/models/live/thinking_appended_event.rbs +23 -0
- data/sig/openai/models/model.rbs +15 -0
- data/sig/openai/models/moderation.rbs +163 -0
- data/sig/openai/models/moderation_create_params.rbs +18 -0
- data/sig/openai/models/moderation_create_response.rbs +9 -0
- data/sig/openai/models/moderation_image_url_input.rbs +9 -0
- data/sig/openai/models/moderation_text_input.rbs +6 -0
- data/sig/openai/models/other_file_chunking_strategy_object.rbs +3 -0
- data/sig/openai/models/realtime/audio_transcription.rbs +72 -0
- data/sig/openai/models/realtime/call_accept_params.rbs +72 -0
- data/sig/openai/models/realtime/call_create_params.rbs +7 -0
- data/sig/openai/models/realtime/call_refer_params.rbs +5 -0
- data/sig/openai/models/realtime/call_reject_params.rbs +7 -0
- data/sig/openai/models/realtime/client_secret_create_params.rbs +40 -0
- data/sig/openai/models/realtime/client_secret_create_response.rbs +9 -0
- data/sig/openai/models/realtime/conversation_created_event.rbs +17 -0
- data/sig/openai/models/realtime/conversation_item_added.rbs +14 -0
- data/sig/openai/models/realtime/conversation_item_create_event.rbs +38 -0
- data/sig/openai/models/realtime/conversation_item_created_event.rbs +16 -0
- data/sig/openai/models/realtime/conversation_item_delete_event.rbs +10 -0
- data/sig/openai/models/realtime/conversation_item_deleted_event.rbs +9 -0
- data/sig/openai/models/realtime/conversation_item_done.rbs +14 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_completed_event.rbs +60 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_delta_event.rbs +30 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_failed_event.rbs +31 -0
- data/sig/openai/models/realtime/conversation_item_input_audio_transcription_segment.rbs +27 -0
- data/sig/openai/models/realtime/conversation_item_retrieve_event.rbs +10 -0
- data/sig/openai/models/realtime/conversation_item_truncate_event.rbs +22 -0
- data/sig/openai/models/realtime/conversation_item_truncated_event.rbs +15 -0
- data/sig/openai/models/realtime/conversation_item_with_reference.rbs +111 -0
- data/sig/openai/models/realtime/input_audio_buffer_append_event.rbs +12 -0
- data/sig/openai/models/realtime/input_audio_buffer_clear_event.rbs +7 -0
- data/sig/openai/models/realtime/input_audio_buffer_cleared_event.rbs +6 -0
- data/sig/openai/models/realtime/input_audio_buffer_commit_event.rbs +7 -0
- data/sig/openai/models/realtime/input_audio_buffer_committed_event.rbs +14 -0
- data/sig/openai/models/realtime/input_audio_buffer_dtmf_event_received_event.rbs +9 -0
- data/sig/openai/models/realtime/input_audio_buffer_speech_started_event.rbs +18 -0
- data/sig/openai/models/realtime/input_audio_buffer_speech_stopped_event.rbs +16 -0
- data/sig/openai/models/realtime/input_audio_buffer_timeout_triggered.rbs +19 -0
- data/sig/openai/models/realtime/log_prob_properties.rbs +9 -0
- data/sig/openai/models/realtime/mcp_list_tools_completed.rbs +9 -0
- data/sig/openai/models/realtime/mcp_list_tools_failed.rbs +9 -0
- data/sig/openai/models/realtime/mcp_list_tools_in_progress.rbs +9 -0
- data/sig/openai/models/realtime/output_audio_buffer_clear_event.rbs +7 -0
- data/sig/openai/models/realtime/rate_limits_updated_event.rbs +25 -0
- data/sig/openai/models/realtime/realtime_audio_config_input.rbs +88 -0
- data/sig/openai/models/realtime/realtime_audio_config_output.rbs +48 -0
- data/sig/openai/models/realtime/realtime_audio_formats.rbs +16 -0
- data/sig/openai/models/realtime/realtime_audio_input_turn_detection.rbs +129 -0
- data/sig/openai/models/realtime/realtime_conversation_item_assistant_message.rbs +55 -0
- data/sig/openai/models/realtime/realtime_conversation_item_function_call.rbs +35 -0
- data/sig/openai/models/realtime/realtime_conversation_item_function_call_output.rbs +29 -0
- data/sig/openai/models/realtime/realtime_conversation_item_system_message.rbs +35 -0
- data/sig/openai/models/realtime/realtime_conversation_item_user_message.rbs +69 -0
- data/sig/openai/models/realtime/realtime_error.rbs +15 -0
- data/sig/openai/models/realtime/realtime_error_event.rbs +9 -0
- data/sig/openai/models/realtime/realtime_function_tool.rbs +19 -0
- data/sig/openai/models/realtime/realtime_mcp_approval_request.rbs +15 -0
- data/sig/openai/models/realtime/realtime_mcp_approval_response.rbs +15 -0
- data/sig/openai/models/realtime/realtime_mcp_list_tools.rbs +25 -0
- data/sig/openai/models/realtime/realtime_mcp_tool_call.rbs +24 -0
- data/sig/openai/models/realtime/realtime_reasoning.rbs +7 -0
- data/sig/openai/models/realtime/realtime_response.rbs +109 -0
- data/sig/openai/models/realtime/realtime_response_create_audio_output.rbs +26 -0
- data/sig/openai/models/realtime/realtime_response_create_mcp_tool.rbs +169 -0
- data/sig/openai/models/realtime/realtime_response_create_params.rbs +127 -0
- data/sig/openai/models/realtime/realtime_response_status.rbs +38 -0
- data/sig/openai/models/realtime/realtime_response_usage.rbs +38 -0
- data/sig/openai/models/realtime/realtime_response_usage_input_token_details.rbs +32 -0
- data/sig/openai/models/realtime/realtime_response_usage_output_token_details.rbs +8 -0
- data/sig/openai/models/realtime/realtime_server_event.rbs +36 -0
- data/sig/openai/models/realtime/realtime_session.rbs +373 -0
- data/sig/openai/models/realtime/realtime_session_create_request.rbs +178 -0
- data/sig/openai/models/realtime/realtime_session_create_response.rbs +602 -0
- data/sig/openai/models/realtime/realtime_tools_config_union.rbs +169 -0
- data/sig/openai/models/realtime/realtime_tracing_config.rbs +21 -0
- data/sig/openai/models/realtime/realtime_transcription_session_audio_input.rbs +88 -0
- data/sig/openai/models/realtime/realtime_transcription_session_audio_input_turn_detection.rbs +129 -0
- data/sig/openai/models/realtime/realtime_transcription_session_create_request.rbs +22 -0
- data/sig/openai/models/realtime/realtime_transcription_session_create_response.rbs +57 -0
- data/sig/openai/models/realtime/realtime_transcription_session_turn_detection.rbs +31 -0
- data/sig/openai/models/realtime/realtime_translation_client_secret_create_request.rbs +38 -0
- data/sig/openai/models/realtime/realtime_translation_client_secret_create_response.rbs +11 -0
- data/sig/openai/models/realtime/realtime_translation_input_audio_buffer_append_event.rbs +10 -0
- data/sig/openai/models/realtime/realtime_translation_input_transcript_delta_event.rbs +18 -0
- data/sig/openai/models/realtime/realtime_translation_output_audio_delta_event.rbs +28 -0
- data/sig/openai/models/realtime/realtime_translation_output_transcript_delta_event.rbs +18 -0
- data/sig/openai/models/realtime/realtime_translation_session.rbs +41 -0
- data/sig/openai/models/realtime/realtime_translation_session_close_event.rbs +7 -0
- data/sig/openai/models/realtime/realtime_translation_session_closed_event.rbs +6 -0
- data/sig/openai/models/realtime/realtime_translation_session_create_request.rbs +31 -0
- data/sig/openai/models/realtime/realtime_translation_session_created_event.rbs +9 -0
- data/sig/openai/models/realtime/realtime_translation_session_update_event.rbs +12 -0
- data/sig/openai/models/realtime/realtime_translation_session_update_request.rbs +28 -0
- data/sig/openai/models/realtime/realtime_translation_session_updated_event.rbs +9 -0
- data/sig/openai/models/realtime/realtime_truncation_retention_ratio.rbs +35 -0
- data/sig/openai/models/realtime/response_audio_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_audio_done_event.rbs +18 -0
- data/sig/openai/models/realtime/response_audio_transcript_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_audio_transcript_done_event.rbs +21 -0
- data/sig/openai/models/realtime/response_cancel_event.rbs +14 -0
- data/sig/openai/models/realtime/response_content_part_added_event.rbs +37 -0
- data/sig/openai/models/realtime/response_content_part_done_event.rbs +37 -0
- data/sig/openai/models/realtime/response_create_event.rbs +11 -0
- data/sig/openai/models/realtime/response_created_event.rbs +9 -0
- data/sig/openai/models/realtime/response_done_event.rbs +9 -0
- data/sig/openai/models/realtime/response_function_call_arguments_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_function_call_arguments_done_event.rbs +24 -0
- data/sig/openai/models/realtime/response_mcp_call_arguments_delta.rbs +21 -0
- data/sig/openai/models/realtime/response_mcp_call_arguments_done.rbs +18 -0
- data/sig/openai/models/realtime/response_mcp_call_completed.rbs +12 -0
- data/sig/openai/models/realtime/response_mcp_call_failed.rbs +12 -0
- data/sig/openai/models/realtime/response_mcp_call_in_progress.rbs +12 -0
- data/sig/openai/models/realtime/response_output_item_added_event.rbs +15 -0
- data/sig/openai/models/realtime/response_output_item_done_event.rbs +15 -0
- data/sig/openai/models/realtime/response_text_delta_event.rbs +21 -0
- data/sig/openai/models/realtime/response_text_done_event.rbs +21 -0
- data/sig/openai/models/realtime/session_created_event.rbs +9 -0
- data/sig/openai/models/realtime/session_update_event.rbs +21 -0
- data/sig/openai/models/realtime/session_updated_event.rbs +9 -0
- data/sig/openai/models/realtime/transcription_session_update.rbs +107 -0
- data/sig/openai/models/realtime/transcription_session_updated_event.rbs +86 -0
- data/sig/openai/models/reasoning.rbs +60 -0
- data/sig/openai/models/response_format_json_object.rbs +3 -0
- data/sig/openai/models/response_format_json_schema.rbs +36 -0
- data/sig/openai/models/response_format_text.rbs +3 -0
- data/sig/openai/models/response_format_text_grammar.rbs +6 -0
- data/sig/openai/models/response_format_text_python.rbs +3 -0
- data/sig/openai/models/responses/apply_patch_tool.rbs +6 -0
- data/sig/openai/models/responses/compacted_response.rbs +19 -0
- data/sig/openai/models/responses/computer_action.rbs +126 -0
- data/sig/openai/models/responses/computer_tool.rbs +3 -0
- data/sig/openai/models/responses/computer_use_preview_tool.rbs +12 -0
- data/sig/openai/models/responses/container_auto.rbs +18 -0
- data/sig/openai/models/responses/container_network_policy_allowlist.rbs +10 -0
- data/sig/openai/models/responses/container_network_policy_disabled.rbs +3 -0
- data/sig/openai/models/responses/container_network_policy_domain_secret.rbs +9 -0
- data/sig/openai/models/responses/container_reference.rbs +6 -0
- data/sig/openai/models/responses/custom_tool.rbs +28 -0
- data/sig/openai/models/responses/easy_input_message.rbs +23 -0
- data/sig/openai/models/responses/file_search_tool.rbs +47 -0
- data/sig/openai/models/responses/function_shell_tool.rbs +6 -0
- data/sig/openai/models/responses/function_tool.rbs +29 -0
- data/sig/openai/models/responses/inline_skill.rbs +12 -0
- data/sig/openai/models/responses/inline_skill_source.rbs +9 -0
- data/sig/openai/models/responses/input_item_list_params.rbs +31 -0
- data/sig/openai/models/responses/input_token_count_params.rbs +146 -0
- data/sig/openai/models/responses/local_environment.rbs +7 -0
- data/sig/openai/models/responses/local_skill.rbs +9 -0
- data/sig/openai/models/responses/namespace_tool.rbs +38 -0
- data/sig/openai/models/responses/response.rbs +483 -0
- data/sig/openai/models/responses/response_apply_patch_tool_call.rbs +53 -0
- data/sig/openai/models/responses/response_apply_patch_tool_call_output.rbs +27 -0
- data/sig/openai/models/responses/response_audio_delta_event.rbs +9 -0
- data/sig/openai/models/responses/response_audio_done_event.rbs +6 -0
- data/sig/openai/models/responses/response_audio_transcript_delta_event.rbs +9 -0
- data/sig/openai/models/responses/response_audio_transcript_done_event.rbs +6 -0
- data/sig/openai/models/responses/response_code_interpreter_call_code_delta_event.rbs +17 -0
- data/sig/openai/models/responses/response_code_interpreter_call_code_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_code_interpreter_call_completed_event.rbs +14 -0
- data/sig/openai/models/responses/response_code_interpreter_call_in_progress_event.rbs +14 -0
- data/sig/openai/models/responses/response_code_interpreter_call_interpreting_event.rbs +14 -0
- data/sig/openai/models/responses/response_code_interpreter_tool_call.rbs +34 -0
- data/sig/openai/models/responses/response_compact_params.rbs +125 -2
- data/sig/openai/models/responses/response_compaction_compacting_event.rbs +12 -0
- data/sig/openai/models/responses/response_compaction_item.rbs +13 -0
- data/sig/openai/models/responses/response_compaction_item_param.rbs +9 -0
- data/sig/openai/models/responses/response_completed_event.rbs +9 -0
- data/sig/openai/models/responses/response_computer_tool_call.rbs +163 -0
- data/sig/openai/models/responses/response_computer_tool_call_output_item.rbs +37 -0
- data/sig/openai/models/responses/response_computer_tool_call_output_screenshot.rbs +13 -0
- data/sig/openai/models/responses/response_configuration_update_item.rbs +15 -0
- data/sig/openai/models/responses/response_configuration_update_item_param.rbs +15 -0
- data/sig/openai/models/responses/response_container_reference.rbs +3 -0
- data/sig/openai/models/responses/response_content.rbs +6 -0
- data/sig/openai/models/responses/response_content_part_added_event.rbs +24 -0
- data/sig/openai/models/responses/response_content_part_done_event.rbs +24 -0
- data/sig/openai/models/responses/response_conversation_param.rbs +3 -0
- data/sig/openai/models/responses/response_create_params.rbs +539 -0
- data/sig/openai/models/responses/response_created_event.rbs +9 -0
- data/sig/openai/models/responses/response_custom_tool_call.rbs +30 -0
- data/sig/openai/models/responses/response_custom_tool_call_input_delta_event.rbs +15 -0
- data/sig/openai/models/responses/response_custom_tool_call_input_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_custom_tool_call_item.rbs +29 -0
- data/sig/openai/models/responses/response_custom_tool_call_output.rbs +27 -0
- data/sig/openai/models/responses/response_custom_tool_call_output_item.rbs +24 -0
- data/sig/openai/models/responses/response_error.rbs +21 -0
- data/sig/openai/models/responses/response_error_event.rbs +15 -0
- data/sig/openai/models/responses/response_failed_event.rbs +9 -0
- data/sig/openai/models/responses/response_file_search_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_file_search_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_file_search_call_searching_event.rbs +12 -0
- data/sig/openai/models/responses/response_file_search_tool_call.rbs +44 -0
- data/sig/openai/models/responses/response_format_text_json_schema_config.rbs +31 -0
- data/sig/openai/models/responses/response_function_call_arguments_delta_event.rbs +15 -0
- data/sig/openai/models/responses/response_function_call_arguments_done_event.rbs +12 -0
- data/sig/openai/models/responses/response_function_shell_call_output_content.rbs +18 -0
- data/sig/openai/models/responses/response_function_shell_tool_call.rbs +38 -0
- data/sig/openai/models/responses/response_function_shell_tool_call_output.rbs +58 -0
- data/sig/openai/models/responses/response_function_tool_call.rbs +37 -0
- data/sig/openai/models/responses/response_function_tool_call_item.rbs +29 -0
- data/sig/openai/models/responses/response_function_tool_call_output_item.rbs +44 -0
- data/sig/openai/models/responses/response_function_web_search.rbs +50 -0
- data/sig/openai/models/responses/response_image_gen_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_image_gen_call_generating_event.rbs +12 -0
- data/sig/openai/models/responses/response_image_gen_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_image_gen_call_partial_image_event.rbs +36 -0
- data/sig/openai/models/responses/response_in_progress_event.rbs +9 -0
- data/sig/openai/models/responses/response_incomplete_event.rbs +9 -0
- data/sig/openai/models/responses/response_input_audio.rbs +9 -0
- data/sig/openai/models/responses/response_input_file.rbs +47 -0
- data/sig/openai/models/responses/response_input_file_content.rbs +41 -0
- data/sig/openai/models/responses/response_input_image.rbs +29 -0
- data/sig/openai/models/responses/response_input_image_content.rbs +26 -0
- data/sig/openai/models/responses/response_input_item.rbs +493 -0
- data/sig/openai/models/responses/response_input_message_item.rbs +21 -0
- data/sig/openai/models/responses/response_input_text.rbs +19 -0
- data/sig/openai/models/responses/response_input_text_content.rbs +16 -0
- data/sig/openai/models/responses/response_item.rbs +211 -0
- data/sig/openai/models/responses/response_item_list.rbs +15 -0
- data/sig/openai/models/responses/response_local_environment.rbs +3 -0
- data/sig/openai/models/responses/response_mcp_call_arguments_delta_event.rbs +17 -0
- data/sig/openai/models/responses/response_mcp_call_arguments_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_mcp_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_call_failed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_list_tools_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_list_tools_failed_event.rbs +12 -0
- data/sig/openai/models/responses/response_mcp_list_tools_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_output_audio.rbs +9 -0
- data/sig/openai/models/responses/response_output_item.rbs +211 -0
- data/sig/openai/models/responses/response_output_item_added_event.rbs +18 -0
- data/sig/openai/models/responses/response_output_item_done_event.rbs +12 -0
- data/sig/openai/models/responses/response_output_message.rbs +26 -0
- data/sig/openai/models/responses/response_output_refusal.rbs +6 -0
- data/sig/openai/models/responses/response_output_text.rbs +63 -0
- data/sig/openai/models/responses/response_output_text_annotation_added_event.rbs +75 -0
- data/sig/openai/models/responses/response_prompt.rbs +13 -0
- data/sig/openai/models/responses/response_queued_event.rbs +9 -0
- data/sig/openai/models/responses/response_reasoning_item.rbs +49 -0
- data/sig/openai/models/responses/response_reasoning_summary_part_added_event.rbs +24 -0
- data/sig/openai/models/responses/response_reasoning_summary_part_done_event.rbs +31 -0
- data/sig/openai/models/responses/response_reasoning_summary_text_delta_event.rbs +18 -0
- data/sig/openai/models/responses/response_reasoning_summary_text_done_event.rbs +18 -0
- data/sig/openai/models/responses/response_reasoning_text_delta_event.rbs +18 -0
- data/sig/openai/models/responses/response_reasoning_text_done_event.rbs +18 -0
- data/sig/openai/models/responses/response_refusal_delta_event.rbs +18 -0
- data/sig/openai/models/responses/response_refusal_done_event.rbs +18 -0
- data/sig/openai/models/responses/response_retrieve_params.rbs +30 -0
- data/sig/openai/models/responses/response_shell_call_command_added_event.rbs +15 -0
- data/sig/openai/models/responses/response_shell_call_command_delta_event.rbs +19 -0
- data/sig/openai/models/responses/response_shell_call_command_done_event.rbs +15 -0
- data/sig/openai/models/responses/response_shell_call_output_content_delta_event.rbs +26 -0
- data/sig/openai/models/responses/response_shell_call_output_content_done_event.rbs +42 -0
- data/sig/openai/models/responses/response_steer_accepted_event.rbs +22 -0
- data/sig/openai/models/responses/response_steer_event.rbs +25 -0
- data/sig/openai/models/responses/response_steer_failed_event.rbs +78 -0
- data/sig/openai/models/responses/response_steer_input.rbs +52 -0
- data/sig/openai/models/responses/response_steer_pending_event.rbs +42 -0
- data/sig/openai/models/responses/response_text_config.rbs +49 -0
- data/sig/openai/models/responses/response_text_delta_event.rbs +39 -0
- data/sig/openai/models/responses/response_text_done_event.rbs +39 -0
- data/sig/openai/models/responses/response_tool_search_call.rbs +22 -0
- data/sig/openai/models/responses/response_tool_search_output_item.rbs +22 -0
- data/sig/openai/models/responses/response_tool_search_output_item_param.rbs +19 -0
- data/sig/openai/models/responses/response_usage.rbs +26 -0
- data/sig/openai/models/responses/response_web_search_call_completed_event.rbs +12 -0
- data/sig/openai/models/responses/response_web_search_call_in_progress_event.rbs +12 -0
- data/sig/openai/models/responses/response_web_search_call_searching_event.rbs +12 -0
- data/sig/openai/models/responses/responses_client_event.rbs +571 -0
- data/sig/openai/models/responses/responses_server_event.rbs +1010 -0
- data/sig/openai/models/responses/skill_reference.rbs +10 -0
- data/sig/openai/models/responses/tool.rbs +347 -0
- data/sig/openai/models/responses/tool_choice_allowed.rbs +39 -0
- data/sig/openai/models/responses/tool_choice_apply_patch.rbs +3 -0
- data/sig/openai/models/responses/tool_choice_custom.rbs +6 -0
- data/sig/openai/models/responses/tool_choice_function.rbs +6 -0
- data/sig/openai/models/responses/tool_choice_mcp.rbs +9 -0
- data/sig/openai/models/responses/tool_choice_shell.rbs +3 -0
- data/sig/openai/models/responses/tool_choice_types.rbs +25 -0
- data/sig/openai/models/responses/tool_search_tool.rbs +13 -0
- data/sig/openai/models/responses/web_search_preview_tool.rbs +34 -0
- data/sig/openai/models/responses/web_search_tool.rbs +55 -0
- data/sig/openai/models/safety/alert_retrieve_params.rbs +3 -0
- data/sig/openai/models/safety/case_retrieve_params.rbs +25 -0
- data/sig/openai/models/safety/safety_alert.rbs +10 -0
- data/sig/openai/models/safety/safety_case.rbs +75 -0
- data/sig/openai/models/skill.rbs +21 -0
- data/sig/openai/models/skill_create_params.rbs +16 -0
- data/sig/openai/models/skill_list.rbs +15 -0
- data/sig/openai/models/skill_list_params.rbs +15 -0
- data/sig/openai/models/skill_update_params.rbs +3 -0
- data/sig/openai/models/skills/deleted_skill_version.rbs +3 -0
- data/sig/openai/models/skills/skill_version.rbs +21 -0
- data/sig/openai/models/skills/skill_version_list.rbs +15 -0
- data/sig/openai/models/skills/version_create_params.rbs +20 -0
- data/sig/openai/models/skills/version_delete_params.rbs +3 -0
- data/sig/openai/models/skills/version_list_params.rbs +12 -0
- data/sig/openai/models/skills/version_retrieve_params.rbs +3 -0
- data/sig/openai/models/skills/versions/content_retrieve_params.rbs +3 -0
- data/sig/openai/models/static_file_chunking_strategy.rbs +12 -0
- data/sig/openai/models/static_file_chunking_strategy_object.rbs +3 -0
- data/sig/openai/models/static_file_chunking_strategy_object_param.rbs +3 -0
- data/sig/openai/models/upload.rbs +31 -0
- data/sig/openai/models/upload_complete_params.rbs +10 -0
- data/sig/openai/models/upload_create_params.rbs +41 -0
- data/sig/openai/models/uploads/part_create_params.rbs +11 -0
- data/sig/openai/models/uploads/upload_part.rbs +12 -0
- data/sig/openai/models/vector_store.rbs +68 -0
- data/sig/openai/models/vector_store_create_params.rbs +53 -0
- data/sig/openai/models/vector_store_list_params.rbs +40 -0
- data/sig/openai/models/vector_store_search_params.rbs +26 -0
- data/sig/openai/models/vector_store_search_response.rbs +29 -0
- data/sig/openai/models/vector_store_update_params.rbs +27 -0
- data/sig/openai/models/vector_stores/file_batch_create_params.rbs +85 -0
- data/sig/openai/models/vector_stores/file_batch_list_files_params.rbs +44 -0
- data/sig/openai/models/vector_stores/file_content_response.rbs +8 -0
- data/sig/openai/models/vector_stores/file_create_params.rbs +29 -0
- data/sig/openai/models/vector_stores/file_list_params.rbs +44 -0
- data/sig/openai/models/vector_stores/file_update_params.rbs +11 -0
- data/sig/openai/models/vector_stores/vector_store_file.rbs +56 -0
- data/sig/openai/models/vector_stores/vector_store_file_batch.rbs +40 -0
- data/sig/openai/models/video.rbs +41 -0
- data/sig/openai/models/video_create_character_params.rbs +14 -0
- data/sig/openai/models/video_create_character_response.rbs +9 -0
- data/sig/openai/models/video_create_error.rbs +21 -0
- data/sig/openai/models/video_create_params.rbs +37 -0
- data/sig/openai/models/video_delete_response.rbs +9 -0
- data/sig/openai/models/video_download_content_params.rbs +4 -0
- data/sig/openai/models/video_edit_params.rbs +17 -0
- data/sig/openai/models/video_extend_params.rbs +22 -0
- data/sig/openai/models/video_get_character_response.rbs +9 -0
- data/sig/openai/models/video_list_params.rbs +15 -0
- data/sig/openai/models/video_remix_params.rbs +3 -0
- data/sig/openai/models/webhooks/batch_cancelled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/batch_completed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/batch_expired_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/batch_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/deleted_webhook_endpoint.rbs +9 -0
- data/sig/openai/models/webhooks/eval_run_canceled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/eval_run_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/eval_run_succeeded_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/fine_tuning_job_cancelled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/fine_tuning_job_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/fine_tuning_job_succeeded_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/live_call_incoming_webhook_event.rbs +72 -3
- data/sig/openai/models/webhooks/live_transport_incoming_webhook_event.rbs +72 -2
- data/sig/openai/models/webhooks/realtime_call_incoming_webhook_event.rbs +72 -3
- data/sig/openai/models/webhooks/response_cancelled_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/response_completed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/response_failed_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/response_incomplete_webhook_event.rbs +19 -0
- data/sig/openai/models/webhooks/safety_alert_created_webhook_event.rbs +15 -0
- data/sig/openai/models/webhooks/safety_deactivation_issued_webhook_event.rbs +67 -0
- data/sig/openai/models/webhooks/safety_org_alert_created_webhook_event.rbs +15 -0
- data/sig/openai/models/webhooks/safety_warning_issued_webhook_event.rbs +67 -0
- data/sig/openai/models/webhooks/unwrap_webhook_event.rbs +2 -0
- data/sig/openai/models/webhooks/webhook_create_params.rbs +9 -0
- data/sig/openai/models/webhooks/webhook_endpoint.rbs +28 -0
- data/sig/openai/models/webhooks/webhook_endpoint_list.rbs +15 -0
- data/sig/openai/models/webhooks/webhook_endpoint_test_result.rbs +17 -0
- data/sig/openai/models/webhooks/webhook_endpoint_with_secret.rbs +33 -0
- data/sig/openai/models/webhooks/webhook_event_type_list.rbs +6 -0
- data/sig/openai/models/webhooks/webhook_list_params.rbs +7 -0
- data/sig/openai/models/webhooks/webhook_rotate_secret_params.rbs +7 -0
- data/sig/openai/models/webhooks/webhook_test_params.rbs +3 -0
- data/sig/openai/models/webhooks/webhook_update_params.rbs +12 -0
- data/sig/openai/resources/admin/organization/external_storage.rbs +40 -0
- data/sig/openai/resources/admin/organization.rbs +2 -0
- data/sig/openai/resources/safety/cases.rbs +14 -0
- data/sig/openai/resources/safety.rbs +2 -0
- data/sig/openai/resources/webhooks.rbs +3 -1
- metadata +55 -1
|
@@ -43,98 +43,476 @@ module OpenAI
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class BetaResponse < OpenAI::Internal::Type::BaseModel
|
|
46
|
+
# Unique identifier for this Response.
|
|
46
47
|
attr_accessor id: String
|
|
47
48
|
|
|
49
|
+
# Unix timestamp (in seconds) of when this Response was created.
|
|
48
50
|
attr_accessor created_at: Float
|
|
49
51
|
|
|
52
|
+
# An error object returned when the model fails to generate a Response.
|
|
50
53
|
attr_accessor error: OpenAI::Beta::BetaResponseError?
|
|
51
54
|
|
|
55
|
+
# Details about why the response is incomplete.
|
|
52
56
|
attr_accessor incomplete_details: OpenAI::Beta::BetaResponse::IncompleteDetails?
|
|
53
57
|
|
|
58
|
+
# A system (or developer) message inserted into the model's context.
|
|
59
|
+
#
|
|
60
|
+
# When using along with `previous_response_id`, the instructions from a previous
|
|
61
|
+
# response will not be carried over to the next response. This makes it simple to
|
|
62
|
+
# swap out system (or developer) messages in new responses.
|
|
54
63
|
attr_accessor instructions: OpenAI::Models::Beta::BetaResponse::instructions?
|
|
55
64
|
|
|
65
|
+
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
66
|
+
# for storing additional information about the object in a structured format, and
|
|
67
|
+
# querying for objects via API or the dashboard.
|
|
68
|
+
#
|
|
69
|
+
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
70
|
+
# a maximum length of 512 characters.
|
|
56
71
|
attr_accessor metadata: ::Hash[Symbol, String]?
|
|
57
72
|
|
|
73
|
+
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
|
|
74
|
+
# range of models with different capabilities, performance characteristics, and
|
|
75
|
+
# price points. Refer to the
|
|
76
|
+
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
77
|
+
# compare available models.
|
|
58
78
|
attr_accessor model: OpenAI::Models::Beta::BetaResponse::model
|
|
59
79
|
|
|
80
|
+
# The object type of this resource - always set to `response`.
|
|
60
81
|
attr_accessor object: :response
|
|
61
82
|
|
|
83
|
+
# An array of content items generated by the model.
|
|
84
|
+
#
|
|
85
|
+
# - The length and order of items in the `output` array is dependent on the
|
|
86
|
+
# model's response.
|
|
87
|
+
# - Rather than accessing the first item in the `output` array and assuming it's
|
|
88
|
+
# an `assistant` message with the content generated by the model, you might
|
|
89
|
+
# consider using the `output_text` property where supported in SDKs.
|
|
62
90
|
attr_accessor output: ::Array[OpenAI::Models::Beta::beta_response_output_item]
|
|
63
91
|
|
|
92
|
+
# Whether to allow the model to run tool calls in parallel.
|
|
64
93
|
attr_accessor parallel_tool_calls: bool
|
|
65
94
|
|
|
95
|
+
# What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
|
|
96
|
+
# make the output more random, while lower values like 0.2 will make it more
|
|
97
|
+
# focused and deterministic. We generally recommend altering this or `top_p` but
|
|
98
|
+
# not both.
|
|
66
99
|
attr_accessor temperature: Float?
|
|
67
100
|
|
|
101
|
+
# How the model should select which tool (or tools) to use when generating a
|
|
102
|
+
# response. See the `tools` parameter to see how to specify which tools the model
|
|
103
|
+
# can call.
|
|
68
104
|
attr_accessor tool_choice: OpenAI::Models::Beta::BetaResponse::tool_choice
|
|
69
105
|
|
|
106
|
+
# An array of tools the model may call while generating a response. You can
|
|
107
|
+
# specify which tool to use by setting the `tool_choice` parameter.
|
|
108
|
+
#
|
|
109
|
+
# We support the following categories of tools:
|
|
110
|
+
#
|
|
111
|
+
# - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
|
112
|
+
# capabilities, like
|
|
113
|
+
# [web search](https://developers.openai.com/api/docs/guides/tools-web-search)
|
|
114
|
+
# or
|
|
115
|
+
# [file search](https://developers.openai.com/api/docs/guides/tools-file-search).
|
|
116
|
+
# Learn more about
|
|
117
|
+
# [built-in tools](https://developers.openai.com/api/docs/guides/tools).
|
|
118
|
+
# - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
|
|
119
|
+
# predefined connectors such as Google Drive and SharePoint. Learn more about
|
|
120
|
+
# [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).
|
|
121
|
+
# - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
|
122
|
+
# the model to call your own code with strongly typed arguments and outputs.
|
|
123
|
+
# Learn more about
|
|
124
|
+
# [function calling](https://developers.openai.com/api/docs/guides/function-calling).
|
|
125
|
+
# You can also use custom tools to call your own code.
|
|
70
126
|
attr_accessor tools: ::Array[OpenAI::Models::Beta::beta_tool]
|
|
71
127
|
|
|
128
|
+
# An alternative to sampling with temperature, called nucleus sampling, where the
|
|
129
|
+
# model considers the results of the tokens with top_p probability mass. So 0.1
|
|
130
|
+
# means only the tokens comprising the top 10% probability mass are considered.
|
|
131
|
+
#
|
|
132
|
+
# We generally recommend altering this or `temperature` but not both.
|
|
72
133
|
attr_accessor top_p: Float?
|
|
73
134
|
|
|
135
|
+
# Whether to run the model response in the background.
|
|
136
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/background).
|
|
74
137
|
attr_accessor background: bool?
|
|
75
138
|
|
|
139
|
+
# Unix timestamp (in seconds) of when this Response was completed. Only present
|
|
140
|
+
# when the status is `completed`.
|
|
76
141
|
attr_accessor completed_at: Float?
|
|
77
142
|
|
|
143
|
+
# The conversation that this response belonged to. Input items and output items
|
|
144
|
+
# from this response were automatically added to this conversation.
|
|
78
145
|
attr_accessor conversation: OpenAI::Beta::BetaResponse::Conversation?
|
|
79
146
|
|
|
147
|
+
# An upper bound for the number of tokens that can be generated for a response,
|
|
148
|
+
# including visible output tokens and
|
|
149
|
+
# [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).
|
|
80
150
|
attr_accessor max_output_tokens: Integer?
|
|
81
151
|
|
|
152
|
+
# The maximum number of total calls to built-in tools that can be processed in a
|
|
153
|
+
# response. This maximum number applies across all built-in tool calls, not per
|
|
154
|
+
# individual tool. Any further attempts to call a tool by the model will be
|
|
155
|
+
# ignored.
|
|
82
156
|
attr_accessor max_tool_calls: Integer?
|
|
83
157
|
|
|
158
|
+
# Moderation results for the response input and output, if moderated completions
|
|
159
|
+
# were requested.
|
|
84
160
|
attr_accessor moderation: OpenAI::Beta::BetaResponse::Moderation?
|
|
85
161
|
|
|
162
|
+
# The unique ID of the previous response to the model. Use this to create
|
|
163
|
+
# multi-turn conversations. Learn more about
|
|
164
|
+
# [conversation state](https://developers.openai.com/api/docs/guides/conversation-state).
|
|
165
|
+
# Cannot be used in conjunction with `conversation`.
|
|
86
166
|
attr_accessor previous_response_id: String?
|
|
87
167
|
|
|
168
|
+
# Reference to a prompt template and its variables.
|
|
169
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).
|
|
88
170
|
attr_accessor prompt: OpenAI::Beta::BetaResponsePrompt?
|
|
89
171
|
|
|
172
|
+
# Prompt cache diagnostics requested for this response.
|
|
90
173
|
attr_reader prompt_cache_diagnostics: OpenAI::Models::Beta::BetaResponse::prompt_cache_diagnostics?
|
|
91
174
|
|
|
175
|
+
# Prompt cache diagnostics requested for this response.
|
|
92
176
|
def prompt_cache_diagnostics=: (
|
|
93
177
|
OpenAI::Models::Beta::BetaResponse::prompt_cache_diagnostics
|
|
94
178
|
) -> OpenAI::Models::Beta::BetaResponse::prompt_cache_diagnostics
|
|
95
179
|
|
|
180
|
+
# Used by OpenAI to cache responses for similar requests to optimize your cache
|
|
181
|
+
# hit rates. Replaces the `user` field.
|
|
182
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).
|
|
96
183
|
attr_accessor prompt_cache_key: String?
|
|
97
184
|
|
|
185
|
+
# The prompt-caching options that were applied to the response. Supported for
|
|
186
|
+
# `gpt-5.6` and later models.
|
|
98
187
|
attr_reader prompt_cache_options: OpenAI::Beta::BetaResponse::PromptCacheOptions?
|
|
99
188
|
|
|
189
|
+
# The prompt-caching options that were applied to the response. Supported for
|
|
190
|
+
# `gpt-5.6` and later models.
|
|
100
191
|
def prompt_cache_options=: (
|
|
101
192
|
OpenAI::Beta::BetaResponse::PromptCacheOptions
|
|
102
193
|
) -> OpenAI::Beta::BetaResponse::PromptCacheOptions
|
|
103
194
|
|
|
195
|
+
# Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
196
|
+
#
|
|
197
|
+
# The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
198
|
+
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
199
|
+
# of 24 hours.
|
|
200
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).
|
|
201
|
+
# This field expresses a maximum retention policy, while
|
|
202
|
+
# `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
203
|
+
# are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
204
|
+
# models, only `24h` is supported.
|
|
205
|
+
#
|
|
206
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
207
|
+
# your organization's data retention policy:
|
|
208
|
+
#
|
|
209
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
210
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
211
|
+
# `prompt_cache_retention` is not specified.
|
|
104
212
|
attr_accessor prompt_cache_retention: OpenAI::Models::Beta::BetaResponse::prompt_cache_retention?
|
|
105
213
|
|
|
214
|
+
# Configuration options for
|
|
215
|
+
# [reasoning models](https://developers.openai.com/api/docs/guides/reasoning).
|
|
106
216
|
attr_accessor reasoning: OpenAI::Beta::BetaResponse::Reasoning?
|
|
107
217
|
|
|
218
|
+
# A stable identifier used to help detect users of your application that may be
|
|
219
|
+
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
220
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
221
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
222
|
+
# identifying information.
|
|
223
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
108
224
|
attr_accessor safety_identifier: String?
|
|
109
225
|
|
|
226
|
+
# Specifies the processing type used for serving the request.
|
|
227
|
+
#
|
|
228
|
+
# - If set to 'auto', then the request will be processed with the service tier
|
|
229
|
+
# configured in the Project settings. Unless otherwise configured, the Project
|
|
230
|
+
# will use 'default'.
|
|
231
|
+
# - If set to 'default', then the request will be processed with the standard
|
|
232
|
+
# pricing and performance for the selected model.
|
|
233
|
+
# - If set to
|
|
234
|
+
# '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then
|
|
235
|
+
# the request will be processed with the Flex Processing service tier.
|
|
236
|
+
# - To opt-in to
|
|
237
|
+
# [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the
|
|
238
|
+
# request level, include the `service_tier=fast` or `service_tier=priority`
|
|
239
|
+
# parameter for Responses or Chat Completions. The response will show
|
|
240
|
+
# `service_tier=priority` regardless of if you specify `service_tier=fast` or
|
|
241
|
+
# `priority` in your request.
|
|
242
|
+
# - If set to 'ultrafast', then the request will be processed with the
|
|
243
|
+
# access-controlled Ultrafast Processing service tier. This tier is currently
|
|
244
|
+
# available for `gpt-5.6-sol`; a response served through it will show
|
|
245
|
+
# `service_tier=ultrafast`.
|
|
246
|
+
# - When not set, the default behavior is 'auto'.
|
|
247
|
+
#
|
|
248
|
+
# When the `service_tier` parameter is set, the response body will include the
|
|
249
|
+
# `service_tier` value based on the processing mode actually used to serve the
|
|
250
|
+
# request. This response value may be different from the value set in the
|
|
251
|
+
# parameter.
|
|
110
252
|
attr_accessor service_tier: OpenAI::Models::Beta::BetaResponse::service_tier?
|
|
111
253
|
|
|
254
|
+
# The status of the response generation. One of `completed`, `failed`,
|
|
255
|
+
# `in_progress`, `cancelled`, `queued`, or `incomplete`.
|
|
112
256
|
attr_reader status: OpenAI::Models::Beta::beta_response_status?
|
|
113
257
|
|
|
258
|
+
# The status of the response generation. One of `completed`, `failed`,
|
|
259
|
+
# `in_progress`, `cancelled`, `queued`, or `incomplete`.
|
|
114
260
|
def status=: (
|
|
115
261
|
OpenAI::Models::Beta::beta_response_status
|
|
116
262
|
) -> OpenAI::Models::Beta::beta_response_status
|
|
117
263
|
|
|
264
|
+
# Configuration options for a text response from the model. Can be plain text or
|
|
265
|
+
# structured JSON data. Learn more:
|
|
266
|
+
#
|
|
267
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
268
|
+
# - [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)
|
|
118
269
|
attr_reader text: OpenAI::Beta::BetaResponseTextConfig?
|
|
119
270
|
|
|
271
|
+
# Configuration options for a text response from the model. Can be plain text or
|
|
272
|
+
# structured JSON data. Learn more:
|
|
273
|
+
#
|
|
274
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
275
|
+
# - [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)
|
|
120
276
|
def text=: (
|
|
121
277
|
OpenAI::Beta::BetaResponseTextConfig
|
|
122
278
|
) -> OpenAI::Beta::BetaResponseTextConfig
|
|
123
279
|
|
|
280
|
+
# An integer between 0 and 20 specifying the maximum number of most likely tokens
|
|
281
|
+
# to return at each token position, each with an associated log probability. In
|
|
282
|
+
# some cases, the number of returned tokens may be fewer than requested.
|
|
124
283
|
attr_accessor top_logprobs: Integer?
|
|
125
284
|
|
|
285
|
+
# The truncation strategy to use for the model response.
|
|
286
|
+
#
|
|
287
|
+
# - `auto`: If the input to this Response exceeds the model's context window size,
|
|
288
|
+
# the model will truncate the response to fit the context window by dropping
|
|
289
|
+
# items from the beginning of the conversation.
|
|
290
|
+
# - `disabled` (default): If the input size will exceed the context window size
|
|
291
|
+
# for a model, the request will fail with a 400 error.
|
|
126
292
|
attr_accessor truncation: OpenAI::Models::Beta::BetaResponse::truncation?
|
|
127
293
|
|
|
294
|
+
# Represents token usage details including input tokens, output tokens, a
|
|
295
|
+
# breakdown of output tokens, and the total tokens used.
|
|
128
296
|
attr_reader usage: OpenAI::Beta::BetaResponseUsage?
|
|
129
297
|
|
|
298
|
+
# Represents token usage details including input tokens, output tokens, a
|
|
299
|
+
# breakdown of output tokens, and the total tokens used.
|
|
130
300
|
def usage=: (
|
|
131
301
|
OpenAI::Beta::BetaResponseUsage
|
|
132
302
|
) -> OpenAI::Beta::BetaResponseUsage
|
|
133
303
|
|
|
304
|
+
# This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use
|
|
305
|
+
# `prompt_cache_key` instead to maintain caching optimizations. A stable
|
|
306
|
+
# identifier for your end-users. Used to boost cache hit rates by better bucketing
|
|
307
|
+
# similar requests and to help OpenAI detect and prevent abuse.
|
|
308
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
134
309
|
attr_reader user: String?
|
|
135
310
|
|
|
311
|
+
# This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use
|
|
312
|
+
# `prompt_cache_key` instead to maintain caching optimizations. A stable
|
|
313
|
+
# identifier for your end-users. Used to boost cache hit rates by better bucketing
|
|
314
|
+
# similar requests and to help OpenAI detect and prevent abuse.
|
|
315
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
136
316
|
def user=: (String) -> String
|
|
137
317
|
|
|
318
|
+
# @param id
|
|
319
|
+
# Unique identifier for this Response.
|
|
320
|
+
# @param created_at
|
|
321
|
+
# Unix timestamp (in seconds) of when this Response was created.
|
|
322
|
+
# @param error
|
|
323
|
+
# An error object returned when the model fails to generate a Response.
|
|
324
|
+
# @param incomplete_details
|
|
325
|
+
# Details about why the response is incomplete.
|
|
326
|
+
# @param instructions
|
|
327
|
+
# A system (or developer) message inserted into the model's context.
|
|
328
|
+
#
|
|
329
|
+
# When using along with `previous_response_id`, the instructions from a previous
|
|
330
|
+
# response will not be carried over to the next response. This makes it simple to
|
|
331
|
+
# swap out system (or developer) messages in new responses.
|
|
332
|
+
# @param metadata
|
|
333
|
+
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
334
|
+
# for storing additional information about the object in a structured format, and
|
|
335
|
+
# querying for objects via API or the dashboard.
|
|
336
|
+
#
|
|
337
|
+
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
338
|
+
# a maximum length of 512 characters.
|
|
339
|
+
# @param model
|
|
340
|
+
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
|
|
341
|
+
# range of models with different capabilities, performance characteristics, and
|
|
342
|
+
# price points. Refer to the
|
|
343
|
+
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
344
|
+
# compare available models.
|
|
345
|
+
# @param output
|
|
346
|
+
# An array of content items generated by the model.
|
|
347
|
+
#
|
|
348
|
+
# - The length and order of items in the `output` array is dependent on the
|
|
349
|
+
# model's response.
|
|
350
|
+
# - Rather than accessing the first item in the `output` array and assuming it's
|
|
351
|
+
# an `assistant` message with the content generated by the model, you might
|
|
352
|
+
# consider using the `output_text` property where supported in SDKs.
|
|
353
|
+
# @param parallel_tool_calls
|
|
354
|
+
# Whether to allow the model to run tool calls in parallel.
|
|
355
|
+
# @param temperature
|
|
356
|
+
# What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
|
|
357
|
+
# make the output more random, while lower values like 0.2 will make it more
|
|
358
|
+
# focused and deterministic. We generally recommend altering this or `top_p` but
|
|
359
|
+
# not both.
|
|
360
|
+
# @param tool_choice
|
|
361
|
+
# How the model should select which tool (or tools) to use when generating a
|
|
362
|
+
# response. See the `tools` parameter to see how to specify which tools the model
|
|
363
|
+
# can call.
|
|
364
|
+
# @param tools
|
|
365
|
+
# An array of tools the model may call while generating a response. You can
|
|
366
|
+
# specify which tool to use by setting the `tool_choice` parameter.
|
|
367
|
+
#
|
|
368
|
+
# We support the following categories of tools:
|
|
369
|
+
#
|
|
370
|
+
# - **Built-in tools**: Tools that are provided by OpenAI that extend the model's
|
|
371
|
+
# capabilities, like
|
|
372
|
+
# [web search](https://developers.openai.com/api/docs/guides/tools-web-search)
|
|
373
|
+
# or
|
|
374
|
+
# [file search](https://developers.openai.com/api/docs/guides/tools-file-search).
|
|
375
|
+
# Learn more about
|
|
376
|
+
# [built-in tools](https://developers.openai.com/api/docs/guides/tools).
|
|
377
|
+
# - **MCP Tools**: Integrations with third-party systems via custom MCP servers or
|
|
378
|
+
# predefined connectors such as Google Drive and SharePoint. Learn more about
|
|
379
|
+
# [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).
|
|
380
|
+
# - **Function calls (custom tools)**: Functions that are defined by you, enabling
|
|
381
|
+
# the model to call your own code with strongly typed arguments and outputs.
|
|
382
|
+
# Learn more about
|
|
383
|
+
# [function calling](https://developers.openai.com/api/docs/guides/function-calling).
|
|
384
|
+
# You can also use custom tools to call your own code.
|
|
385
|
+
# @param top_p
|
|
386
|
+
# An alternative to sampling with temperature, called nucleus sampling, where the
|
|
387
|
+
# model considers the results of the tokens with top_p probability mass. So 0.1
|
|
388
|
+
# means only the tokens comprising the top 10% probability mass are considered.
|
|
389
|
+
#
|
|
390
|
+
# We generally recommend altering this or `temperature` but not both.
|
|
391
|
+
# @param background
|
|
392
|
+
# Whether to run the model response in the background.
|
|
393
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/background).
|
|
394
|
+
# @param completed_at
|
|
395
|
+
# Unix timestamp (in seconds) of when this Response was completed. Only present
|
|
396
|
+
# when the status is `completed`.
|
|
397
|
+
# @param conversation
|
|
398
|
+
# The conversation that this response belonged to. Input items and output items
|
|
399
|
+
# from this response were automatically added to this conversation.
|
|
400
|
+
# @param max_output_tokens
|
|
401
|
+
# An upper bound for the number of tokens that can be generated for a response,
|
|
402
|
+
# including visible output tokens and
|
|
403
|
+
# [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).
|
|
404
|
+
# @param max_tool_calls
|
|
405
|
+
# The maximum number of total calls to built-in tools that can be processed in a
|
|
406
|
+
# response. This maximum number applies across all built-in tool calls, not per
|
|
407
|
+
# individual tool. Any further attempts to call a tool by the model will be
|
|
408
|
+
# ignored.
|
|
409
|
+
# @param moderation
|
|
410
|
+
# Moderation results for the response input and output, if moderated completions
|
|
411
|
+
# were requested.
|
|
412
|
+
# @param previous_response_id
|
|
413
|
+
# The unique ID of the previous response to the model. Use this to create
|
|
414
|
+
# multi-turn conversations. Learn more about
|
|
415
|
+
# [conversation state](https://developers.openai.com/api/docs/guides/conversation-state).
|
|
416
|
+
# Cannot be used in conjunction with `conversation`.
|
|
417
|
+
# @param prompt
|
|
418
|
+
# Reference to a prompt template and its variables.
|
|
419
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).
|
|
420
|
+
# @param prompt_cache_diagnostics
|
|
421
|
+
# Prompt cache diagnostics requested for this response.
|
|
422
|
+
# @param prompt_cache_key
|
|
423
|
+
# Used by OpenAI to cache responses for similar requests to optimize your cache
|
|
424
|
+
# hit rates. Replaces the `user` field.
|
|
425
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).
|
|
426
|
+
# @param prompt_cache_options
|
|
427
|
+
# The prompt-caching options that were applied to the response. Supported for
|
|
428
|
+
# `gpt-5.6` and later models.
|
|
429
|
+
# @param prompt_cache_retention
|
|
430
|
+
# Deprecated. Use `prompt_cache_options.ttl` instead.
|
|
431
|
+
#
|
|
432
|
+
# The retention policy for the prompt cache. Set to `24h` to enable extended
|
|
433
|
+
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
434
|
+
# of 24 hours.
|
|
435
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).
|
|
436
|
+
# This field expresses a maximum retention policy, while
|
|
437
|
+
# `prompt_cache_options.ttl` expresses a minimum cache lifetime. The two fields
|
|
438
|
+
# are independent and do not interact. For `gpt-5.5`, `gpt-5.5-pro`, and future
|
|
439
|
+
# models, only `24h` is supported.
|
|
440
|
+
#
|
|
441
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
442
|
+
# your organization's data retention policy:
|
|
443
|
+
#
|
|
444
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
445
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
446
|
+
# `prompt_cache_retention` is not specified.
|
|
447
|
+
# @param reasoning
|
|
448
|
+
# Configuration options for
|
|
449
|
+
# [reasoning models](https://developers.openai.com/api/docs/guides/reasoning).
|
|
450
|
+
# @param safety_identifier
|
|
451
|
+
# A stable identifier used to help detect users of your application that may be
|
|
452
|
+
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
453
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
454
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
455
|
+
# identifying information.
|
|
456
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
457
|
+
# @param service_tier
|
|
458
|
+
# Specifies the processing type used for serving the request.
|
|
459
|
+
#
|
|
460
|
+
# - If set to 'auto', then the request will be processed with the service tier
|
|
461
|
+
# configured in the Project settings. Unless otherwise configured, the Project
|
|
462
|
+
# will use 'default'.
|
|
463
|
+
# - If set to 'default', then the request will be processed with the standard
|
|
464
|
+
# pricing and performance for the selected model.
|
|
465
|
+
# - If set to
|
|
466
|
+
# '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then
|
|
467
|
+
# the request will be processed with the Flex Processing service tier.
|
|
468
|
+
# - To opt-in to
|
|
469
|
+
# [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the
|
|
470
|
+
# request level, include the `service_tier=fast` or `service_tier=priority`
|
|
471
|
+
# parameter for Responses or Chat Completions. The response will show
|
|
472
|
+
# `service_tier=priority` regardless of if you specify `service_tier=fast` or
|
|
473
|
+
# `priority` in your request.
|
|
474
|
+
# - If set to 'ultrafast', then the request will be processed with the
|
|
475
|
+
# access-controlled Ultrafast Processing service tier. This tier is currently
|
|
476
|
+
# available for `gpt-5.6-sol`; a response served through it will show
|
|
477
|
+
# `service_tier=ultrafast`.
|
|
478
|
+
# - When not set, the default behavior is 'auto'.
|
|
479
|
+
#
|
|
480
|
+
# When the `service_tier` parameter is set, the response body will include the
|
|
481
|
+
# `service_tier` value based on the processing mode actually used to serve the
|
|
482
|
+
# request. This response value may be different from the value set in the
|
|
483
|
+
# parameter.
|
|
484
|
+
# @param status
|
|
485
|
+
# The status of the response generation. One of `completed`, `failed`,
|
|
486
|
+
# `in_progress`, `cancelled`, `queued`, or `incomplete`.
|
|
487
|
+
# @param text
|
|
488
|
+
# Configuration options for a text response from the model. Can be plain text or
|
|
489
|
+
# structured JSON data. Learn more:
|
|
490
|
+
#
|
|
491
|
+
# - [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)
|
|
492
|
+
# - [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)
|
|
493
|
+
# @param top_logprobs
|
|
494
|
+
# An integer between 0 and 20 specifying the maximum number of most likely tokens
|
|
495
|
+
# to return at each token position, each with an associated log probability. In
|
|
496
|
+
# some cases, the number of returned tokens may be fewer than requested.
|
|
497
|
+
# @param truncation
|
|
498
|
+
# The truncation strategy to use for the model response.
|
|
499
|
+
#
|
|
500
|
+
# - `auto`: If the input to this Response exceeds the model's context window size,
|
|
501
|
+
# the model will truncate the response to fit the context window by dropping
|
|
502
|
+
# items from the beginning of the conversation.
|
|
503
|
+
# - `disabled` (default): If the input size will exceed the context window size
|
|
504
|
+
# for a model, the request will fail with a 400 error.
|
|
505
|
+
# @param usage
|
|
506
|
+
# Represents token usage details including input tokens, output tokens, a
|
|
507
|
+
# breakdown of output tokens, and the total tokens used.
|
|
508
|
+
# @param user
|
|
509
|
+
# This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use
|
|
510
|
+
# `prompt_cache_key` instead to maintain caching optimizations. A stable
|
|
511
|
+
# identifier for your end-users. Used to boost cache hit rates by better bucketing
|
|
512
|
+
# similar requests and to help OpenAI detect and prevent abuse.
|
|
513
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
514
|
+
# @param object
|
|
515
|
+
# The object type of this resource - always set to `response`.
|
|
138
516
|
def initialize: (
|
|
139
517
|
id: String,
|
|
140
518
|
created_at: Float,
|
|
@@ -217,12 +595,22 @@ module OpenAI
|
|
|
217
595
|
}
|
|
218
596
|
|
|
219
597
|
class IncompleteDetails < OpenAI::Internal::Type::BaseModel
|
|
598
|
+
# The reason why the response is incomplete. `steered` means the response stopped
|
|
599
|
+
# at a safe output boundary after a WebSocket `response.steer` event. The server
|
|
600
|
+
# can then create a successor response automatically with the queued input.
|
|
220
601
|
attr_reader reason: OpenAI::Models::Beta::BetaResponse::IncompleteDetails::reason?
|
|
221
602
|
|
|
603
|
+
# The reason why the response is incomplete. `steered` means the response stopped
|
|
604
|
+
# at a safe output boundary after a WebSocket `response.steer` event. The server
|
|
605
|
+
# can then create a successor response automatically with the queued input.
|
|
222
606
|
def reason=: (
|
|
223
607
|
OpenAI::Models::Beta::BetaResponse::IncompleteDetails::reason
|
|
224
608
|
) -> OpenAI::Models::Beta::BetaResponse::IncompleteDetails::reason
|
|
225
609
|
|
|
610
|
+
# @param reason
|
|
611
|
+
# The reason why the response is incomplete. `steered` means the response stopped
|
|
612
|
+
# at a safe output boundary after a WebSocket `response.steer` event. The server
|
|
613
|
+
# can then create a successor response automatically with the queued input.
|
|
226
614
|
def initialize: (
|
|
227
615
|
?reason: OpenAI::Models::Beta::BetaResponse::IncompleteDetails::reason
|
|
228
616
|
) -> void
|
|
@@ -259,6 +647,8 @@ module OpenAI
|
|
|
259
647
|
|
|
260
648
|
type model =
|
|
261
649
|
:"gpt-6-astra"
|
|
650
|
+
| :"gpt-6-sol"
|
|
651
|
+
| :"gpt-6-luna"
|
|
262
652
|
| :"gpt-5.6-sol"
|
|
263
653
|
| :"gpt-5.6-terra"
|
|
264
654
|
| :"gpt-5.6-luna"
|
|
@@ -278,6 +668,7 @@ module OpenAI
|
|
|
278
668
|
| :"gpt-5.1"
|
|
279
669
|
| :"gpt-5.1-2025-11-13"
|
|
280
670
|
| :"gpt-5.1-codex"
|
|
671
|
+
| :"gpt-5.1-mini"
|
|
281
672
|
| :"gpt-5.1-chat-latest"
|
|
282
673
|
| :"gpt-5"
|
|
283
674
|
| :"gpt-5-mini"
|
|
@@ -343,7 +734,6 @@ module OpenAI
|
|
|
343
734
|
| :"gpt-3.5-turbo-1106"
|
|
344
735
|
| :"gpt-3.5-turbo-0125"
|
|
345
736
|
| :"gpt-3.5-turbo-16k-0613"
|
|
346
|
-
| :"gpt-5.1-mini"
|
|
347
737
|
| :"o1-pro"
|
|
348
738
|
| :"o1-pro-2025-03-19"
|
|
349
739
|
| :"o3-pro"
|
|
@@ -371,6 +761,8 @@ module OpenAI
|
|
|
371
761
|
def self?.variants: -> ::Array[OpenAI::Models::Beta::BetaResponse::model]
|
|
372
762
|
|
|
373
763
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
764
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
765
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
374
766
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
375
767
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
376
768
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -390,6 +782,7 @@ module OpenAI
|
|
|
390
782
|
GPT_5_1: :"gpt-5.1"
|
|
391
783
|
GPT_5_1_2025_11_13: :"gpt-5.1-2025-11-13"
|
|
392
784
|
GPT_5_1_CODEX: :"gpt-5.1-codex"
|
|
785
|
+
GPT_5_1_MINI: :"gpt-5.1-mini"
|
|
393
786
|
GPT_5_1_CHAT_LATEST: :"gpt-5.1-chat-latest"
|
|
394
787
|
GPT_5: :"gpt-5"
|
|
395
788
|
GPT_5_MINI: :"gpt-5-mini"
|
|
@@ -455,7 +848,6 @@ module OpenAI
|
|
|
455
848
|
GPT_3_5_TURBO_1106: :"gpt-3.5-turbo-1106"
|
|
456
849
|
GPT_3_5_TURBO_0125: :"gpt-3.5-turbo-0125"
|
|
457
850
|
GPT_3_5_TURBO_16K_0613: :"gpt-3.5-turbo-16k-0613"
|
|
458
|
-
GPT_5_1_MINI: :"gpt-5.1-mini"
|
|
459
851
|
O1_PRO: :"o1-pro"
|
|
460
852
|
O1_PRO_2025_03_19: :"o1-pro-2025-03-19"
|
|
461
853
|
O3_PRO: :"o3-pro"
|
|
@@ -495,8 +887,11 @@ module OpenAI
|
|
|
495
887
|
{ ?type: :programmatic_tool_calling }
|
|
496
888
|
|
|
497
889
|
class BetaSpecificProgrammaticToolCallingParam < OpenAI::Internal::Type::BaseModel
|
|
890
|
+
# The tool to call. Always `programmatic_tool_calling`.
|
|
498
891
|
attr_accessor type: :programmatic_tool_calling
|
|
499
892
|
|
|
893
|
+
# @param type
|
|
894
|
+
# The tool to call. Always `programmatic_tool_calling`.
|
|
500
895
|
def initialize: (?type: :programmatic_tool_calling) -> void
|
|
501
896
|
|
|
502
897
|
def to_hash: -> { ?type: :programmatic_tool_calling }
|
|
@@ -508,8 +903,11 @@ module OpenAI
|
|
|
508
903
|
type conversation = { id: String }
|
|
509
904
|
|
|
510
905
|
class Conversation < OpenAI::Internal::Type::BaseModel
|
|
906
|
+
# The unique ID of the conversation that this response was associated with.
|
|
511
907
|
attr_accessor id: String
|
|
512
908
|
|
|
909
|
+
# @param id
|
|
910
|
+
# The unique ID of the conversation that this response was associated with.
|
|
513
911
|
def initialize: (id: String) -> void
|
|
514
912
|
|
|
515
913
|
def to_hash: -> { id: String }
|
|
@@ -522,10 +920,16 @@ module OpenAI
|
|
|
522
920
|
}
|
|
523
921
|
|
|
524
922
|
class Moderation < OpenAI::Internal::Type::BaseModel
|
|
923
|
+
# Moderation for the response input.
|
|
525
924
|
attr_accessor input: OpenAI::Models::Beta::BetaResponse::Moderation::input
|
|
526
925
|
|
|
926
|
+
# Moderation for the response output.
|
|
527
927
|
attr_accessor output: OpenAI::Models::Beta::BetaResponse::Moderation::output
|
|
528
928
|
|
|
929
|
+
# @param input
|
|
930
|
+
# Moderation for the response input.
|
|
931
|
+
# @param output
|
|
932
|
+
# Moderation for the response output.
|
|
529
933
|
def initialize: (
|
|
530
934
|
input: OpenAI::Models::Beta::BetaResponse::Moderation::input,
|
|
531
935
|
output: OpenAI::Models::Beta::BetaResponse::Moderation::output
|
|
@@ -554,18 +958,40 @@ module OpenAI
|
|
|
554
958
|
}
|
|
555
959
|
|
|
556
960
|
class ModerationResult < OpenAI::Internal::Type::BaseModel
|
|
961
|
+
# A dictionary of moderation categories to booleans, True if the input is flagged
|
|
962
|
+
# under this category.
|
|
557
963
|
attr_accessor categories: ::Hash[Symbol, bool]
|
|
558
964
|
|
|
965
|
+
# Which modalities of input are reflected by the score for each category.
|
|
559
966
|
attr_accessor category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Beta::BetaResponse::Moderation::Input::ModerationResult::category_applied_input_type]]
|
|
560
967
|
|
|
968
|
+
# A dictionary of moderation categories to scores.
|
|
561
969
|
attr_accessor category_scores: ::Hash[Symbol, Float]
|
|
562
970
|
|
|
971
|
+
# A boolean indicating whether the content was flagged by any category.
|
|
563
972
|
attr_accessor flagged: bool
|
|
564
973
|
|
|
974
|
+
# The moderation model that produced this result.
|
|
565
975
|
attr_accessor model: String
|
|
566
976
|
|
|
977
|
+
# The object type, which was always `moderation_result` for successful moderation
|
|
978
|
+
# results.
|
|
567
979
|
attr_accessor type: :moderation_result
|
|
568
980
|
|
|
981
|
+
# @param categories
|
|
982
|
+
# A dictionary of moderation categories to booleans, True if the input is flagged
|
|
983
|
+
# under this category.
|
|
984
|
+
# @param category_applied_input_types
|
|
985
|
+
# Which modalities of input are reflected by the score for each category.
|
|
986
|
+
# @param category_scores
|
|
987
|
+
# A dictionary of moderation categories to scores.
|
|
988
|
+
# @param flagged
|
|
989
|
+
# A boolean indicating whether the content was flagged by any category.
|
|
990
|
+
# @param model
|
|
991
|
+
# The moderation model that produced this result.
|
|
992
|
+
# @param type
|
|
993
|
+
# The object type, which was always `moderation_result` for successful moderation
|
|
994
|
+
# results.
|
|
569
995
|
def initialize: (
|
|
570
996
|
categories: ::Hash[Symbol, bool],
|
|
571
997
|
category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Beta::BetaResponse::Moderation::Input::ModerationResult::category_applied_input_type]],
|
|
@@ -599,12 +1025,21 @@ module OpenAI
|
|
|
599
1025
|
type error = { code: String, message: String, ?type: :error }
|
|
600
1026
|
|
|
601
1027
|
class Error < OpenAI::Internal::Type::BaseModel
|
|
1028
|
+
# The error code.
|
|
602
1029
|
attr_accessor code: String
|
|
603
1030
|
|
|
1031
|
+
# The error message.
|
|
604
1032
|
attr_accessor message: String
|
|
605
1033
|
|
|
1034
|
+
# The object type, which was always `error` for moderation failures.
|
|
606
1035
|
attr_accessor type: :error
|
|
607
1036
|
|
|
1037
|
+
# @param code
|
|
1038
|
+
# The error code.
|
|
1039
|
+
# @param message
|
|
1040
|
+
# The error message.
|
|
1041
|
+
# @param type
|
|
1042
|
+
# The object type, which was always `error` for moderation failures.
|
|
608
1043
|
def initialize: (
|
|
609
1044
|
code: String,
|
|
610
1045
|
message: String,
|
|
@@ -635,18 +1070,40 @@ module OpenAI
|
|
|
635
1070
|
}
|
|
636
1071
|
|
|
637
1072
|
class ModerationResult < OpenAI::Internal::Type::BaseModel
|
|
1073
|
+
# A dictionary of moderation categories to booleans, True if the input is flagged
|
|
1074
|
+
# under this category.
|
|
638
1075
|
attr_accessor categories: ::Hash[Symbol, bool]
|
|
639
1076
|
|
|
1077
|
+
# Which modalities of input are reflected by the score for each category.
|
|
640
1078
|
attr_accessor category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Beta::BetaResponse::Moderation::Output::ModerationResult::category_applied_input_type]]
|
|
641
1079
|
|
|
1080
|
+
# A dictionary of moderation categories to scores.
|
|
642
1081
|
attr_accessor category_scores: ::Hash[Symbol, Float]
|
|
643
1082
|
|
|
1083
|
+
# A boolean indicating whether the content was flagged by any category.
|
|
644
1084
|
attr_accessor flagged: bool
|
|
645
1085
|
|
|
1086
|
+
# The moderation model that produced this result.
|
|
646
1087
|
attr_accessor model: String
|
|
647
1088
|
|
|
1089
|
+
# The object type, which was always `moderation_result` for successful moderation
|
|
1090
|
+
# results.
|
|
648
1091
|
attr_accessor type: :moderation_result
|
|
649
1092
|
|
|
1093
|
+
# @param categories
|
|
1094
|
+
# A dictionary of moderation categories to booleans, True if the input is flagged
|
|
1095
|
+
# under this category.
|
|
1096
|
+
# @param category_applied_input_types
|
|
1097
|
+
# Which modalities of input are reflected by the score for each category.
|
|
1098
|
+
# @param category_scores
|
|
1099
|
+
# A dictionary of moderation categories to scores.
|
|
1100
|
+
# @param flagged
|
|
1101
|
+
# A boolean indicating whether the content was flagged by any category.
|
|
1102
|
+
# @param model
|
|
1103
|
+
# The moderation model that produced this result.
|
|
1104
|
+
# @param type
|
|
1105
|
+
# The object type, which was always `moderation_result` for successful moderation
|
|
1106
|
+
# results.
|
|
650
1107
|
def initialize: (
|
|
651
1108
|
categories: ::Hash[Symbol, bool],
|
|
652
1109
|
category_applied_input_types: ::Hash[Symbol, ::Array[OpenAI::Models::Beta::BetaResponse::Moderation::Output::ModerationResult::category_applied_input_type]],
|
|
@@ -680,12 +1137,21 @@ module OpenAI
|
|
|
680
1137
|
type error = { code: String, message: String, ?type: :error }
|
|
681
1138
|
|
|
682
1139
|
class Error < OpenAI::Internal::Type::BaseModel
|
|
1140
|
+
# The error code.
|
|
683
1141
|
attr_accessor code: String
|
|
684
1142
|
|
|
1143
|
+
# The error message.
|
|
685
1144
|
attr_accessor message: String
|
|
686
1145
|
|
|
1146
|
+
# The object type, which was always `error` for moderation failures.
|
|
687
1147
|
attr_accessor type: :error
|
|
688
1148
|
|
|
1149
|
+
# @param code
|
|
1150
|
+
# The error code.
|
|
1151
|
+
# @param message
|
|
1152
|
+
# The error message.
|
|
1153
|
+
# @param type
|
|
1154
|
+
# The object type, which was always `error` for moderation failures.
|
|
689
1155
|
def initialize: (
|
|
690
1156
|
code: String,
|
|
691
1157
|
message: String,
|
|
@@ -717,16 +1183,28 @@ module OpenAI
|
|
|
717
1183
|
}
|
|
718
1184
|
|
|
719
1185
|
class CacheMiss < OpenAI::Internal::Type::BaseModel
|
|
1186
|
+
# The estimated number of input tokens affected after the first detected
|
|
1187
|
+
# divergence.
|
|
720
1188
|
attr_accessor cache_missed_tokens: Integer
|
|
721
1189
|
|
|
1190
|
+
# The reason prompt cache reuse did not occur.
|
|
722
1191
|
attr_accessor reason: OpenAI::Models::Beta::BetaResponse::PromptCacheDiagnostics::CacheMiss::reason
|
|
723
1192
|
|
|
724
1193
|
attr_accessor type: :cache_miss
|
|
725
1194
|
|
|
1195
|
+
# The raw token count of the reusable prefix in the compared response.
|
|
726
1196
|
attr_reader comparison_reusable_tokens: Integer?
|
|
727
1197
|
|
|
1198
|
+
# The raw token count of the reusable prefix in the compared response.
|
|
728
1199
|
def comparison_reusable_tokens=: (Integer) -> Integer
|
|
729
1200
|
|
|
1201
|
+
# @param cache_missed_tokens
|
|
1202
|
+
# The estimated number of input tokens affected after the first detected
|
|
1203
|
+
# divergence.
|
|
1204
|
+
# @param reason
|
|
1205
|
+
# The reason prompt cache reuse did not occur.
|
|
1206
|
+
# @param comparison_reusable_tokens
|
|
1207
|
+
# The raw token count of the reusable prefix in the compared response.
|
|
730
1208
|
def initialize: (
|
|
731
1209
|
cache_missed_tokens: Integer,
|
|
732
1210
|
reason: OpenAI::Models::Beta::BetaResponse::PromptCacheDiagnostics::CacheMiss::reason,
|
|
@@ -811,12 +1289,21 @@ module OpenAI
|
|
|
811
1289
|
}
|
|
812
1290
|
|
|
813
1291
|
class PromptCacheOptions < OpenAI::Internal::Type::BaseModel
|
|
1292
|
+
# Whether implicit prompt-cache breakpoints were enabled.
|
|
814
1293
|
attr_accessor mode: OpenAI::Models::Beta::BetaResponse::PromptCacheOptions::mode
|
|
815
1294
|
|
|
1295
|
+
# The minimum lifetime applied to each cache breakpoint.
|
|
816
1296
|
attr_accessor ttl: OpenAI::Models::Beta::BetaResponse::PromptCacheOptions::ttl
|
|
817
1297
|
|
|
1298
|
+
# The response ID supplied as the prompt cache diagnostics comparison.
|
|
818
1299
|
attr_accessor comparison_response_id: String?
|
|
819
1300
|
|
|
1301
|
+
# @param mode
|
|
1302
|
+
# Whether implicit prompt-cache breakpoints were enabled.
|
|
1303
|
+
# @param ttl
|
|
1304
|
+
# The minimum lifetime applied to each cache breakpoint.
|
|
1305
|
+
# @param comparison_response_id
|
|
1306
|
+
# The response ID supplied as the prompt cache diagnostics comparison.
|
|
820
1307
|
def initialize: (
|
|
821
1308
|
mode: OpenAI::Models::Beta::BetaResponse::PromptCacheOptions::mode,
|
|
822
1309
|
ttl: OpenAI::Models::Beta::BetaResponse::PromptCacheOptions::ttl,
|
|
@@ -872,20 +1359,80 @@ module OpenAI
|
|
|
872
1359
|
}
|
|
873
1360
|
|
|
874
1361
|
class Reasoning < OpenAI::Internal::Type::BaseModel
|
|
1362
|
+
# Controls which reasoning items are rendered back to the model on later turns. If
|
|
1363
|
+
# omitted or set to `auto`, the model determines the context mode. The `gpt-5.6`
|
|
1364
|
+
# model family defaults to `all_turns`; earlier models default to `current_turn`.
|
|
1365
|
+
#
|
|
1366
|
+
# When returned on a response, this is the effective reasoning context mode used
|
|
1367
|
+
# for the response.
|
|
875
1368
|
attr_accessor context: OpenAI::Models::Beta::BetaResponse::Reasoning::context?
|
|
876
1369
|
|
|
1370
|
+
# Constrains effort on reasoning for reasoning models. Currently supported values
|
|
1371
|
+
# are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
1372
|
+
# reasoning effort can result in faster responses and fewer tokens used on
|
|
1373
|
+
# reasoning in a response. Not all reasoning models support every value. See the
|
|
1374
|
+
# [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning) for
|
|
1375
|
+
# model-specific support.
|
|
877
1376
|
attr_accessor effort: OpenAI::Models::Beta::BetaResponse::Reasoning::effort?
|
|
878
1377
|
|
|
1378
|
+
# **Deprecated:** use `summary` instead.
|
|
1379
|
+
#
|
|
1380
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1381
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1382
|
+
# `concise`, or `detailed`.
|
|
879
1383
|
attr_accessor generate_summary: OpenAI::Models::Beta::BetaResponse::Reasoning::generate_summary?
|
|
880
1384
|
|
|
1385
|
+
# Controls the reasoning execution mode for the request.
|
|
1386
|
+
#
|
|
1387
|
+
# When returned on a response, this is the effective execution mode.
|
|
881
1388
|
attr_reader mode: OpenAI::Models::Beta::BetaResponse::Reasoning::mode?
|
|
882
1389
|
|
|
1390
|
+
# Controls the reasoning execution mode for the request.
|
|
1391
|
+
#
|
|
1392
|
+
# When returned on a response, this is the effective execution mode.
|
|
883
1393
|
def mode=: (
|
|
884
1394
|
OpenAI::Models::Beta::BetaResponse::Reasoning::mode
|
|
885
1395
|
) -> OpenAI::Models::Beta::BetaResponse::Reasoning::mode
|
|
886
1396
|
|
|
1397
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1398
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1399
|
+
# `concise`, or `detailed`.
|
|
1400
|
+
#
|
|
1401
|
+
# `concise` is supported for `computer-use-preview` models and all reasoning
|
|
1402
|
+
# models after `gpt-5`.
|
|
887
1403
|
attr_accessor summary: OpenAI::Models::Beta::BetaResponse::Reasoning::summary?
|
|
888
1404
|
|
|
1405
|
+
# @param context
|
|
1406
|
+
# Controls which reasoning items are rendered back to the model on later turns. If
|
|
1407
|
+
# omitted or set to `auto`, the model determines the context mode. The `gpt-5.6`
|
|
1408
|
+
# model family defaults to `all_turns`; earlier models default to `current_turn`.
|
|
1409
|
+
#
|
|
1410
|
+
# When returned on a response, this is the effective reasoning context mode used
|
|
1411
|
+
# for the response.
|
|
1412
|
+
# @param effort
|
|
1413
|
+
# Constrains effort on reasoning for reasoning models. Currently supported values
|
|
1414
|
+
# are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`. Reducing
|
|
1415
|
+
# reasoning effort can result in faster responses and fewer tokens used on
|
|
1416
|
+
# reasoning in a response. Not all reasoning models support every value. See the
|
|
1417
|
+
# [reasoning guide](https://developers.openai.com/api/docs/guides/reasoning) for
|
|
1418
|
+
# model-specific support.
|
|
1419
|
+
# @param generate_summary
|
|
1420
|
+
# **Deprecated:** use `summary` instead.
|
|
1421
|
+
#
|
|
1422
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1423
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1424
|
+
# `concise`, or `detailed`.
|
|
1425
|
+
# @param mode
|
|
1426
|
+
# Controls the reasoning execution mode for the request.
|
|
1427
|
+
#
|
|
1428
|
+
# When returned on a response, this is the effective execution mode.
|
|
1429
|
+
# @param summary
|
|
1430
|
+
# A summary of the reasoning performed by the model. This can be useful for
|
|
1431
|
+
# debugging and understanding the model's reasoning process. One of `auto`,
|
|
1432
|
+
# `concise`, or `detailed`.
|
|
1433
|
+
#
|
|
1434
|
+
# `concise` is supported for `computer-use-preview` models and all reasoning
|
|
1435
|
+
# models after `gpt-5`.
|
|
889
1436
|
def initialize: (
|
|
890
1437
|
?context: OpenAI::Models::Beta::BetaResponse::Reasoning::context?,
|
|
891
1438
|
?effort: OpenAI::Models::Beta::BetaResponse::Reasoning::effort?,
|