openai 0.91.0 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -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 +3 -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 +3 -3
- data/lib/openai/models/beta/beta_responses_server_event.rb +1 -1
- data/lib/openai/models/beta/beta_tool.rb +25 -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 +3 -3
- data/lib/openai/models/beta/response_create_params.rb +3 -3
- data/lib/openai/models/chat/completion_create_params.rb +10 -4
- data/lib/openai/models/chat_model.rb +1 -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/realtime/realtime_response_create_mcp_tool.rb +16 -0
- data/lib/openai/models/realtime/realtime_session_create_response.rb +16 -0
- data/lib/openai/models/realtime/realtime_tools_config_union.rb +16 -0
- data/lib/openai/models/responses/response_compact_params.rb +3 -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 +25 -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/deleted_webhook_endpoint.rb +38 -0
- data/lib/openai/models/webhooks/event_type_list_params.rb +16 -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/models/webhooks/webhook_create_params.rb +73 -0
- data/lib/openai/models/webhooks/webhook_delete_params.rb +22 -0
- data/lib/openai/models/webhooks/webhook_endpoint.rb +85 -0
- data/lib/openai/models/webhooks/webhook_endpoint_list.rb +55 -0
- data/lib/openai/models/webhooks/webhook_endpoint_test_result.rb +58 -0
- data/lib/openai/models/webhooks/webhook_endpoint_with_secret.rb +105 -0
- data/lib/openai/models/webhooks/webhook_event_type_list.rb +28 -0
- data/lib/openai/models/webhooks/webhook_list_params.rb +34 -0
- data/lib/openai/models/webhooks/webhook_retrieve_params.rb +22 -0
- data/lib/openai/models/webhooks/webhook_rotate_secret_params.rb +34 -0
- data/lib/openai/models/webhooks/webhook_test_params.rb +59 -0
- data/lib/openai/models/webhooks/webhook_update_params.rb +80 -0
- 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/event_types.rb +35 -0
- data/lib/openai/resources/webhooks.rb +196 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +34 -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 +1 -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 +4 -4
- data/rbi/openai/models/beta/beta_responses_server_event.rbi +1 -1
- data/rbi/openai/models/beta/beta_tool.rbi +21 -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 +1 -1
- data/rbi/openai/models/beta/response_create_params.rbi +1 -1
- data/rbi/openai/models/chat/completion_create_params.rbi +10 -4
- data/rbi/openai/models/chat_model.rbi +1 -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/realtime/realtime_response_create_mcp_tool.rbi +12 -0
- data/rbi/openai/models/realtime/realtime_session_create_response.rbi +12 -0
- data/rbi/openai/models/realtime/realtime_tools_config_union.rbi +12 -0
- data/rbi/openai/models/responses/response_compact_params.rbi +1 -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 +21 -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/deleted_webhook_endpoint.rbi +67 -0
- data/rbi/openai/models/webhooks/event_type_list_params.rbi +37 -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/models/webhooks/webhook_create_params.rbi +139 -0
- data/rbi/openai/models/webhooks/webhook_delete_params.rbi +53 -0
- data/rbi/openai/models/webhooks/webhook_endpoint.rbi +126 -0
- data/rbi/openai/models/webhooks/webhook_endpoint_list.rbi +91 -0
- data/rbi/openai/models/webhooks/webhook_endpoint_test_result.rbi +87 -0
- data/rbi/openai/models/webhooks/webhook_endpoint_with_secret.rbi +138 -0
- data/rbi/openai/models/webhooks/webhook_event_type_list.rbi +58 -0
- data/rbi/openai/models/webhooks/webhook_list_params.rbi +67 -0
- data/rbi/openai/models/webhooks/webhook_retrieve_params.rbi +53 -0
- data/rbi/openai/models/webhooks/webhook_rotate_secret_params.rbi +71 -0
- data/rbi/openai/models/webhooks/webhook_test_params.rbi +124 -0
- data/rbi/openai/models/webhooks/webhook_update_params.rbi +156 -0
- 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/event_types.rbi +24 -0
- data/rbi/openai/resources/webhooks.rbi +129 -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 +545 -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 +658 -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 +121 -2
- data/sig/openai/models/beta/response_create_params.rbs +626 -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 +2 -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 +121 -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 +37 -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/event_type_list_params.rbs +16 -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 +92 -0
- data/sig/openai/models/webhooks/webhook_delete_params.rbs +25 -0
- data/sig/openai/models/webhooks/webhook_endpoint.rbs +87 -0
- data/sig/openai/models/webhooks/webhook_endpoint_list.rbs +57 -0
- data/sig/openai/models/webhooks/webhook_endpoint_test_result.rbs +59 -0
- data/sig/openai/models/webhooks/webhook_endpoint_with_secret.rbs +97 -0
- data/sig/openai/models/webhooks/webhook_event_type_list.rbs +23 -0
- data/sig/openai/models/webhooks/webhook_list_params.rbs +42 -0
- data/sig/openai/models/webhooks/webhook_retrieve_params.rbs +25 -0
- data/sig/openai/models/webhooks/webhook_rotate_secret_params.rbs +42 -0
- data/sig/openai/models/webhooks/webhook_test_params.rbs +81 -0
- data/sig/openai/models/webhooks/webhook_update_params.rbs +108 -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/event_types.rbs +13 -0
- data/sig/openai/resources/webhooks.rbs +48 -1
- metadata +100 -1
|
@@ -24,78 +24,259 @@ module OpenAI
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
class RealtimeSessionCreateResponse < OpenAI::Internal::Type::BaseModel
|
|
27
|
+
# Unique identifier for the session that looks like `sess_1234567890abcdef`.
|
|
27
28
|
attr_accessor id: String
|
|
28
29
|
|
|
30
|
+
# The object type. Always `realtime.session`.
|
|
29
31
|
attr_accessor object: :"realtime.session"
|
|
30
32
|
|
|
33
|
+
# The type of session to create. Always `realtime` for the Realtime API.
|
|
31
34
|
attr_accessor type: :realtime
|
|
32
35
|
|
|
36
|
+
# Configuration for input and output audio.
|
|
33
37
|
attr_reader audio: OpenAI::Realtime::RealtimeSessionCreateResponse::Audio?
|
|
34
38
|
|
|
39
|
+
# Configuration for input and output audio.
|
|
35
40
|
def audio=: (
|
|
36
41
|
OpenAI::Realtime::RealtimeSessionCreateResponse::Audio
|
|
37
42
|
) -> OpenAI::Realtime::RealtimeSessionCreateResponse::Audio
|
|
38
43
|
|
|
44
|
+
# Expiration timestamp for the session, in seconds since epoch.
|
|
39
45
|
attr_reader expires_at: Integer?
|
|
40
46
|
|
|
47
|
+
# Expiration timestamp for the session, in seconds since epoch.
|
|
41
48
|
def expires_at=: (Integer) -> Integer
|
|
42
49
|
|
|
50
|
+
# Additional fields to include in server outputs.
|
|
51
|
+
#
|
|
52
|
+
# `item.input_audio_transcription.logprobs`: Include logprobs for input audio
|
|
53
|
+
# transcription.
|
|
43
54
|
attr_reader include: ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::include_]?
|
|
44
55
|
|
|
56
|
+
# Additional fields to include in server outputs.
|
|
57
|
+
#
|
|
58
|
+
# `item.input_audio_transcription.logprobs`: Include logprobs for input audio
|
|
59
|
+
# transcription.
|
|
45
60
|
def include=: (
|
|
46
61
|
::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::include_]
|
|
47
62
|
) -> ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::include_]
|
|
48
63
|
|
|
64
|
+
# The default system instructions (i.e. system message) prepended to model calls.
|
|
65
|
+
# This field allows the client to guide the model on desired responses. The model
|
|
66
|
+
# can be instructed on response content and format, (e.g. "be extremely succinct",
|
|
67
|
+
# "act friendly", "here are examples of good responses") and on audio behavior
|
|
68
|
+
# (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The
|
|
69
|
+
# instructions are not guaranteed to be followed by the model, but they provide
|
|
70
|
+
# guidance to the model on the desired behavior.
|
|
71
|
+
#
|
|
72
|
+
# Note that the server sets default instructions which will be used if this field
|
|
73
|
+
# is not set and are visible in the `session.created` event at the start of the
|
|
74
|
+
# session.
|
|
49
75
|
attr_reader instructions: String?
|
|
50
76
|
|
|
77
|
+
# The default system instructions (i.e. system message) prepended to model calls.
|
|
78
|
+
# This field allows the client to guide the model on desired responses. The model
|
|
79
|
+
# can be instructed on response content and format, (e.g. "be extremely succinct",
|
|
80
|
+
# "act friendly", "here are examples of good responses") and on audio behavior
|
|
81
|
+
# (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The
|
|
82
|
+
# instructions are not guaranteed to be followed by the model, but they provide
|
|
83
|
+
# guidance to the model on the desired behavior.
|
|
84
|
+
#
|
|
85
|
+
# Note that the server sets default instructions which will be used if this field
|
|
86
|
+
# is not set and are visible in the `session.created` event at the start of the
|
|
87
|
+
# session.
|
|
51
88
|
def instructions=: (String) -> String
|
|
52
89
|
|
|
90
|
+
# Maximum number of output tokens for a single assistant response, inclusive of
|
|
91
|
+
# tool calls. Provide an integer between 1 and 4096 to limit output tokens, or
|
|
92
|
+
# `inf` for the maximum available tokens for a given model. Defaults to `inf`.
|
|
53
93
|
attr_reader max_output_tokens: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::max_output_tokens?
|
|
54
94
|
|
|
95
|
+
# Maximum number of output tokens for a single assistant response, inclusive of
|
|
96
|
+
# tool calls. Provide an integer between 1 and 4096 to limit output tokens, or
|
|
97
|
+
# `inf` for the maximum available tokens for a given model. Defaults to `inf`.
|
|
55
98
|
def max_output_tokens=: (
|
|
56
99
|
OpenAI::Models::Realtime::RealtimeSessionCreateResponse::max_output_tokens
|
|
57
100
|
) -> OpenAI::Models::Realtime::RealtimeSessionCreateResponse::max_output_tokens
|
|
58
101
|
|
|
102
|
+
# The Realtime model used for this session.
|
|
59
103
|
attr_reader model: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::model?
|
|
60
104
|
|
|
105
|
+
# The Realtime model used for this session.
|
|
61
106
|
def model=: (
|
|
62
107
|
OpenAI::Models::Realtime::RealtimeSessionCreateResponse::model
|
|
63
108
|
) -> OpenAI::Models::Realtime::RealtimeSessionCreateResponse::model
|
|
64
109
|
|
|
110
|
+
# The set of modalities the model can respond with. It defaults to `["audio"]`,
|
|
111
|
+
# indicating that the model will respond with audio plus a transcript. `["text"]`
|
|
112
|
+
# can be used to make the model respond with text only. It is not possible to
|
|
113
|
+
# request both `text` and `audio` at the same time.
|
|
65
114
|
attr_reader output_modalities: ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::output_modality]?
|
|
66
115
|
|
|
116
|
+
# The set of modalities the model can respond with. It defaults to `["audio"]`,
|
|
117
|
+
# indicating that the model will respond with audio plus a transcript. `["text"]`
|
|
118
|
+
# can be used to make the model respond with text only. It is not possible to
|
|
119
|
+
# request both `text` and `audio` at the same time.
|
|
67
120
|
def output_modalities=: (
|
|
68
121
|
::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::output_modality]
|
|
69
122
|
) -> ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::output_modality]
|
|
70
123
|
|
|
124
|
+
# Reference to a prompt template and its variables.
|
|
125
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).
|
|
71
126
|
attr_accessor prompt: OpenAI::Responses::ResponsePrompt?
|
|
72
127
|
|
|
128
|
+
# Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
|
|
73
129
|
attr_reader reasoning: OpenAI::Realtime::RealtimeReasoning?
|
|
74
130
|
|
|
131
|
+
# Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
|
|
75
132
|
def reasoning=: (
|
|
76
133
|
OpenAI::Realtime::RealtimeReasoning
|
|
77
134
|
) -> OpenAI::Realtime::RealtimeReasoning
|
|
78
135
|
|
|
136
|
+
# How the model chooses tools. Provide one of the string modes or force a specific
|
|
137
|
+
# function/MCP tool.
|
|
79
138
|
attr_reader tool_choice: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tool_choice?
|
|
80
139
|
|
|
140
|
+
# How the model chooses tools. Provide one of the string modes or force a specific
|
|
141
|
+
# function/MCP tool.
|
|
81
142
|
def tool_choice=: (
|
|
82
143
|
OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tool_choice
|
|
83
144
|
) -> OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tool_choice
|
|
84
145
|
|
|
146
|
+
# Tools available to the model.
|
|
85
147
|
attr_reader tools: ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tool]?
|
|
86
148
|
|
|
149
|
+
# Tools available to the model.
|
|
87
150
|
def tools=: (
|
|
88
151
|
::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tool]
|
|
89
152
|
) -> ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tool]
|
|
90
153
|
|
|
154
|
+
# Realtime API can write session traces to the
|
|
155
|
+
# [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
|
|
156
|
+
# disable tracing. Once tracing is enabled for a session, the configuration cannot
|
|
157
|
+
# be modified.
|
|
158
|
+
#
|
|
159
|
+
# `auto` will create a trace for the session with default values for the workflow
|
|
160
|
+
# name, group id, and metadata.
|
|
91
161
|
attr_accessor tracing: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::tracing?
|
|
92
162
|
|
|
163
|
+
# When the number of tokens in a conversation exceeds the model's input token
|
|
164
|
+
# limit, the conversation be truncated, meaning messages (starting from the
|
|
165
|
+
# oldest) will not be included in the model's context. A 32k context model with
|
|
166
|
+
# 4,096 max output tokens can only include 28,224 tokens in the context before
|
|
167
|
+
# truncation occurs.
|
|
168
|
+
#
|
|
169
|
+
# Clients can configure truncation behavior to truncate with a lower max token
|
|
170
|
+
# limit, which is an effective way to control token usage and cost.
|
|
171
|
+
#
|
|
172
|
+
# Truncation will reduce the number of cached tokens on the next turn (busting the
|
|
173
|
+
# cache), since messages are dropped from the beginning of the context. However,
|
|
174
|
+
# clients can also configure truncation to retain messages up to a fraction of the
|
|
175
|
+
# maximum context size, which will reduce the need for future truncations and thus
|
|
176
|
+
# improve the cache rate.
|
|
177
|
+
#
|
|
178
|
+
# Truncation can be disabled entirely, which means the server will never truncate
|
|
179
|
+
# but would instead return an error if the conversation exceeds the model's input
|
|
180
|
+
# token limit.
|
|
93
181
|
attr_reader truncation: OpenAI::Models::Realtime::realtime_truncation?
|
|
94
182
|
|
|
183
|
+
# When the number of tokens in a conversation exceeds the model's input token
|
|
184
|
+
# limit, the conversation be truncated, meaning messages (starting from the
|
|
185
|
+
# oldest) will not be included in the model's context. A 32k context model with
|
|
186
|
+
# 4,096 max output tokens can only include 28,224 tokens in the context before
|
|
187
|
+
# truncation occurs.
|
|
188
|
+
#
|
|
189
|
+
# Clients can configure truncation behavior to truncate with a lower max token
|
|
190
|
+
# limit, which is an effective way to control token usage and cost.
|
|
191
|
+
#
|
|
192
|
+
# Truncation will reduce the number of cached tokens on the next turn (busting the
|
|
193
|
+
# cache), since messages are dropped from the beginning of the context. However,
|
|
194
|
+
# clients can also configure truncation to retain messages up to a fraction of the
|
|
195
|
+
# maximum context size, which will reduce the need for future truncations and thus
|
|
196
|
+
# improve the cache rate.
|
|
197
|
+
#
|
|
198
|
+
# Truncation can be disabled entirely, which means the server will never truncate
|
|
199
|
+
# but would instead return an error if the conversation exceeds the model's input
|
|
200
|
+
# token limit.
|
|
95
201
|
def truncation=: (
|
|
96
202
|
OpenAI::Models::Realtime::realtime_truncation
|
|
97
203
|
) -> OpenAI::Models::Realtime::realtime_truncation
|
|
98
204
|
|
|
205
|
+
# @param id
|
|
206
|
+
# Unique identifier for the session that looks like `sess_1234567890abcdef`.
|
|
207
|
+
# @param audio
|
|
208
|
+
# Configuration for input and output audio.
|
|
209
|
+
# @param expires_at
|
|
210
|
+
# Expiration timestamp for the session, in seconds since epoch.
|
|
211
|
+
# @param include
|
|
212
|
+
# Additional fields to include in server outputs.
|
|
213
|
+
#
|
|
214
|
+
# `item.input_audio_transcription.logprobs`: Include logprobs for input audio
|
|
215
|
+
# transcription.
|
|
216
|
+
# @param instructions
|
|
217
|
+
# The default system instructions (i.e. system message) prepended to model calls.
|
|
218
|
+
# This field allows the client to guide the model on desired responses. The model
|
|
219
|
+
# can be instructed on response content and format, (e.g. "be extremely succinct",
|
|
220
|
+
# "act friendly", "here are examples of good responses") and on audio behavior
|
|
221
|
+
# (e.g. "talk quickly", "inject emotion into your voice", "laugh frequently"). The
|
|
222
|
+
# instructions are not guaranteed to be followed by the model, but they provide
|
|
223
|
+
# guidance to the model on the desired behavior.
|
|
224
|
+
#
|
|
225
|
+
# Note that the server sets default instructions which will be used if this field
|
|
226
|
+
# is not set and are visible in the `session.created` event at the start of the
|
|
227
|
+
# session.
|
|
228
|
+
# @param max_output_tokens
|
|
229
|
+
# Maximum number of output tokens for a single assistant response, inclusive of
|
|
230
|
+
# tool calls. Provide an integer between 1 and 4096 to limit output tokens, or
|
|
231
|
+
# `inf` for the maximum available tokens for a given model. Defaults to `inf`.
|
|
232
|
+
# @param model
|
|
233
|
+
# The Realtime model used for this session.
|
|
234
|
+
# @param output_modalities
|
|
235
|
+
# The set of modalities the model can respond with. It defaults to `["audio"]`,
|
|
236
|
+
# indicating that the model will respond with audio plus a transcript. `["text"]`
|
|
237
|
+
# can be used to make the model respond with text only. It is not possible to
|
|
238
|
+
# request both `text` and `audio` at the same time.
|
|
239
|
+
# @param prompt
|
|
240
|
+
# Reference to a prompt template and its variables.
|
|
241
|
+
# [Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).
|
|
242
|
+
# @param reasoning
|
|
243
|
+
# Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
|
|
244
|
+
# @param tool_choice
|
|
245
|
+
# How the model chooses tools. Provide one of the string modes or force a specific
|
|
246
|
+
# function/MCP tool.
|
|
247
|
+
# @param tools
|
|
248
|
+
# Tools available to the model.
|
|
249
|
+
# @param tracing
|
|
250
|
+
# Realtime API can write session traces to the
|
|
251
|
+
# [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
|
|
252
|
+
# disable tracing. Once tracing is enabled for a session, the configuration cannot
|
|
253
|
+
# be modified.
|
|
254
|
+
#
|
|
255
|
+
# `auto` will create a trace for the session with default values for the workflow
|
|
256
|
+
# name, group id, and metadata.
|
|
257
|
+
# @param truncation
|
|
258
|
+
# When the number of tokens in a conversation exceeds the model's input token
|
|
259
|
+
# limit, the conversation be truncated, meaning messages (starting from the
|
|
260
|
+
# oldest) will not be included in the model's context. A 32k context model with
|
|
261
|
+
# 4,096 max output tokens can only include 28,224 tokens in the context before
|
|
262
|
+
# truncation occurs.
|
|
263
|
+
#
|
|
264
|
+
# Clients can configure truncation behavior to truncate with a lower max token
|
|
265
|
+
# limit, which is an effective way to control token usage and cost.
|
|
266
|
+
#
|
|
267
|
+
# Truncation will reduce the number of cached tokens on the next turn (busting the
|
|
268
|
+
# cache), since messages are dropped from the beginning of the context. However,
|
|
269
|
+
# clients can also configure truncation to retain messages up to a fraction of the
|
|
270
|
+
# maximum context size, which will reduce the need for future truncations and thus
|
|
271
|
+
# improve the cache rate.
|
|
272
|
+
#
|
|
273
|
+
# Truncation can be disabled entirely, which means the server will never truncate
|
|
274
|
+
# but would instead return an error if the conversation exceeds the model's input
|
|
275
|
+
# token limit.
|
|
276
|
+
# @param object
|
|
277
|
+
# The object type. Always `realtime.session`.
|
|
278
|
+
# @param type
|
|
279
|
+
# The type of session to create. Always `realtime` for the Realtime API.
|
|
99
280
|
def initialize: (
|
|
100
281
|
id: String,
|
|
101
282
|
?audio: OpenAI::Realtime::RealtimeSessionCreateResponse::Audio,
|
|
@@ -172,14 +353,26 @@ module OpenAI
|
|
|
172
353
|
}
|
|
173
354
|
|
|
174
355
|
class Input < OpenAI::Internal::Type::BaseModel
|
|
356
|
+
# The format of the input audio.
|
|
175
357
|
attr_reader format_: OpenAI::Models::Realtime::realtime_audio_formats?
|
|
176
358
|
|
|
359
|
+
# The format of the input audio.
|
|
177
360
|
def format_=: (
|
|
178
361
|
OpenAI::Models::Realtime::realtime_audio_formats
|
|
179
362
|
) -> OpenAI::Models::Realtime::realtime_audio_formats
|
|
180
363
|
|
|
364
|
+
# Configuration for input audio noise reduction. This can be set to `null` to turn
|
|
365
|
+
# off. Noise reduction filters audio added to the input audio buffer before it is
|
|
366
|
+
# sent to VAD and the model. Filtering the audio can improve VAD and turn
|
|
367
|
+
# detection accuracy (reducing false positives) and model performance by improving
|
|
368
|
+
# perception of the input audio.
|
|
181
369
|
attr_reader noise_reduction: OpenAI::Realtime::RealtimeSessionCreateResponse::Audio::Input::NoiseReduction?
|
|
182
370
|
|
|
371
|
+
# Configuration for input audio noise reduction. This can be set to `null` to turn
|
|
372
|
+
# off. Noise reduction filters audio added to the input audio buffer before it is
|
|
373
|
+
# sent to VAD and the model. Filtering the audio can improve VAD and turn
|
|
374
|
+
# detection accuracy (reducing false positives) and model performance by improving
|
|
375
|
+
# perception of the input audio.
|
|
183
376
|
def noise_reduction=: (
|
|
184
377
|
OpenAI::Realtime::RealtimeSessionCreateResponse::Audio::Input::NoiseReduction
|
|
185
378
|
) -> OpenAI::Realtime::RealtimeSessionCreateResponse::Audio::Input::NoiseReduction
|
|
@@ -190,8 +383,49 @@ module OpenAI
|
|
|
190
383
|
OpenAI::Realtime::AudioTranscription
|
|
191
384
|
) -> OpenAI::Realtime::AudioTranscription
|
|
192
385
|
|
|
386
|
+
# Configuration for turn detection, ether Server VAD or Semantic VAD. This can be
|
|
387
|
+
# set to `null` to turn off, in which case the client must manually trigger model
|
|
388
|
+
# response.
|
|
389
|
+
#
|
|
390
|
+
# Server VAD means that the model will detect the start and end of speech based on
|
|
391
|
+
# audio volume and respond at the end of user speech.
|
|
392
|
+
#
|
|
393
|
+
# Semantic VAD is more advanced and uses a turn detection model (in conjunction
|
|
394
|
+
# with VAD) to semantically estimate whether the user has finished speaking, then
|
|
395
|
+
# dynamically sets a timeout based on this probability. For example, if user audio
|
|
396
|
+
# trails off with "uhhm", the model will score a low probability of turn end and
|
|
397
|
+
# wait longer for the user to continue speaking. This can be useful for more
|
|
398
|
+
# natural conversations, but may have a higher latency.
|
|
399
|
+
#
|
|
400
|
+
# For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
401
|
+
# `null`; VAD is not supported.
|
|
193
402
|
attr_accessor turn_detection: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Input::turn_detection?
|
|
194
403
|
|
|
404
|
+
# @param format_
|
|
405
|
+
# The format of the input audio.
|
|
406
|
+
# @param noise_reduction
|
|
407
|
+
# Configuration for input audio noise reduction. This can be set to `null` to turn
|
|
408
|
+
# off. Noise reduction filters audio added to the input audio buffer before it is
|
|
409
|
+
# sent to VAD and the model. Filtering the audio can improve VAD and turn
|
|
410
|
+
# detection accuracy (reducing false positives) and model performance by improving
|
|
411
|
+
# perception of the input audio.
|
|
412
|
+
# @param turn_detection
|
|
413
|
+
# Configuration for turn detection, ether Server VAD or Semantic VAD. This can be
|
|
414
|
+
# set to `null` to turn off, in which case the client must manually trigger model
|
|
415
|
+
# response.
|
|
416
|
+
#
|
|
417
|
+
# Server VAD means that the model will detect the start and end of speech based on
|
|
418
|
+
# audio volume and respond at the end of user speech.
|
|
419
|
+
#
|
|
420
|
+
# Semantic VAD is more advanced and uses a turn detection model (in conjunction
|
|
421
|
+
# with VAD) to semantically estimate whether the user has finished speaking, then
|
|
422
|
+
# dynamically sets a timeout based on this probability. For example, if user audio
|
|
423
|
+
# trails off with "uhhm", the model will score a low probability of turn end and
|
|
424
|
+
# wait longer for the user to continue speaking. This can be useful for more
|
|
425
|
+
# natural conversations, but may have a higher latency.
|
|
426
|
+
#
|
|
427
|
+
# For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
428
|
+
# `null`; VAD is not supported.
|
|
195
429
|
def initialize: (
|
|
196
430
|
?format_: OpenAI::Models::Realtime::realtime_audio_formats,
|
|
197
431
|
?noise_reduction: OpenAI::Realtime::RealtimeSessionCreateResponse::Audio::Input::NoiseReduction,
|
|
@@ -210,12 +444,22 @@ module OpenAI
|
|
|
210
444
|
{ ?type: OpenAI::Models::Realtime::noise_reduction_type }
|
|
211
445
|
|
|
212
446
|
class NoiseReduction < OpenAI::Internal::Type::BaseModel
|
|
447
|
+
# Type of noise reduction. `near_field` is for close-talking microphones such as
|
|
448
|
+
# headphones, `far_field` is for far-field microphones such as laptop or
|
|
449
|
+
# conference room microphones.
|
|
213
450
|
attr_reader type: OpenAI::Models::Realtime::noise_reduction_type?
|
|
214
451
|
|
|
452
|
+
# Type of noise reduction. `near_field` is for close-talking microphones such as
|
|
453
|
+
# headphones, `far_field` is for far-field microphones such as laptop or
|
|
454
|
+
# conference room microphones.
|
|
215
455
|
def type=: (
|
|
216
456
|
OpenAI::Models::Realtime::noise_reduction_type
|
|
217
457
|
) -> OpenAI::Models::Realtime::noise_reduction_type
|
|
218
458
|
|
|
459
|
+
# @param type
|
|
460
|
+
# Type of noise reduction. `near_field` is for close-talking microphones such as
|
|
461
|
+
# headphones, `far_field` is for far-field microphones such as laptop or
|
|
462
|
+
# conference room microphones.
|
|
219
463
|
def initialize: (
|
|
220
464
|
?type: OpenAI::Models::Realtime::noise_reduction_type
|
|
221
465
|
) -> void
|
|
@@ -244,30 +488,126 @@ module OpenAI
|
|
|
244
488
|
}
|
|
245
489
|
|
|
246
490
|
class ServerVad < OpenAI::Internal::Type::BaseModel
|
|
491
|
+
# Type of turn detection, `server_vad` to turn on simple Server VAD.
|
|
247
492
|
attr_accessor type: :server_vad
|
|
248
493
|
|
|
494
|
+
# Whether or not to automatically generate a response when a VAD stop event
|
|
495
|
+
# occurs. If `interrupt_response` is set to `false` this may fail to create a
|
|
496
|
+
# response if the model is already responding.
|
|
497
|
+
#
|
|
498
|
+
# If both `create_response` and `interrupt_response` are set to `false`, the model
|
|
499
|
+
# will never respond automatically but VAD events will still be emitted.
|
|
249
500
|
attr_reader create_response: bool?
|
|
250
501
|
|
|
502
|
+
# Whether or not to automatically generate a response when a VAD stop event
|
|
503
|
+
# occurs. If `interrupt_response` is set to `false` this may fail to create a
|
|
504
|
+
# response if the model is already responding.
|
|
505
|
+
#
|
|
506
|
+
# If both `create_response` and `interrupt_response` are set to `false`, the model
|
|
507
|
+
# will never respond automatically but VAD events will still be emitted.
|
|
251
508
|
def create_response=: (bool) -> bool
|
|
252
509
|
|
|
510
|
+
# Optional timeout after which a model response will be triggered automatically.
|
|
511
|
+
# This is useful for situations in which a long pause from the user is unexpected,
|
|
512
|
+
# such as a phone call. The model will effectively prompt the user to continue the
|
|
513
|
+
# conversation based on the current context.
|
|
514
|
+
#
|
|
515
|
+
# The timeout value will be applied after the last model response's audio has
|
|
516
|
+
# finished playing, i.e. it's set to the `response.done` time plus audio playback
|
|
517
|
+
# duration.
|
|
518
|
+
#
|
|
519
|
+
# An `input_audio_buffer.timeout_triggered` event (plus events associated with the
|
|
520
|
+
# Response) will be emitted when the timeout is reached. Idle timeout is currently
|
|
521
|
+
# only supported for `server_vad` mode.
|
|
253
522
|
attr_accessor idle_timeout_ms: Integer?
|
|
254
523
|
|
|
524
|
+
# Whether or not to automatically interrupt (cancel) any ongoing response with
|
|
525
|
+
# output to the default conversation (i.e. `conversation` of `auto`) when a VAD
|
|
526
|
+
# start event occurs. If `true` then the response will be cancelled, otherwise it
|
|
527
|
+
# will continue until complete.
|
|
528
|
+
#
|
|
529
|
+
# If both `create_response` and `interrupt_response` are set to `false`, the model
|
|
530
|
+
# will never respond automatically but VAD events will still be emitted.
|
|
255
531
|
attr_reader interrupt_response: bool?
|
|
256
532
|
|
|
533
|
+
# Whether or not to automatically interrupt (cancel) any ongoing response with
|
|
534
|
+
# output to the default conversation (i.e. `conversation` of `auto`) when a VAD
|
|
535
|
+
# start event occurs. If `true` then the response will be cancelled, otherwise it
|
|
536
|
+
# will continue until complete.
|
|
537
|
+
#
|
|
538
|
+
# If both `create_response` and `interrupt_response` are set to `false`, the model
|
|
539
|
+
# will never respond automatically but VAD events will still be emitted.
|
|
257
540
|
def interrupt_response=: (bool) -> bool
|
|
258
541
|
|
|
542
|
+
# Used only for `server_vad` mode. Amount of audio to include before the VAD
|
|
543
|
+
# detected speech (in milliseconds). Defaults to 300ms.
|
|
259
544
|
attr_reader prefix_padding_ms: Integer?
|
|
260
545
|
|
|
546
|
+
# Used only for `server_vad` mode. Amount of audio to include before the VAD
|
|
547
|
+
# detected speech (in milliseconds). Defaults to 300ms.
|
|
261
548
|
def prefix_padding_ms=: (Integer) -> Integer
|
|
262
549
|
|
|
550
|
+
# Used only for `server_vad` mode. Duration of silence to detect speech stop (in
|
|
551
|
+
# milliseconds). Defaults to 500ms. With shorter values the model will respond
|
|
552
|
+
# more quickly, but may jump in on short pauses from the user.
|
|
263
553
|
attr_reader silence_duration_ms: Integer?
|
|
264
554
|
|
|
555
|
+
# Used only for `server_vad` mode. Duration of silence to detect speech stop (in
|
|
556
|
+
# milliseconds). Defaults to 500ms. With shorter values the model will respond
|
|
557
|
+
# more quickly, but may jump in on short pauses from the user.
|
|
265
558
|
def silence_duration_ms=: (Integer) -> Integer
|
|
266
559
|
|
|
560
|
+
# Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this
|
|
561
|
+
# defaults to 0.5. A higher threshold will require louder audio to activate the
|
|
562
|
+
# model, and thus might perform better in noisy environments.
|
|
267
563
|
attr_reader threshold: Float?
|
|
268
564
|
|
|
565
|
+
# Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this
|
|
566
|
+
# defaults to 0.5. A higher threshold will require louder audio to activate the
|
|
567
|
+
# model, and thus might perform better in noisy environments.
|
|
269
568
|
def threshold=: (Float) -> Float
|
|
270
569
|
|
|
570
|
+
# @param create_response
|
|
571
|
+
# Whether or not to automatically generate a response when a VAD stop event
|
|
572
|
+
# occurs. If `interrupt_response` is set to `false` this may fail to create a
|
|
573
|
+
# response if the model is already responding.
|
|
574
|
+
#
|
|
575
|
+
# If both `create_response` and `interrupt_response` are set to `false`, the model
|
|
576
|
+
# will never respond automatically but VAD events will still be emitted.
|
|
577
|
+
# @param idle_timeout_ms
|
|
578
|
+
# Optional timeout after which a model response will be triggered automatically.
|
|
579
|
+
# This is useful for situations in which a long pause from the user is unexpected,
|
|
580
|
+
# such as a phone call. The model will effectively prompt the user to continue the
|
|
581
|
+
# conversation based on the current context.
|
|
582
|
+
#
|
|
583
|
+
# The timeout value will be applied after the last model response's audio has
|
|
584
|
+
# finished playing, i.e. it's set to the `response.done` time plus audio playback
|
|
585
|
+
# duration.
|
|
586
|
+
#
|
|
587
|
+
# An `input_audio_buffer.timeout_triggered` event (plus events associated with the
|
|
588
|
+
# Response) will be emitted when the timeout is reached. Idle timeout is currently
|
|
589
|
+
# only supported for `server_vad` mode.
|
|
590
|
+
# @param interrupt_response
|
|
591
|
+
# Whether or not to automatically interrupt (cancel) any ongoing response with
|
|
592
|
+
# output to the default conversation (i.e. `conversation` of `auto`) when a VAD
|
|
593
|
+
# start event occurs. If `true` then the response will be cancelled, otherwise it
|
|
594
|
+
# will continue until complete.
|
|
595
|
+
#
|
|
596
|
+
# If both `create_response` and `interrupt_response` are set to `false`, the model
|
|
597
|
+
# will never respond automatically but VAD events will still be emitted.
|
|
598
|
+
# @param prefix_padding_ms
|
|
599
|
+
# Used only for `server_vad` mode. Amount of audio to include before the VAD
|
|
600
|
+
# detected speech (in milliseconds). Defaults to 300ms.
|
|
601
|
+
# @param silence_duration_ms
|
|
602
|
+
# Used only for `server_vad` mode. Duration of silence to detect speech stop (in
|
|
603
|
+
# milliseconds). Defaults to 500ms. With shorter values the model will respond
|
|
604
|
+
# more quickly, but may jump in on short pauses from the user.
|
|
605
|
+
# @param threshold
|
|
606
|
+
# Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this
|
|
607
|
+
# defaults to 0.5. A higher threshold will require louder audio to activate the
|
|
608
|
+
# model, and thus might perform better in noisy environments.
|
|
609
|
+
# @param type
|
|
610
|
+
# Type of turn detection, `server_vad` to turn on simple Server VAD.
|
|
271
611
|
def initialize: (
|
|
272
612
|
?create_response: bool,
|
|
273
613
|
?idle_timeout_ms: Integer?,
|
|
@@ -298,22 +638,55 @@ module OpenAI
|
|
|
298
638
|
}
|
|
299
639
|
|
|
300
640
|
class SemanticVad < OpenAI::Internal::Type::BaseModel
|
|
641
|
+
# Type of turn detection, `semantic_vad` to turn on Semantic VAD.
|
|
301
642
|
attr_accessor type: :semantic_vad
|
|
302
643
|
|
|
644
|
+
# Whether or not to automatically generate a response when a VAD stop event
|
|
645
|
+
# occurs.
|
|
303
646
|
attr_reader create_response: bool?
|
|
304
647
|
|
|
648
|
+
# Whether or not to automatically generate a response when a VAD stop event
|
|
649
|
+
# occurs.
|
|
305
650
|
def create_response=: (bool) -> bool
|
|
306
651
|
|
|
652
|
+
# Used only for `semantic_vad` mode. The eagerness of the model to respond. `low`
|
|
653
|
+
# will wait longer for the user to continue speaking, `high` will respond more
|
|
654
|
+
# quickly. `auto` is the default and is equivalent to `medium`. `low`, `medium`,
|
|
655
|
+
# and `high` have max timeouts of 8s, 4s, and 2s respectively.
|
|
307
656
|
attr_reader eagerness: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Input::TurnDetection::SemanticVad::eagerness?
|
|
308
657
|
|
|
658
|
+
# Used only for `semantic_vad` mode. The eagerness of the model to respond. `low`
|
|
659
|
+
# will wait longer for the user to continue speaking, `high` will respond more
|
|
660
|
+
# quickly. `auto` is the default and is equivalent to `medium`. `low`, `medium`,
|
|
661
|
+
# and `high` have max timeouts of 8s, 4s, and 2s respectively.
|
|
309
662
|
def eagerness=: (
|
|
310
663
|
OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Input::TurnDetection::SemanticVad::eagerness
|
|
311
664
|
) -> OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Input::TurnDetection::SemanticVad::eagerness
|
|
312
665
|
|
|
666
|
+
# Whether or not to automatically interrupt any ongoing response with output to
|
|
667
|
+
# the default conversation (i.e. `conversation` of `auto`) when a VAD start event
|
|
668
|
+
# occurs.
|
|
313
669
|
attr_reader interrupt_response: bool?
|
|
314
670
|
|
|
671
|
+
# Whether or not to automatically interrupt any ongoing response with output to
|
|
672
|
+
# the default conversation (i.e. `conversation` of `auto`) when a VAD start event
|
|
673
|
+
# occurs.
|
|
315
674
|
def interrupt_response=: (bool) -> bool
|
|
316
675
|
|
|
676
|
+
# @param create_response
|
|
677
|
+
# Whether or not to automatically generate a response when a VAD stop event
|
|
678
|
+
# occurs.
|
|
679
|
+
# @param eagerness
|
|
680
|
+
# Used only for `semantic_vad` mode. The eagerness of the model to respond. `low`
|
|
681
|
+
# will wait longer for the user to continue speaking, `high` will respond more
|
|
682
|
+
# quickly. `auto` is the default and is equivalent to `medium`. `low`, `medium`,
|
|
683
|
+
# and `high` have max timeouts of 8s, 4s, and 2s respectively.
|
|
684
|
+
# @param interrupt_response
|
|
685
|
+
# Whether or not to automatically interrupt any ongoing response with output to
|
|
686
|
+
# the default conversation (i.e. `conversation` of `auto`) when a VAD start event
|
|
687
|
+
# occurs.
|
|
688
|
+
# @param type
|
|
689
|
+
# Type of turn detection, `semantic_vad` to turn on Semantic VAD.
|
|
317
690
|
def initialize: (
|
|
318
691
|
?create_response: bool,
|
|
319
692
|
?eagerness: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Input::TurnDetection::SemanticVad::eagerness,
|
|
@@ -354,22 +727,61 @@ module OpenAI
|
|
|
354
727
|
}
|
|
355
728
|
|
|
356
729
|
class Output < OpenAI::Internal::Type::BaseModel
|
|
730
|
+
# The format of the output audio.
|
|
357
731
|
attr_reader format_: OpenAI::Models::Realtime::realtime_audio_formats?
|
|
358
732
|
|
|
733
|
+
# The format of the output audio.
|
|
359
734
|
def format_=: (
|
|
360
735
|
OpenAI::Models::Realtime::realtime_audio_formats
|
|
361
736
|
) -> OpenAI::Models::Realtime::realtime_audio_formats
|
|
362
737
|
|
|
738
|
+
# The speed of the model's spoken response as a multiple of the original speed.
|
|
739
|
+
# 1.0 is the default speed. 0.25 is the minimum speed. 1.5 is the maximum speed.
|
|
740
|
+
# This value can only be changed in between model turns, not while a response is
|
|
741
|
+
# in progress.
|
|
742
|
+
#
|
|
743
|
+
# This parameter is a post-processing adjustment to the audio after it is
|
|
744
|
+
# generated, it's also possible to prompt the model to speak faster or slower.
|
|
363
745
|
attr_reader speed: Float?
|
|
364
746
|
|
|
747
|
+
# The speed of the model's spoken response as a multiple of the original speed.
|
|
748
|
+
# 1.0 is the default speed. 0.25 is the minimum speed. 1.5 is the maximum speed.
|
|
749
|
+
# This value can only be changed in between model turns, not while a response is
|
|
750
|
+
# in progress.
|
|
751
|
+
#
|
|
752
|
+
# This parameter is a post-processing adjustment to the audio after it is
|
|
753
|
+
# generated, it's also possible to prompt the model to speak faster or slower.
|
|
365
754
|
def speed=: (Float) -> Float
|
|
366
755
|
|
|
756
|
+
# The voice the model uses to respond. Voice cannot be changed during the session
|
|
757
|
+
# once the model has responded with audio at least once. Current voice options are
|
|
758
|
+
# `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, `verse`, `marin`,
|
|
759
|
+
# and `cedar`. We recommend `marin` and `cedar` for best quality.
|
|
367
760
|
attr_reader voice: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Output::voice?
|
|
368
761
|
|
|
762
|
+
# The voice the model uses to respond. Voice cannot be changed during the session
|
|
763
|
+
# once the model has responded with audio at least once. Current voice options are
|
|
764
|
+
# `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, `verse`, `marin`,
|
|
765
|
+
# and `cedar`. We recommend `marin` and `cedar` for best quality.
|
|
369
766
|
def voice=: (
|
|
370
767
|
OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Output::voice
|
|
371
768
|
) -> OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Audio::Output::voice
|
|
372
769
|
|
|
770
|
+
# @param format_
|
|
771
|
+
# The format of the output audio.
|
|
772
|
+
# @param speed
|
|
773
|
+
# The speed of the model's spoken response as a multiple of the original speed.
|
|
774
|
+
# 1.0 is the default speed. 0.25 is the minimum speed. 1.5 is the maximum speed.
|
|
775
|
+
# This value can only be changed in between model turns, not while a response is
|
|
776
|
+
# in progress.
|
|
777
|
+
#
|
|
778
|
+
# This parameter is a post-processing adjustment to the audio after it is
|
|
779
|
+
# generated, it's also possible to prompt the model to speak faster or slower.
|
|
780
|
+
# @param voice
|
|
781
|
+
# The voice the model uses to respond. Voice cannot be changed during the session
|
|
782
|
+
# once the model has responded with audio at least once. Current voice options are
|
|
783
|
+
# `alloy`, `ash`, `ballad`, `coral`, `echo`, `sage`, `shimmer`, `verse`, `marin`,
|
|
784
|
+
# and `cedar`. We recommend `marin` and `cedar` for best quality.
|
|
373
785
|
def initialize: (
|
|
374
786
|
?format_: OpenAI::Models::Realtime::realtime_audio_formats,
|
|
375
787
|
?speed: Float,
|
|
@@ -526,44 +938,154 @@ module OpenAI
|
|
|
526
938
|
}
|
|
527
939
|
|
|
528
940
|
class McpTool < OpenAI::Internal::Type::BaseModel
|
|
941
|
+
# A label for this MCP server, used to identify it in tool calls.
|
|
529
942
|
attr_accessor server_label: String
|
|
530
943
|
|
|
944
|
+
# The type of the MCP tool. Always `mcp`.
|
|
531
945
|
attr_accessor type: :mcp
|
|
532
946
|
|
|
947
|
+
# The tool invocation context(s).
|
|
533
948
|
attr_accessor allowed_callers: ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::allowed_caller]?
|
|
534
949
|
|
|
950
|
+
# List of allowed tool names or a filter object.
|
|
535
951
|
attr_accessor allowed_tools: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::allowed_tools?
|
|
536
952
|
|
|
953
|
+
# An OAuth access token that can be used with a remote MCP server, either with a
|
|
954
|
+
# custom MCP server URL or a service connector. Your application must handle the
|
|
955
|
+
# OAuth authorization flow and provide the token here.
|
|
537
956
|
attr_reader authorization: String?
|
|
538
957
|
|
|
958
|
+
# An OAuth access token that can be used with a remote MCP server, either with a
|
|
959
|
+
# custom MCP server URL or a service connector. Your application must handle the
|
|
960
|
+
# OAuth authorization flow and provide the token here.
|
|
539
961
|
def authorization=: (String) -> String
|
|
540
962
|
|
|
963
|
+
# Identifier for service connectors, like those available in ChatGPT. One of
|
|
964
|
+
# `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
|
|
965
|
+
# service connectors
|
|
966
|
+
# [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).
|
|
967
|
+
#
|
|
968
|
+
# This field is deprecated for models released after September 1, 2026. Use
|
|
969
|
+
# `server_url` to connect to a remote MCP server, or `tunnel_id` to connect
|
|
970
|
+
# through a Secure MCP Tunnel.
|
|
971
|
+
#
|
|
972
|
+
# Currently supported `connector_id` values are:
|
|
973
|
+
#
|
|
974
|
+
# - Dropbox: `connector_dropbox`
|
|
975
|
+
# - Gmail: `connector_gmail`
|
|
976
|
+
# - Google Calendar: `connector_googlecalendar`
|
|
977
|
+
# - Google Drive: `connector_googledrive`
|
|
978
|
+
# - Microsoft Teams: `connector_microsoftteams`
|
|
979
|
+
# - Outlook Calendar: `connector_outlookcalendar`
|
|
980
|
+
# - Outlook Email: `connector_outlookemail`
|
|
981
|
+
# - SharePoint: `connector_sharepoint`
|
|
541
982
|
attr_reader connector_id: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::connector_id?
|
|
542
983
|
|
|
984
|
+
# Identifier for service connectors, like those available in ChatGPT. One of
|
|
985
|
+
# `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
|
|
986
|
+
# service connectors
|
|
987
|
+
# [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).
|
|
988
|
+
#
|
|
989
|
+
# This field is deprecated for models released after September 1, 2026. Use
|
|
990
|
+
# `server_url` to connect to a remote MCP server, or `tunnel_id` to connect
|
|
991
|
+
# through a Secure MCP Tunnel.
|
|
992
|
+
#
|
|
993
|
+
# Currently supported `connector_id` values are:
|
|
994
|
+
#
|
|
995
|
+
# - Dropbox: `connector_dropbox`
|
|
996
|
+
# - Gmail: `connector_gmail`
|
|
997
|
+
# - Google Calendar: `connector_googlecalendar`
|
|
998
|
+
# - Google Drive: `connector_googledrive`
|
|
999
|
+
# - Microsoft Teams: `connector_microsoftteams`
|
|
1000
|
+
# - Outlook Calendar: `connector_outlookcalendar`
|
|
1001
|
+
# - Outlook Email: `connector_outlookemail`
|
|
1002
|
+
# - SharePoint: `connector_sharepoint`
|
|
543
1003
|
def connector_id=: (
|
|
544
1004
|
OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::connector_id
|
|
545
1005
|
) -> OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::connector_id
|
|
546
1006
|
|
|
1007
|
+
# Whether this MCP tool is deferred and discovered via tool search.
|
|
547
1008
|
attr_reader defer_loading: bool?
|
|
548
1009
|
|
|
1010
|
+
# Whether this MCP tool is deferred and discovered via tool search.
|
|
549
1011
|
def defer_loading=: (bool) -> bool
|
|
550
1012
|
|
|
1013
|
+
# Optional HTTP headers to send to the MCP server. Use for authentication or other
|
|
1014
|
+
# purposes.
|
|
551
1015
|
attr_accessor headers: ::Hash[Symbol, String]?
|
|
552
1016
|
|
|
1017
|
+
# Specify which of the MCP server's tools require approval.
|
|
553
1018
|
attr_accessor require_approval: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::require_approval?
|
|
554
1019
|
|
|
1020
|
+
# Optional description of the MCP server, used to provide more context.
|
|
555
1021
|
attr_reader server_description: String?
|
|
556
1022
|
|
|
1023
|
+
# Optional description of the MCP server, used to provide more context.
|
|
557
1024
|
def server_description=: (String) -> String
|
|
558
1025
|
|
|
1026
|
+
# The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
|
|
1027
|
+
# must be provided.
|
|
559
1028
|
attr_reader server_url: String?
|
|
560
1029
|
|
|
1030
|
+
# The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
|
|
1031
|
+
# must be provided.
|
|
561
1032
|
def server_url=: (String) -> String
|
|
562
1033
|
|
|
1034
|
+
# The Secure MCP Tunnel ID to use instead of a direct server URL. One of
|
|
1035
|
+
# `server_url`, `connector_id`, or `tunnel_id` must be provided.
|
|
563
1036
|
attr_reader tunnel_id: String?
|
|
564
1037
|
|
|
1038
|
+
# The Secure MCP Tunnel ID to use instead of a direct server URL. One of
|
|
1039
|
+
# `server_url`, `connector_id`, or `tunnel_id` must be provided.
|
|
565
1040
|
def tunnel_id=: (String) -> String
|
|
566
1041
|
|
|
1042
|
+
# @param server_label
|
|
1043
|
+
# A label for this MCP server, used to identify it in tool calls.
|
|
1044
|
+
# @param allowed_callers
|
|
1045
|
+
# The tool invocation context(s).
|
|
1046
|
+
# @param allowed_tools
|
|
1047
|
+
# List of allowed tool names or a filter object.
|
|
1048
|
+
# @param authorization
|
|
1049
|
+
# An OAuth access token that can be used with a remote MCP server, either with a
|
|
1050
|
+
# custom MCP server URL or a service connector. Your application must handle the
|
|
1051
|
+
# OAuth authorization flow and provide the token here.
|
|
1052
|
+
# @param connector_id
|
|
1053
|
+
# Identifier for service connectors, like those available in ChatGPT. One of
|
|
1054
|
+
# `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more about
|
|
1055
|
+
# service connectors
|
|
1056
|
+
# [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).
|
|
1057
|
+
#
|
|
1058
|
+
# This field is deprecated for models released after September 1, 2026. Use
|
|
1059
|
+
# `server_url` to connect to a remote MCP server, or `tunnel_id` to connect
|
|
1060
|
+
# through a Secure MCP Tunnel.
|
|
1061
|
+
#
|
|
1062
|
+
# Currently supported `connector_id` values are:
|
|
1063
|
+
#
|
|
1064
|
+
# - Dropbox: `connector_dropbox`
|
|
1065
|
+
# - Gmail: `connector_gmail`
|
|
1066
|
+
# - Google Calendar: `connector_googlecalendar`
|
|
1067
|
+
# - Google Drive: `connector_googledrive`
|
|
1068
|
+
# - Microsoft Teams: `connector_microsoftteams`
|
|
1069
|
+
# - Outlook Calendar: `connector_outlookcalendar`
|
|
1070
|
+
# - Outlook Email: `connector_outlookemail`
|
|
1071
|
+
# - SharePoint: `connector_sharepoint`
|
|
1072
|
+
# @param defer_loading
|
|
1073
|
+
# Whether this MCP tool is deferred and discovered via tool search.
|
|
1074
|
+
# @param headers
|
|
1075
|
+
# Optional HTTP headers to send to the MCP server. Use for authentication or other
|
|
1076
|
+
# purposes.
|
|
1077
|
+
# @param require_approval
|
|
1078
|
+
# Specify which of the MCP server's tools require approval.
|
|
1079
|
+
# @param server_description
|
|
1080
|
+
# Optional description of the MCP server, used to provide more context.
|
|
1081
|
+
# @param server_url
|
|
1082
|
+
# The URL for the MCP server. One of `server_url`, `connector_id`, or `tunnel_id`
|
|
1083
|
+
# must be provided.
|
|
1084
|
+
# @param tunnel_id
|
|
1085
|
+
# The Secure MCP Tunnel ID to use instead of a direct server URL. One of
|
|
1086
|
+
# `server_url`, `connector_id`, or `tunnel_id` must be provided.
|
|
1087
|
+
# @param type
|
|
1088
|
+
# The type of the MCP tool. Always `mcp`.
|
|
567
1089
|
def initialize: (
|
|
568
1090
|
server_label: String,
|
|
569
1091
|
?allowed_callers: ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::allowed_caller]?,
|
|
@@ -616,14 +1138,31 @@ module OpenAI
|
|
|
616
1138
|
{ ?read_only: bool, ?tool_names: ::Array[String] }
|
|
617
1139
|
|
|
618
1140
|
class McpToolFilter < OpenAI::Internal::Type::BaseModel
|
|
1141
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1142
|
+
# is
|
|
1143
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1144
|
+
# it will match this filter.
|
|
619
1145
|
attr_reader read_only: bool?
|
|
620
1146
|
|
|
1147
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1148
|
+
# is
|
|
1149
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1150
|
+
# it will match this filter.
|
|
621
1151
|
def read_only=: (bool) -> bool
|
|
622
1152
|
|
|
1153
|
+
# List of allowed tool names.
|
|
623
1154
|
attr_reader tool_names: ::Array[String]?
|
|
624
1155
|
|
|
1156
|
+
# List of allowed tool names.
|
|
625
1157
|
def tool_names=: (::Array[String]) -> ::Array[String]
|
|
626
1158
|
|
|
1159
|
+
# @param read_only
|
|
1160
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1161
|
+
# is
|
|
1162
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1163
|
+
# it will match this filter.
|
|
1164
|
+
# @param tool_names
|
|
1165
|
+
# List of allowed tool names.
|
|
627
1166
|
def initialize: (
|
|
628
1167
|
?read_only: bool,
|
|
629
1168
|
?tool_names: ::Array[String]
|
|
@@ -679,18 +1218,26 @@ module OpenAI
|
|
|
679
1218
|
}
|
|
680
1219
|
|
|
681
1220
|
class McpToolApprovalFilter < OpenAI::Internal::Type::BaseModel
|
|
1221
|
+
# A filter object to specify which tools are allowed.
|
|
682
1222
|
attr_reader always: OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Always?
|
|
683
1223
|
|
|
1224
|
+
# A filter object to specify which tools are allowed.
|
|
684
1225
|
def always=: (
|
|
685
1226
|
OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Always
|
|
686
1227
|
) -> OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Always
|
|
687
1228
|
|
|
1229
|
+
# A filter object to specify which tools are allowed.
|
|
688
1230
|
attr_reader never: OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Never?
|
|
689
1231
|
|
|
1232
|
+
# A filter object to specify which tools are allowed.
|
|
690
1233
|
def never=: (
|
|
691
1234
|
OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Never
|
|
692
1235
|
) -> OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Never
|
|
693
1236
|
|
|
1237
|
+
# @param always
|
|
1238
|
+
# A filter object to specify which tools are allowed.
|
|
1239
|
+
# @param never
|
|
1240
|
+
# A filter object to specify which tools are allowed.
|
|
694
1241
|
def initialize: (
|
|
695
1242
|
?always: OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Always,
|
|
696
1243
|
?never: OpenAI::Realtime::RealtimeSessionCreateResponse::Tool::McpTool::RequireApproval::McpToolApprovalFilter::Never
|
|
@@ -704,14 +1251,31 @@ module OpenAI
|
|
|
704
1251
|
type always = { ?read_only: bool, ?tool_names: ::Array[String] }
|
|
705
1252
|
|
|
706
1253
|
class Always < OpenAI::Internal::Type::BaseModel
|
|
1254
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1255
|
+
# is
|
|
1256
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1257
|
+
# it will match this filter.
|
|
707
1258
|
attr_reader read_only: bool?
|
|
708
1259
|
|
|
1260
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1261
|
+
# is
|
|
1262
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1263
|
+
# it will match this filter.
|
|
709
1264
|
def read_only=: (bool) -> bool
|
|
710
1265
|
|
|
1266
|
+
# List of allowed tool names.
|
|
711
1267
|
attr_reader tool_names: ::Array[String]?
|
|
712
1268
|
|
|
1269
|
+
# List of allowed tool names.
|
|
713
1270
|
def tool_names=: (::Array[String]) -> ::Array[String]
|
|
714
1271
|
|
|
1272
|
+
# @param read_only
|
|
1273
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1274
|
+
# is
|
|
1275
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1276
|
+
# it will match this filter.
|
|
1277
|
+
# @param tool_names
|
|
1278
|
+
# List of allowed tool names.
|
|
715
1279
|
def initialize: (
|
|
716
1280
|
?read_only: bool,
|
|
717
1281
|
?tool_names: ::Array[String]
|
|
@@ -726,14 +1290,31 @@ module OpenAI
|
|
|
726
1290
|
type never = { ?read_only: bool, ?tool_names: ::Array[String] }
|
|
727
1291
|
|
|
728
1292
|
class Never < OpenAI::Internal::Type::BaseModel
|
|
1293
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1294
|
+
# is
|
|
1295
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1296
|
+
# it will match this filter.
|
|
729
1297
|
attr_reader read_only: bool?
|
|
730
1298
|
|
|
1299
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1300
|
+
# is
|
|
1301
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1302
|
+
# it will match this filter.
|
|
731
1303
|
def read_only=: (bool) -> bool
|
|
732
1304
|
|
|
1305
|
+
# List of allowed tool names.
|
|
733
1306
|
attr_reader tool_names: ::Array[String]?
|
|
734
1307
|
|
|
1308
|
+
# List of allowed tool names.
|
|
735
1309
|
def tool_names=: (::Array[String]) -> ::Array[String]
|
|
736
1310
|
|
|
1311
|
+
# @param read_only
|
|
1312
|
+
# Indicates whether or not a tool modifies data or is read-only. If an MCP server
|
|
1313
|
+
# is
|
|
1314
|
+
# [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),
|
|
1315
|
+
# it will match this filter.
|
|
1316
|
+
# @param tool_names
|
|
1317
|
+
# List of allowed tool names.
|
|
737
1318
|
def initialize: (
|
|
738
1319
|
?read_only: bool,
|
|
739
1320
|
?tool_names: ::Array[String]
|
|
@@ -775,18 +1356,39 @@ module OpenAI
|
|
|
775
1356
|
{ ?group_id: String, ?metadata: top, ?workflow_name: String }
|
|
776
1357
|
|
|
777
1358
|
class TracingConfiguration < OpenAI::Internal::Type::BaseModel
|
|
1359
|
+
# The group id to attach to this trace to enable filtering and grouping in the
|
|
1360
|
+
# Traces Dashboard.
|
|
778
1361
|
attr_reader group_id: String?
|
|
779
1362
|
|
|
1363
|
+
# The group id to attach to this trace to enable filtering and grouping in the
|
|
1364
|
+
# Traces Dashboard.
|
|
780
1365
|
def group_id=: (String) -> String
|
|
781
1366
|
|
|
1367
|
+
# The arbitrary metadata to attach to this trace to enable filtering in the Traces
|
|
1368
|
+
# Dashboard.
|
|
782
1369
|
attr_reader metadata: top?
|
|
783
1370
|
|
|
1371
|
+
# The arbitrary metadata to attach to this trace to enable filtering in the Traces
|
|
1372
|
+
# Dashboard.
|
|
784
1373
|
def metadata=: (top) -> top
|
|
785
1374
|
|
|
1375
|
+
# The name of the workflow to attach to this trace. This is used to name the trace
|
|
1376
|
+
# in the Traces Dashboard.
|
|
786
1377
|
attr_reader workflow_name: String?
|
|
787
1378
|
|
|
1379
|
+
# The name of the workflow to attach to this trace. This is used to name the trace
|
|
1380
|
+
# in the Traces Dashboard.
|
|
788
1381
|
def workflow_name=: (String) -> String
|
|
789
1382
|
|
|
1383
|
+
# @param group_id
|
|
1384
|
+
# The group id to attach to this trace to enable filtering and grouping in the
|
|
1385
|
+
# Traces Dashboard.
|
|
1386
|
+
# @param metadata
|
|
1387
|
+
# The arbitrary metadata to attach to this trace to enable filtering in the Traces
|
|
1388
|
+
# Dashboard.
|
|
1389
|
+
# @param workflow_name
|
|
1390
|
+
# The name of the workflow to attach to this trace. This is used to name the trace
|
|
1391
|
+
# in the Traces Dashboard.
|
|
790
1392
|
def initialize: (
|
|
791
1393
|
?group_id: String,
|
|
792
1394
|
?metadata: top,
|