openai 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/README.md +4 -4
- data/lib/openai/models/admin/organization/organization_spend_limit.rb +38 -1
- data/lib/openai/models/admin/organization/projects/project_spend_limit.rb +38 -1
- data/lib/openai/models/admin/organization/projects/spend_limit_update_params.rb +51 -1
- data/lib/openai/models/admin/organization/spend_limit_update_params.rb +49 -1
- data/lib/openai/models/admin/organization/usage_costs_params.rb +2 -2
- data/lib/openai/models/all_models.rb +4 -0
- data/lib/openai/models/batch.rb +4 -6
- data/lib/openai/models/batch_create_params.rb +2 -4
- data/lib/openai/models/beta/agents/automation_target_param.rb +2 -2
- data/lib/openai/models/beta/agents/session_create_params.rb +2 -2
- data/lib/openai/models/beta/agents/session_update_params.rb +12 -1
- data/lib/openai/models/beta/beta_compacted_response.rb +19 -1
- data/lib/openai/models/beta/beta_container_auto.rb +8 -2
- data/lib/openai/models/beta/beta_response.rb +23 -13
- data/lib/openai/models/beta/beta_responses_client_event.rb +39 -13
- data/lib/openai/models/beta/response_compact_params.rb +31 -10
- data/lib/openai/models/beta/response_create_params.rb +23 -13
- data/lib/openai/models/chat/chat_completion.rb +2 -4
- data/lib/openai/models/chat/completion_create_params.rb +15 -17
- data/lib/openai/models/chat/completion_update_params.rb +2 -4
- data/lib/openai/models/completion_create_params.rb +3 -3
- data/lib/openai/models/conversations/conversation_create_params.rb +12 -5
- data/lib/openai/models/eval_create_params.rb +2 -4
- data/lib/openai/models/eval_create_response.rb +5 -9
- data/lib/openai/models/eval_list_response.rb +5 -9
- data/lib/openai/models/eval_retrieve_response.rb +5 -9
- data/lib/openai/models/eval_stored_completions_data_source_config.rb +2 -4
- data/lib/openai/models/eval_update_params.rb +2 -4
- data/lib/openai/models/eval_update_response.rb +5 -9
- data/lib/openai/models/evals/create_eval_completions_run_data_source.rb +6 -8
- data/lib/openai/models/evals/run_cancel_response.rb +4 -6
- data/lib/openai/models/evals/run_create_params.rb +4 -6
- data/lib/openai/models/evals/run_create_response.rb +4 -6
- data/lib/openai/models/evals/run_list_response.rb +4 -6
- data/lib/openai/models/evals/run_retrieve_response.rb +4 -6
- data/lib/openai/models/fine_tuning/fine_tuning_job.rb +2 -4
- data/lib/openai/models/fine_tuning/job_create_params.rb +7 -6
- data/lib/openai/models/live/fork_server_event.rb +4 -4
- data/lib/openai/models/live/media_session_config.rb +15 -16
- data/lib/openai/models/live/responses_delegation_config.rb +8 -2
- data/lib/openai/models/live/responses_delegation_update_config.rb +8 -2
- data/lib/openai/models/live/server_event.rb +4 -4
- data/lib/openai/models/live/sideband_server_event.rb +4 -4
- data/lib/openai/models/realtime/realtime_audio_config_input.rb +12 -9
- data/lib/openai/models/realtime/realtime_response.rb +2 -4
- data/lib/openai/models/realtime/realtime_response_create_params.rb +2 -4
- data/lib/openai/models/responses/compacted_response.rb +19 -1
- data/lib/openai/models/responses/container_auto.rb +8 -2
- data/lib/openai/models/responses/response.rb +8 -10
- data/lib/openai/models/responses/response_compact_params.rb +31 -10
- data/lib/openai/models/responses/response_create_params.rb +8 -10
- data/lib/openai/models/responses/responses_client_event.rb +8 -10
- data/lib/openai/models/responses_model.rb +4 -0
- data/lib/openai/models/vector_store.rb +2 -4
- data/lib/openai/models/vector_store_create_params.rb +2 -4
- data/lib/openai/models/vector_store_update_params.rb +2 -4
- data/lib/openai/resources/admin/organization/projects/spend_limit.rb +5 -1
- data/lib/openai/resources/admin/organization/spend_limit.rb +5 -1
- data/lib/openai/resources/admin/organization/usage.rb +1 -1
- data/lib/openai/resources/batches.rb +1 -2
- data/lib/openai/resources/beta/agents/sessions/events.rb +7 -2
- data/lib/openai/resources/beta/agents/sessions/traces.rb +4 -2
- data/lib/openai/resources/beta/agents/sessions.rb +8 -4
- data/lib/openai/resources/beta/responses.rb +9 -6
- data/lib/openai/resources/chat/completions.rb +11 -14
- data/lib/openai/resources/completions.rb +2 -2
- data/lib/openai/resources/conversations.rb +5 -3
- data/lib/openai/resources/evals/runs.rb +1 -2
- data/lib/openai/resources/evals.rb +2 -4
- data/lib/openai/resources/fine_tuning/jobs.rb +2 -3
- data/lib/openai/resources/responses.rb +15 -14
- data/lib/openai/resources/vector_stores.rb +2 -4
- data/lib/openai/version.rb +1 -1
- data/rbi/openai/models/admin/organization/organization_spend_limit.rbi +68 -1
- data/rbi/openai/models/admin/organization/projects/project_spend_limit.rbi +68 -1
- data/rbi/openai/models/admin/organization/projects/spend_limit_update_params.rbi +87 -0
- data/rbi/openai/models/admin/organization/spend_limit_update_params.rbi +85 -0
- data/rbi/openai/models/admin/organization/usage_costs_params.rbi +2 -2
- data/rbi/openai/models/all_models.rbi +7 -0
- data/rbi/openai/models/batch.rbi +4 -6
- data/rbi/openai/models/batch_create_params.rbi +2 -4
- data/rbi/openai/models/beta/agents/automation_target_param.rbi +2 -2
- data/rbi/openai/models/beta/agents/session_create_params.rbi +2 -2
- data/rbi/openai/models/beta/agents/session_update_params.rbi +12 -0
- data/rbi/openai/models/beta/beta_compacted_response.rbi +24 -1
- data/rbi/openai/models/beta/beta_container_auto.rbi +8 -2
- data/rbi/openai/models/beta/beta_response.rbi +15 -13
- data/rbi/openai/models/beta/beta_responses_client_event.rbi +27 -13
- data/rbi/openai/models/beta/response_compact_params.rbi +35 -9
- data/rbi/openai/models/beta/response_create_params.rbi +27 -13
- data/rbi/openai/models/chat/chat_completion.rbi +2 -4
- data/rbi/openai/models/chat/completion_create_params.rbi +14 -16
- data/rbi/openai/models/chat/completion_update_params.rbi +2 -4
- data/rbi/openai/models/completion_create_params.rbi +3 -3
- data/rbi/openai/models/conversations/conversation_create_params.rbi +12 -4
- data/rbi/openai/models/eval_create_params.rbi +2 -4
- data/rbi/openai/models/eval_create_response.rbi +5 -9
- data/rbi/openai/models/eval_list_response.rbi +5 -9
- data/rbi/openai/models/eval_retrieve_response.rbi +5 -9
- data/rbi/openai/models/eval_stored_completions_data_source_config.rbi +2 -4
- data/rbi/openai/models/eval_update_params.rbi +2 -4
- data/rbi/openai/models/eval_update_response.rbi +5 -9
- data/rbi/openai/models/evals/create_eval_completions_run_data_source.rbi +6 -8
- data/rbi/openai/models/evals/run_cancel_response.rbi +4 -6
- data/rbi/openai/models/evals/run_create_params.rbi +4 -6
- data/rbi/openai/models/evals/run_create_response.rbi +4 -6
- data/rbi/openai/models/evals/run_list_response.rbi +4 -6
- data/rbi/openai/models/evals/run_retrieve_response.rbi +4 -6
- data/rbi/openai/models/fine_tuning/fine_tuning_job.rbi +2 -4
- data/rbi/openai/models/fine_tuning/job_create_params.rbi +8 -6
- data/rbi/openai/models/live/fork_server_event.rbi +3 -3
- data/rbi/openai/models/live/media_session_config.rbi +15 -16
- data/rbi/openai/models/live/responses_delegation_config.rbi +8 -2
- data/rbi/openai/models/live/responses_delegation_update_config.rbi +8 -2
- data/rbi/openai/models/live/server_event.rbi +3 -3
- data/rbi/openai/models/live/sideband_server_event.rbi +3 -3
- data/rbi/openai/models/realtime/realtime_audio_config_input.rbi +12 -9
- data/rbi/openai/models/realtime/realtime_response.rbi +2 -4
- data/rbi/openai/models/realtime/realtime_response_create_params.rbi +2 -4
- data/rbi/openai/models/responses/compacted_response.rbi +24 -1
- data/rbi/openai/models/responses/container_auto.rbi +8 -2
- data/rbi/openai/models/responses/response.rbi +8 -10
- data/rbi/openai/models/responses/response_compact_params.rbi +35 -9
- data/rbi/openai/models/responses/response_create_params.rbi +8 -10
- data/rbi/openai/models/responses/responses_client_event.rbi +8 -10
- data/rbi/openai/models/responses_model.rbi +16 -0
- data/rbi/openai/models/vector_store.rbi +2 -4
- data/rbi/openai/models/vector_store_create_params.rbi +2 -4
- data/rbi/openai/models/vector_store_update_params.rbi +2 -4
- data/rbi/openai/resources/admin/organization/projects/spend_limit.rbi +6 -0
- data/rbi/openai/resources/admin/organization/spend_limit.rbi +6 -0
- data/rbi/openai/resources/admin/organization/usage.rbi +1 -1
- data/rbi/openai/resources/batches.rbi +1 -2
- data/rbi/openai/resources/beta/agents/sessions/events.rbi +7 -2
- data/rbi/openai/resources/beta/agents/sessions/traces.rbi +4 -2
- data/rbi/openai/resources/beta/agents/sessions.rbi +7 -3
- data/rbi/openai/resources/beta/responses.rbi +8 -5
- data/rbi/openai/resources/chat/completions.rbi +11 -14
- data/rbi/openai/resources/completions.rbi +2 -2
- data/rbi/openai/resources/conversations.rbi +4 -2
- data/rbi/openai/resources/evals/runs.rbi +1 -2
- data/rbi/openai/resources/evals.rbi +2 -4
- data/rbi/openai/resources/fine_tuning/jobs.rbi +2 -3
- data/rbi/openai/resources/responses.rbi +14 -13
- data/rbi/openai/resources/vector_stores.rbi +2 -4
- data/sig/openai/models/admin/organization/organization_spend_limit.rbs +42 -2
- data/sig/openai/models/admin/organization/projects/project_spend_limit.rbs +42 -2
- data/sig/openai/models/admin/organization/projects/spend_limit_update_params.rbs +48 -0
- data/sig/openai/models/admin/organization/spend_limit_update_params.rbs +48 -0
- data/sig/openai/models/admin/organization/usage_costs_params.rbs +3 -3
- data/sig/openai/models/all_models.rbs +8 -0
- data/sig/openai/models/batch.rbs +5 -7
- data/sig/openai/models/batch_create_params.rbs +2 -4
- data/sig/openai/models/beta/agents/automation_target_param.rbs +2 -2
- data/sig/openai/models/beta/agents/session_create_params.rbs +2 -2
- data/sig/openai/models/beta/agents/session_update_params.rbs +10 -0
- data/sig/openai/models/beta/beta_compacted_response.rbs +21 -2
- data/sig/openai/models/beta/beta_container_auto.rbs +12 -3
- data/sig/openai/models/beta/beta_response.rbs +16 -10
- data/sig/openai/models/beta/beta_responses_client_event.rbs +19 -13
- data/sig/openai/models/beta/response_compact_params.rbs +22 -6
- data/sig/openai/models/beta/response_create_params.rbs +19 -13
- data/sig/openai/models/chat/chat_completion.rbs +2 -4
- data/sig/openai/models/chat/completion_create_params.rbs +10 -12
- data/sig/openai/models/chat/completion_update_params.rbs +2 -4
- data/sig/openai/models/completion_create_params.rbs +2 -2
- data/sig/openai/models/conversations/conversation_create_params.rbs +10 -4
- data/sig/openai/models/eval_create_params.rbs +2 -4
- data/sig/openai/models/eval_create_response.rbs +4 -8
- data/sig/openai/models/eval_list_response.rbs +4 -8
- data/sig/openai/models/eval_retrieve_response.rbs +4 -8
- data/sig/openai/models/eval_stored_completions_data_source_config.rbs +2 -4
- data/sig/openai/models/eval_update_params.rbs +2 -4
- data/sig/openai/models/eval_update_response.rbs +4 -8
- data/sig/openai/models/evals/create_eval_completions_run_data_source.rbs +7 -9
- data/sig/openai/models/evals/run_cancel_response.rbs +5 -7
- data/sig/openai/models/evals/run_create_params.rbs +5 -7
- data/sig/openai/models/evals/run_create_response.rbs +5 -7
- data/sig/openai/models/evals/run_list_response.rbs +5 -7
- data/sig/openai/models/evals/run_retrieve_response.rbs +5 -7
- data/sig/openai/models/fine_tuning/fine_tuning_job.rbs +2 -4
- data/sig/openai/models/fine_tuning/job_create_params.rbs +6 -6
- data/sig/openai/models/live/media_session_config.rbs +21 -21
- data/sig/openai/models/live/responses_delegation_config.rbs +8 -2
- data/sig/openai/models/live/responses_delegation_update_config.rbs +8 -2
- data/sig/openai/models/realtime/realtime_audio_config_input.rbs +12 -9
- data/sig/openai/models/realtime/realtime_response.rbs +2 -4
- data/sig/openai/models/realtime/realtime_response_create_params.rbs +2 -4
- data/sig/openai/models/responses/compacted_response.rbs +21 -2
- data/sig/openai/models/responses/container_auto.rbs +12 -3
- data/sig/openai/models/responses/response.rbs +8 -10
- data/sig/openai/models/responses/response_compact_params.rbs +22 -6
- data/sig/openai/models/responses/response_create_params.rbs +11 -13
- data/sig/openai/models/responses/responses_client_event.rbs +11 -13
- data/sig/openai/models/responses_model.rbs +8 -0
- data/sig/openai/models/vector_store.rbs +2 -4
- data/sig/openai/models/vector_store_create_params.rbs +2 -4
- data/sig/openai/models/vector_store_update_params.rbs +2 -4
- data/sig/openai/resources/admin/organization/projects/spend_limit.rbs +1 -0
- data/sig/openai/resources/admin/organization/spend_limit.rbs +1 -0
- data/sig/openai/resources/beta/agents/sessions.rbs +1 -0
- data/sig/openai/resources/beta/responses.rbs +1 -0
- data/sig/openai/resources/conversations.rbs +1 -0
- data/sig/openai/resources/responses.rbs +1 -0
- metadata +1 -1
|
@@ -18,16 +18,18 @@ module OpenAI
|
|
|
18
18
|
OpenAI::Models::Realtime::realtime_audio_formats
|
|
19
19
|
) -> OpenAI::Models::Realtime::realtime_audio_formats
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
#
|
|
21
|
+
# When you supply a `noise_reduction` object, you must set `type` to `near_field`
|
|
22
|
+
# or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise
|
|
23
|
+
# reduction. Noise reduction filters audio added to the input audio buffer before
|
|
24
|
+
# it is sent to VAD and the model. Filtering the audio can improve VAD and turn
|
|
24
25
|
# detection accuracy (reducing false positives) and model performance by improving
|
|
25
26
|
# perception of the input audio.
|
|
26
27
|
attr_reader noise_reduction: OpenAI::Realtime::RealtimeAudioConfigInput::NoiseReduction?
|
|
27
28
|
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
29
|
+
# When you supply a `noise_reduction` object, you must set `type` to `near_field`
|
|
30
|
+
# or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise
|
|
31
|
+
# reduction. Noise reduction filters audio added to the input audio buffer before
|
|
32
|
+
# it is sent to VAD and the model. Filtering the audio can improve VAD and turn
|
|
31
33
|
# detection accuracy (reducing false positives) and model performance by improving
|
|
32
34
|
# perception of the input audio.
|
|
33
35
|
def noise_reduction=: (
|
|
@@ -77,9 +79,10 @@ module OpenAI
|
|
|
77
79
|
# @param format_
|
|
78
80
|
# The format of the input audio.
|
|
79
81
|
# @param noise_reduction
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
82
|
+
# When you supply a `noise_reduction` object, you must set `type` to `near_field`
|
|
83
|
+
# or `far_field`. Set `noise_reduction` to `null` to turn off input audio noise
|
|
84
|
+
# reduction. Noise reduction filters audio added to the input audio buffer before
|
|
85
|
+
# it is sent to VAD and the model. Filtering the audio can improve VAD and turn
|
|
83
86
|
# detection accuracy (reducing false positives) and model performance by improving
|
|
84
87
|
# perception of the input audio.
|
|
85
88
|
# @param transcription
|
|
@@ -58,8 +58,7 @@ module OpenAI
|
|
|
58
58
|
) -> OpenAI::Models::Realtime::RealtimeResponse::max_output_tokens
|
|
59
59
|
|
|
60
60
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
61
|
-
# for storing additional information about the object in a structured format
|
|
62
|
-
# querying for objects via API or the dashboard.
|
|
61
|
+
# for storing additional information about the object in a structured format.
|
|
63
62
|
#
|
|
64
63
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
65
64
|
# a maximum length of 512 characters.
|
|
@@ -143,8 +142,7 @@ module OpenAI
|
|
|
143
142
|
# tool calls, that was used in this response.
|
|
144
143
|
# @param metadata
|
|
145
144
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
146
|
-
# for storing additional information about the object in a structured format
|
|
147
|
-
# querying for objects via API or the dashboard.
|
|
145
|
+
# for storing additional information about the object in a structured format.
|
|
148
146
|
#
|
|
149
147
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
150
148
|
# a maximum length of 512 characters.
|
|
@@ -93,8 +93,7 @@ module OpenAI
|
|
|
93
93
|
) -> OpenAI::Models::Realtime::RealtimeResponseCreateParams::max_output_tokens
|
|
94
94
|
|
|
95
95
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
96
|
-
# for storing additional information about the object in a structured format
|
|
97
|
-
# querying for objects via API or the dashboard.
|
|
96
|
+
# for storing additional information about the object in a structured format.
|
|
98
97
|
#
|
|
99
98
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
100
99
|
# a maximum length of 512 characters.
|
|
@@ -182,8 +181,7 @@ module OpenAI
|
|
|
182
181
|
# `inf` for the maximum available tokens for a given model. Defaults to `inf`.
|
|
183
182
|
# @param metadata
|
|
184
183
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
185
|
-
# for storing additional information about the object in a structured format
|
|
186
|
-
# querying for objects via API or the dashboard.
|
|
184
|
+
# for storing additional information about the object in a structured format.
|
|
187
185
|
#
|
|
188
186
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
189
187
|
# a maximum length of 512 characters.
|
|
@@ -8,7 +8,9 @@ module OpenAI
|
|
|
8
8
|
?object: :"response.compaction",
|
|
9
9
|
output: ::Array[OpenAI::Models::Responses::response_item],
|
|
10
10
|
usage: OpenAI::Responses::ResponseUsage,
|
|
11
|
-
?image: OpenAI::Responses::CompactedResponse::Image
|
|
11
|
+
?image: OpenAI::Responses::CompactedResponse::Image,
|
|
12
|
+
?safety_identifier: String?,
|
|
13
|
+
?service_tier: String
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
class CompactedResponse < OpenAI::Internal::Type::BaseModel
|
|
@@ -35,6 +37,15 @@ module OpenAI
|
|
|
35
37
|
OpenAI::Responses::CompactedResponse::Image
|
|
36
38
|
) -> OpenAI::Responses::CompactedResponse::Image
|
|
37
39
|
|
|
40
|
+
# A stable identifier that was used for safety monitoring and abuse detection.
|
|
41
|
+
attr_accessor safety_identifier: String?
|
|
42
|
+
|
|
43
|
+
# The service tier used for compaction, when reported.
|
|
44
|
+
attr_reader service_tier: String?
|
|
45
|
+
|
|
46
|
+
# The service tier used for compaction, when reported.
|
|
47
|
+
def service_tier=: (String) -> String
|
|
48
|
+
|
|
38
49
|
# @param id
|
|
39
50
|
# The unique identifier for the compacted response.
|
|
40
51
|
# @param created_at
|
|
@@ -45,6 +56,10 @@ module OpenAI
|
|
|
45
56
|
# @param usage
|
|
46
57
|
# Token accounting for the compaction pass, including cached, reasoning, and total
|
|
47
58
|
# tokens.
|
|
59
|
+
# @param safety_identifier
|
|
60
|
+
# A stable identifier that was used for safety monitoring and abuse detection.
|
|
61
|
+
# @param service_tier
|
|
62
|
+
# The service tier used for compaction, when reported.
|
|
48
63
|
# @param object
|
|
49
64
|
# The object type. Always `response.compaction`.
|
|
50
65
|
def initialize: (
|
|
@@ -53,6 +68,8 @@ module OpenAI
|
|
|
53
68
|
output: ::Array[OpenAI::Models::Responses::response_item],
|
|
54
69
|
usage: OpenAI::Responses::ResponseUsage,
|
|
55
70
|
?image: OpenAI::Responses::CompactedResponse::Image,
|
|
71
|
+
?safety_identifier: String?,
|
|
72
|
+
?service_tier: String,
|
|
56
73
|
?object: :"response.compaction"
|
|
57
74
|
) -> void
|
|
58
75
|
|
|
@@ -62,7 +79,9 @@ module OpenAI
|
|
|
62
79
|
?object: :"response.compaction",
|
|
63
80
|
output: ::Array[OpenAI::Models::Responses::response_item],
|
|
64
81
|
usage: OpenAI::Responses::ResponseUsage,
|
|
65
|
-
?image: OpenAI::Responses::CompactedResponse::Image
|
|
82
|
+
?image: OpenAI::Responses::CompactedResponse::Image,
|
|
83
|
+
?safety_identifier: String?,
|
|
84
|
+
?service_tier: String
|
|
66
85
|
}
|
|
67
86
|
|
|
68
87
|
type image =
|
|
@@ -31,10 +31,16 @@ module OpenAI
|
|
|
31
31
|
OpenAI::Models::Responses::ContainerAuto::network_policy
|
|
32
32
|
) -> OpenAI::Models::Responses::ContainerAuto::network_policy
|
|
33
33
|
|
|
34
|
-
# An optional list of skills referenced by id or inline data.
|
|
34
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
35
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
36
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
37
|
+
# references do not count toward these limits.
|
|
35
38
|
attr_reader skills: ::Array[OpenAI::Models::Responses::ContainerAuto::skill]?
|
|
36
39
|
|
|
37
|
-
# An optional list of skills referenced by id or inline data.
|
|
40
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
41
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
42
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
43
|
+
# references do not count toward these limits.
|
|
38
44
|
def skills=: (
|
|
39
45
|
::Array[OpenAI::Models::Responses::ContainerAuto::skill]
|
|
40
46
|
) -> ::Array[OpenAI::Models::Responses::ContainerAuto::skill]
|
|
@@ -46,7 +52,10 @@ module OpenAI
|
|
|
46
52
|
# @param network_policy
|
|
47
53
|
# Network access policy for the container.
|
|
48
54
|
# @param skills
|
|
49
|
-
# An optional list of skills referenced by id or inline data.
|
|
55
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
56
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
57
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
58
|
+
# references do not count toward these limits.
|
|
50
59
|
# @param type
|
|
51
60
|
# Automatically creates a container for this request
|
|
52
61
|
def initialize: (
|
|
@@ -67,16 +67,15 @@ module OpenAI
|
|
|
67
67
|
attr_accessor instructions: OpenAI::Models::Responses::Response::instructions?
|
|
68
68
|
|
|
69
69
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
70
|
-
# for storing additional information about the object in a structured format
|
|
71
|
-
# querying for objects via API or the dashboard.
|
|
70
|
+
# for storing additional information about the object in a structured format.
|
|
72
71
|
#
|
|
73
72
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
74
73
|
# a maximum length of 512 characters.
|
|
75
74
|
attr_accessor metadata: OpenAI::Models::metadata?
|
|
76
75
|
|
|
77
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
78
|
-
# range of models with different capabilities, performance characteristics,
|
|
79
|
-
# price points. Refer to the
|
|
76
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
77
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
78
|
+
# and price points. Refer to the
|
|
80
79
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
81
80
|
# compare available models.
|
|
82
81
|
attr_accessor model: OpenAI::Models::responses_model
|
|
@@ -381,15 +380,14 @@ module OpenAI
|
|
|
381
380
|
# swap out system (or developer) messages in new responses.
|
|
382
381
|
# @param metadata
|
|
383
382
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
384
|
-
# for storing additional information about the object in a structured format
|
|
385
|
-
# querying for objects via API or the dashboard.
|
|
383
|
+
# for storing additional information about the object in a structured format.
|
|
386
384
|
#
|
|
387
385
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
388
386
|
# a maximum length of 512 characters.
|
|
389
387
|
# @param model
|
|
390
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
391
|
-
# range of models with different capabilities, performance characteristics,
|
|
392
|
-
# price points. Refer to the
|
|
388
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
389
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
390
|
+
# and price points. Refer to the
|
|
393
391
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
394
392
|
# compare available models.
|
|
395
393
|
# @param output
|
|
@@ -11,6 +11,7 @@ module OpenAI
|
|
|
11
11
|
?prompt_cache_key: String?,
|
|
12
12
|
?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
|
|
13
13
|
?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
|
|
14
|
+
?safety_identifier: String?,
|
|
14
15
|
?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
|
|
15
16
|
?request_options: OpenAI::request_opts
|
|
16
17
|
}
|
|
@@ -19,9 +20,9 @@ module OpenAI
|
|
|
19
20
|
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
20
21
|
include OpenAI::Internal::Type::RequestParameters
|
|
21
22
|
|
|
22
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
23
|
-
# range of models with different capabilities, performance characteristics,
|
|
24
|
-
# price points. Refer to the
|
|
23
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
24
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
25
|
+
# and price points. Refer to the
|
|
25
26
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
26
27
|
# compare available models.
|
|
27
28
|
attr_accessor model: OpenAI::Models::Responses::ResponseCompactParams::model?
|
|
@@ -66,6 +67,9 @@ module OpenAI
|
|
|
66
67
|
# How long to retain a prompt cache entry created by this request.
|
|
67
68
|
attr_accessor prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?
|
|
68
69
|
|
|
70
|
+
# A stable identifier used for safety monitoring and abuse detection.
|
|
71
|
+
attr_accessor safety_identifier: String?
|
|
72
|
+
|
|
69
73
|
# Specifies the processing type used for serving the request. - If set to 'auto',
|
|
70
74
|
# then the request will be processed with the service tier configured in the
|
|
71
75
|
# Project settings. Unless otherwise configured, the Project will use 'default'. -
|
|
@@ -85,9 +89,9 @@ module OpenAI
|
|
|
85
89
|
attr_accessor service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?
|
|
86
90
|
|
|
87
91
|
# @param model
|
|
88
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
89
|
-
# range of models with different capabilities, performance characteristics,
|
|
90
|
-
# price points. Refer to the
|
|
92
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
93
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
94
|
+
# and price points. Refer to the
|
|
91
95
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
92
96
|
# compare available models.
|
|
93
97
|
# @param image
|
|
@@ -118,6 +122,8 @@ module OpenAI
|
|
|
118
122
|
# for current details.
|
|
119
123
|
# @param prompt_cache_retention
|
|
120
124
|
# How long to retain a prompt cache entry created by this request.
|
|
125
|
+
# @param safety_identifier
|
|
126
|
+
# A stable identifier used for safety monitoring and abuse detection.
|
|
121
127
|
# @param service_tier
|
|
122
128
|
# Specifies the processing type used for serving the request. - If set to 'auto',
|
|
123
129
|
# then the request will be processed with the service tier configured in the
|
|
@@ -144,6 +150,7 @@ module OpenAI
|
|
|
144
150
|
?prompt_cache_key: String?,
|
|
145
151
|
?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
|
|
146
152
|
?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
|
|
153
|
+
?safety_identifier: String?,
|
|
147
154
|
?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
|
|
148
155
|
?request_options: OpenAI::request_opts
|
|
149
156
|
) -> void
|
|
@@ -157,6 +164,7 @@ module OpenAI
|
|
|
157
164
|
?prompt_cache_key: String?,
|
|
158
165
|
?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
|
|
159
166
|
?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
|
|
167
|
+
?safety_identifier: String?,
|
|
160
168
|
?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
|
|
161
169
|
?request_options: OpenAI::RequestOptions
|
|
162
170
|
}
|
|
@@ -274,6 +282,10 @@ module OpenAI
|
|
|
274
282
|
| :"gpt-rosalind-research"
|
|
275
283
|
| :"gpt-6-rosalind"
|
|
276
284
|
| :"gpt-6.2-astra-law"
|
|
285
|
+
| :"gpt-6-astra-healthcare"
|
|
286
|
+
| :"gpt-6.1-sol-healthcare"
|
|
287
|
+
| :"gpt-6.2-astra-healthcare"
|
|
288
|
+
| :"gpt-6.2-sol-healthcare"
|
|
277
289
|
| String
|
|
278
290
|
|
|
279
291
|
module Model
|
|
@@ -393,6 +405,10 @@ module OpenAI
|
|
|
393
405
|
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
394
406
|
GPT_6_ROSALIND: :"gpt-6-rosalind"
|
|
395
407
|
GPT_6_2_ASTRA_LAW: :"gpt-6.2-astra-law"
|
|
408
|
+
GPT_6_ASTRA_HEALTHCARE: :"gpt-6-astra-healthcare"
|
|
409
|
+
GPT_6_1_SOL_HEALTHCARE: :"gpt-6.1-sol-healthcare"
|
|
410
|
+
GPT_6_2_ASTRA_HEALTHCARE: :"gpt-6.2-astra-healthcare"
|
|
411
|
+
GPT_6_2_SOL_HEALTHCARE: :"gpt-6.2-sol-healthcare"
|
|
396
412
|
end
|
|
397
413
|
|
|
398
414
|
type image =
|
|
@@ -147,23 +147,22 @@ module OpenAI
|
|
|
147
147
|
attr_accessor max_tool_calls: Integer?
|
|
148
148
|
|
|
149
149
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
150
|
-
# for storing additional information about the object in a structured format
|
|
151
|
-
# querying for objects via API or the dashboard.
|
|
150
|
+
# for storing additional information about the object in a structured format.
|
|
152
151
|
#
|
|
153
152
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
154
153
|
# a maximum length of 512 characters.
|
|
155
154
|
attr_accessor metadata: OpenAI::Models::metadata?
|
|
156
155
|
|
|
157
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
158
|
-
# range of models with different capabilities, performance characteristics,
|
|
159
|
-
# price points. Refer to the
|
|
156
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
157
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
158
|
+
# and price points. Refer to the
|
|
160
159
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
161
160
|
# compare available models.
|
|
162
161
|
attr_reader model: OpenAI::Models::responses_model?
|
|
163
162
|
|
|
164
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
165
|
-
# range of models with different capabilities, performance characteristics,
|
|
166
|
-
# price points. Refer to the
|
|
163
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
164
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
165
|
+
# and price points. Refer to the
|
|
167
166
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
168
167
|
# compare available models.
|
|
169
168
|
def model=: (
|
|
@@ -466,15 +465,14 @@ module OpenAI
|
|
|
466
465
|
# ignored.
|
|
467
466
|
# @param metadata
|
|
468
467
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
469
|
-
# for storing additional information about the object in a structured format
|
|
470
|
-
# querying for objects via API or the dashboard.
|
|
468
|
+
# for storing additional information about the object in a structured format.
|
|
471
469
|
#
|
|
472
470
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
473
471
|
# a maximum length of 512 characters.
|
|
474
472
|
# @param model
|
|
475
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
476
|
-
# range of models with different capabilities, performance characteristics,
|
|
477
|
-
# price points. Refer to the
|
|
473
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
474
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
475
|
+
# and price points. Refer to the
|
|
478
476
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
479
477
|
# compare available models.
|
|
480
478
|
# @param moderation
|
|
@@ -167,23 +167,22 @@ module OpenAI
|
|
|
167
167
|
attr_accessor max_tool_calls: Integer?
|
|
168
168
|
|
|
169
169
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
170
|
-
# for storing additional information about the object in a structured format
|
|
171
|
-
# querying for objects via API or the dashboard.
|
|
170
|
+
# for storing additional information about the object in a structured format.
|
|
172
171
|
#
|
|
173
172
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
174
173
|
# a maximum length of 512 characters.
|
|
175
174
|
attr_accessor metadata: OpenAI::Models::metadata?
|
|
176
175
|
|
|
177
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
178
|
-
# range of models with different capabilities, performance characteristics,
|
|
179
|
-
# price points. Refer to the
|
|
176
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
177
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
178
|
+
# and price points. Refer to the
|
|
180
179
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
181
180
|
# compare available models.
|
|
182
181
|
attr_reader model: OpenAI::Models::responses_model?
|
|
183
182
|
|
|
184
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
185
|
-
# range of models with different capabilities, performance characteristics,
|
|
186
|
-
# price points. Refer to the
|
|
183
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
184
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
185
|
+
# and price points. Refer to the
|
|
187
186
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
188
187
|
# compare available models.
|
|
189
188
|
def model=: (
|
|
@@ -510,15 +509,14 @@ module OpenAI
|
|
|
510
509
|
# ignored.
|
|
511
510
|
# @param metadata
|
|
512
511
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
513
|
-
# for storing additional information about the object in a structured format
|
|
514
|
-
# querying for objects via API or the dashboard.
|
|
512
|
+
# for storing additional information about the object in a structured format.
|
|
515
513
|
#
|
|
516
514
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
517
515
|
# a maximum length of 512 characters.
|
|
518
516
|
# @param model
|
|
519
|
-
# Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a
|
|
520
|
-
# range of models with different capabilities, performance characteristics,
|
|
521
|
-
# price points. Refer to the
|
|
517
|
+
# Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
|
|
518
|
+
# wide range of models with different capabilities, performance characteristics,
|
|
519
|
+
# and price points. Refer to the
|
|
522
520
|
# [model guide](https://developers.openai.com/api/docs/models) to browse and
|
|
523
521
|
# compare available models.
|
|
524
522
|
# @param moderation
|
|
@@ -32,6 +32,10 @@ module OpenAI
|
|
|
32
32
|
| :"gpt-rosalind-research"
|
|
33
33
|
| :"gpt-6-rosalind"
|
|
34
34
|
| :"gpt-6.2-astra-law"
|
|
35
|
+
| :"gpt-6-astra-healthcare"
|
|
36
|
+
| :"gpt-6.1-sol-healthcare"
|
|
37
|
+
| :"gpt-6.2-astra-healthcare"
|
|
38
|
+
| :"gpt-6.2-sol-healthcare"
|
|
35
39
|
|
|
36
40
|
module ResponsesOnlyModel
|
|
37
41
|
extend OpenAI::Internal::Type::Enum
|
|
@@ -59,6 +63,10 @@ module OpenAI
|
|
|
59
63
|
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
60
64
|
GPT_6_ROSALIND: :"gpt-6-rosalind"
|
|
61
65
|
GPT_6_2_ASTRA_LAW: :"gpt-6.2-astra-law"
|
|
66
|
+
GPT_6_ASTRA_HEALTHCARE: :"gpt-6-astra-healthcare"
|
|
67
|
+
GPT_6_1_SOL_HEALTHCARE: :"gpt-6.1-sol-healthcare"
|
|
68
|
+
GPT_6_2_ASTRA_HEALTHCARE: :"gpt-6.2-astra-healthcare"
|
|
69
|
+
GPT_6_2_SOL_HEALTHCARE: :"gpt-6.2-sol-healthcare"
|
|
62
70
|
|
|
63
71
|
def self?.values: -> ::Array[OpenAI::Models::ResponsesModel::responses_only_model]
|
|
64
72
|
end
|
|
@@ -28,8 +28,7 @@ module OpenAI
|
|
|
28
28
|
attr_accessor last_active_at: Integer?
|
|
29
29
|
|
|
30
30
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
31
|
-
# for storing additional information about the object in a structured format
|
|
32
|
-
# querying for objects via API or the dashboard.
|
|
31
|
+
# for storing additional information about the object in a structured format.
|
|
33
32
|
#
|
|
34
33
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
35
34
|
# a maximum length of 512 characters.
|
|
@@ -68,8 +67,7 @@ module OpenAI
|
|
|
68
67
|
# The Unix timestamp (in seconds) for when the vector store was last active.
|
|
69
68
|
# @param metadata
|
|
70
69
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
71
|
-
# for storing additional information about the object in a structured format
|
|
72
|
-
# querying for objects via API or the dashboard.
|
|
70
|
+
# for storing additional information about the object in a structured format.
|
|
73
71
|
#
|
|
74
72
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
75
73
|
# a maximum length of 512 characters.
|
|
@@ -52,8 +52,7 @@ module OpenAI
|
|
|
52
52
|
def file_ids=: (::Array[String]) -> ::Array[String]
|
|
53
53
|
|
|
54
54
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
55
|
-
# for storing additional information about the object in a structured format
|
|
56
|
-
# querying for objects via API or the dashboard.
|
|
55
|
+
# for storing additional information about the object in a structured format.
|
|
57
56
|
#
|
|
58
57
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
59
58
|
# a maximum length of 512 characters.
|
|
@@ -79,8 +78,7 @@ module OpenAI
|
|
|
79
78
|
# can access files.
|
|
80
79
|
# @param metadata
|
|
81
80
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
82
|
-
# for storing additional information about the object in a structured format
|
|
83
|
-
# querying for objects via API or the dashboard.
|
|
81
|
+
# for storing additional information about the object in a structured format.
|
|
84
82
|
#
|
|
85
83
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
86
84
|
# a maximum length of 512 characters.
|
|
@@ -19,8 +19,7 @@ module OpenAI
|
|
|
19
19
|
attr_accessor expires_after: OpenAI::VectorStoreUpdateParams::ExpiresAfter?
|
|
20
20
|
|
|
21
21
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
22
|
-
# for storing additional information about the object in a structured format
|
|
23
|
-
# querying for objects via API or the dashboard.
|
|
22
|
+
# for storing additional information about the object in a structured format.
|
|
24
23
|
#
|
|
25
24
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
26
25
|
# a maximum length of 512 characters.
|
|
@@ -33,8 +32,7 @@ module OpenAI
|
|
|
33
32
|
# The expiration policy for a vector store.
|
|
34
33
|
# @param metadata
|
|
35
34
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
36
|
-
# for storing additional information about the object in a structured format
|
|
37
|
-
# querying for objects via API or the dashboard.
|
|
35
|
+
# for storing additional information about the object in a structured format.
|
|
38
36
|
#
|
|
39
37
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
40
38
|
# a maximum length of 512 characters.
|
|
@@ -14,6 +14,7 @@ module OpenAI
|
|
|
14
14
|
currency: OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::currency,
|
|
15
15
|
interval: OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::interval,
|
|
16
16
|
threshold_amount: Integer,
|
|
17
|
+
?notification_channel: OpenAI::Admin::Organization::Projects::SpendLimitUpdateParams::NotificationChannel?,
|
|
17
18
|
?request_options: OpenAI::request_opts
|
|
18
19
|
) -> OpenAI::Admin::Organization::Projects::ProjectSpendLimit
|
|
19
20
|
|
|
@@ -11,6 +11,7 @@ module OpenAI
|
|
|
11
11
|
currency: OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::currency,
|
|
12
12
|
interval: OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::interval,
|
|
13
13
|
threshold_amount: Integer,
|
|
14
|
+
?notification_channel: OpenAI::Admin::Organization::SpendLimitUpdateParams::NotificationChannel?,
|
|
14
15
|
?request_options: OpenAI::request_opts
|
|
15
16
|
) -> OpenAI::Admin::Organization::OrganizationSpendLimit
|
|
16
17
|
|
|
@@ -57,6 +57,7 @@ module OpenAI
|
|
|
57
57
|
?prompt_cache_options: OpenAI::Beta::Agents::SessionUpdateParams::PromptCacheOptions?,
|
|
58
58
|
?review: OpenAI::Models::Beta::Agents::SessionUpdateParams::review,
|
|
59
59
|
?spend_control: OpenAI::Beta::Agents::SessionUpdateParams::SpendControl?,
|
|
60
|
+
?vault_ids: ::Array[String]?,
|
|
60
61
|
?request_options: OpenAI::request_opts
|
|
61
62
|
) -> OpenAI::Beta::AgentSession
|
|
62
63
|
|
|
@@ -135,6 +135,7 @@ module OpenAI
|
|
|
135
135
|
?prompt_cache_key: String?,
|
|
136
136
|
?prompt_cache_options: OpenAI::Beta::ResponseCompactParams::PromptCacheOptions?,
|
|
137
137
|
?prompt_cache_retention: OpenAI::Models::Beta::ResponseCompactParams::prompt_cache_retention?,
|
|
138
|
+
?safety_identifier: String?,
|
|
138
139
|
?service_tier: OpenAI::Models::Beta::ResponseCompactParams::service_tier?,
|
|
139
140
|
?betas: ::Array[OpenAI::Models::Beta::ResponseCompactParams::beta],
|
|
140
141
|
?request_options: OpenAI::request_opts
|
|
@@ -128,6 +128,7 @@ module OpenAI
|
|
|
128
128
|
?prompt_cache_key: String?,
|
|
129
129
|
?prompt_cache_options: OpenAI::Responses::ResponseCompactParams::PromptCacheOptions?,
|
|
130
130
|
?prompt_cache_retention: OpenAI::Models::Responses::ResponseCompactParams::prompt_cache_retention?,
|
|
131
|
+
?safety_identifier: String?,
|
|
131
132
|
?service_tier: OpenAI::Models::Responses::ResponseCompactParams::service_tier?,
|
|
132
133
|
?request_options: OpenAI::request_opts
|
|
133
134
|
) -> OpenAI::Responses::CompactedResponse
|