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
|
@@ -22,8 +22,7 @@ module OpenAI
|
|
|
22
22
|
attr_accessor data_source_config: OpenAI::Models::EvalListResponse::data_source_config
|
|
23
23
|
|
|
24
24
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
25
|
-
# for storing additional information about the object in a structured format
|
|
26
|
-
# querying for objects via API or the dashboard.
|
|
25
|
+
# for storing additional information about the object in a structured format.
|
|
27
26
|
#
|
|
28
27
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
29
28
|
# a maximum length of 512 characters.
|
|
@@ -46,8 +45,7 @@ module OpenAI
|
|
|
46
45
|
# Configuration of data sources used in runs of the evaluation.
|
|
47
46
|
# @param metadata
|
|
48
47
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
49
|
-
# for storing additional information about the object in a structured format
|
|
50
|
-
# querying for objects via API or the dashboard.
|
|
48
|
+
# for storing additional information about the object in a structured format.
|
|
51
49
|
#
|
|
52
50
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
53
51
|
# a maximum length of 512 characters.
|
|
@@ -101,8 +99,7 @@ module OpenAI
|
|
|
101
99
|
attr_accessor type: :logs
|
|
102
100
|
|
|
103
101
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
104
|
-
# for storing additional information about the object in a structured format
|
|
105
|
-
# querying for objects via API or the dashboard.
|
|
102
|
+
# for storing additional information about the object in a structured format.
|
|
106
103
|
#
|
|
107
104
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
108
105
|
# a maximum length of 512 characters.
|
|
@@ -113,8 +110,7 @@ module OpenAI
|
|
|
113
110
|
# [here](https://json-schema.org/).
|
|
114
111
|
# @param metadata
|
|
115
112
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
116
|
-
# for storing additional information about the object in a structured format
|
|
117
|
-
# querying for objects via API or the dashboard.
|
|
113
|
+
# for storing additional information about the object in a structured format.
|
|
118
114
|
#
|
|
119
115
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
120
116
|
# a maximum length of 512 characters.
|
|
@@ -22,8 +22,7 @@ module OpenAI
|
|
|
22
22
|
attr_accessor data_source_config: OpenAI::Models::EvalRetrieveResponse::data_source_config
|
|
23
23
|
|
|
24
24
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
25
|
-
# for storing additional information about the object in a structured format
|
|
26
|
-
# querying for objects via API or the dashboard.
|
|
25
|
+
# for storing additional information about the object in a structured format.
|
|
27
26
|
#
|
|
28
27
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
29
28
|
# a maximum length of 512 characters.
|
|
@@ -46,8 +45,7 @@ module OpenAI
|
|
|
46
45
|
# Configuration of data sources used in runs of the evaluation.
|
|
47
46
|
# @param metadata
|
|
48
47
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
49
|
-
# for storing additional information about the object in a structured format
|
|
50
|
-
# querying for objects via API or the dashboard.
|
|
48
|
+
# for storing additional information about the object in a structured format.
|
|
51
49
|
#
|
|
52
50
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
53
51
|
# a maximum length of 512 characters.
|
|
@@ -101,8 +99,7 @@ module OpenAI
|
|
|
101
99
|
attr_accessor type: :logs
|
|
102
100
|
|
|
103
101
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
104
|
-
# for storing additional information about the object in a structured format
|
|
105
|
-
# querying for objects via API or the dashboard.
|
|
102
|
+
# for storing additional information about the object in a structured format.
|
|
106
103
|
#
|
|
107
104
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
108
105
|
# a maximum length of 512 characters.
|
|
@@ -113,8 +110,7 @@ module OpenAI
|
|
|
113
110
|
# [here](https://json-schema.org/).
|
|
114
111
|
# @param metadata
|
|
115
112
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
116
|
-
# for storing additional information about the object in a structured format
|
|
117
|
-
# querying for objects via API or the dashboard.
|
|
113
|
+
# for storing additional information about the object in a structured format.
|
|
118
114
|
#
|
|
119
115
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
120
116
|
# a maximum length of 512 characters.
|
|
@@ -16,8 +16,7 @@ module OpenAI
|
|
|
16
16
|
attr_accessor type: :stored_completions
|
|
17
17
|
|
|
18
18
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
19
|
-
# for storing additional information about the object in a structured format
|
|
20
|
-
# querying for objects via API or the dashboard.
|
|
19
|
+
# for storing additional information about the object in a structured format.
|
|
21
20
|
#
|
|
22
21
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
23
22
|
# a maximum length of 512 characters.
|
|
@@ -28,8 +27,7 @@ module OpenAI
|
|
|
28
27
|
# [here](https://json-schema.org/).
|
|
29
28
|
# @param metadata
|
|
30
29
|
# 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.
|
|
30
|
+
# for storing additional information about the object in a structured format.
|
|
33
31
|
#
|
|
34
32
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
35
33
|
# a maximum length of 512 characters.
|
|
@@ -15,8 +15,7 @@ module OpenAI
|
|
|
15
15
|
attr_accessor eval_id: String
|
|
16
16
|
|
|
17
17
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
18
|
-
# for storing additional information about the object in a structured format
|
|
19
|
-
# querying for objects via API or the dashboard.
|
|
18
|
+
# for storing additional information about the object in a structured format.
|
|
20
19
|
#
|
|
21
20
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
22
21
|
# a maximum length of 512 characters.
|
|
@@ -30,8 +29,7 @@ module OpenAI
|
|
|
30
29
|
|
|
31
30
|
# @param metadata
|
|
32
31
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
33
|
-
# for storing additional information about the object in a structured format
|
|
34
|
-
# querying for objects via API or the dashboard.
|
|
32
|
+
# for storing additional information about the object in a structured format.
|
|
35
33
|
#
|
|
36
34
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
37
35
|
# a maximum length of 512 characters.
|
|
@@ -22,8 +22,7 @@ module OpenAI
|
|
|
22
22
|
attr_accessor data_source_config: OpenAI::Models::EvalUpdateResponse::data_source_config
|
|
23
23
|
|
|
24
24
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
25
|
-
# for storing additional information about the object in a structured format
|
|
26
|
-
# querying for objects via API or the dashboard.
|
|
25
|
+
# for storing additional information about the object in a structured format.
|
|
27
26
|
#
|
|
28
27
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
29
28
|
# a maximum length of 512 characters.
|
|
@@ -46,8 +45,7 @@ module OpenAI
|
|
|
46
45
|
# Configuration of data sources used in runs of the evaluation.
|
|
47
46
|
# @param metadata
|
|
48
47
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
49
|
-
# for storing additional information about the object in a structured format
|
|
50
|
-
# querying for objects via API or the dashboard.
|
|
48
|
+
# for storing additional information about the object in a structured format.
|
|
51
49
|
#
|
|
52
50
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
53
51
|
# a maximum length of 512 characters.
|
|
@@ -101,8 +99,7 @@ module OpenAI
|
|
|
101
99
|
attr_accessor type: :logs
|
|
102
100
|
|
|
103
101
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
104
|
-
# for storing additional information about the object in a structured format
|
|
105
|
-
# querying for objects via API or the dashboard.
|
|
102
|
+
# for storing additional information about the object in a structured format.
|
|
106
103
|
#
|
|
107
104
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
108
105
|
# a maximum length of 512 characters.
|
|
@@ -113,8 +110,7 @@ module OpenAI
|
|
|
113
110
|
# [here](https://json-schema.org/).
|
|
114
111
|
# @param metadata
|
|
115
112
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
116
|
-
# for storing additional information about the object in a structured format
|
|
117
|
-
# querying for objects via API or the dashboard.
|
|
113
|
+
# for storing additional information about the object in a structured format.
|
|
118
114
|
#
|
|
119
115
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
120
116
|
# a maximum length of 512 characters.
|
|
@@ -31,10 +31,10 @@ module OpenAI
|
|
|
31
31
|
OpenAI::Models::Evals::CreateEvalCompletionsRunDataSource::input_messages
|
|
32
32
|
) -> OpenAI::Models::Evals::CreateEvalCompletionsRunDataSource::input_messages
|
|
33
33
|
|
|
34
|
-
# The
|
|
34
|
+
# The model to use to sample outputs with the Chat Completions API.
|
|
35
35
|
attr_reader model: String?
|
|
36
36
|
|
|
37
|
-
# The
|
|
37
|
+
# The model to use to sample outputs with the Chat Completions API.
|
|
38
38
|
def model=: (String) -> String
|
|
39
39
|
|
|
40
40
|
attr_reader sampling_params: OpenAI::Evals::CreateEvalCompletionsRunDataSource::SamplingParams?
|
|
@@ -53,7 +53,7 @@ module OpenAI
|
|
|
53
53
|
# `item.input_trajectory`), or a template with variable references to the `item`
|
|
54
54
|
# namespace.
|
|
55
55
|
# @param model
|
|
56
|
-
# The
|
|
56
|
+
# The model to use to sample outputs with the Chat Completions API.
|
|
57
57
|
def initialize: (
|
|
58
58
|
source: OpenAI::Models::Evals::CreateEvalCompletionsRunDataSource::source,
|
|
59
59
|
type: OpenAI::Models::Evals::CreateEvalCompletionsRunDataSource::type_,
|
|
@@ -169,14 +169,13 @@ module OpenAI
|
|
|
169
169
|
attr_accessor limit: Integer?
|
|
170
170
|
|
|
171
171
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
172
|
-
# for storing additional information about the object in a structured format
|
|
173
|
-
# querying for objects via API or the dashboard.
|
|
172
|
+
# for storing additional information about the object in a structured format.
|
|
174
173
|
#
|
|
175
174
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
176
175
|
# a maximum length of 512 characters.
|
|
177
176
|
attr_accessor metadata: OpenAI::Models::metadata?
|
|
178
177
|
|
|
179
|
-
# An optional model to filter by (e.g., 'gpt-
|
|
178
|
+
# An optional model to filter by (e.g., 'gpt-4.1-mini-2025-04-14').
|
|
180
179
|
attr_accessor model: String?
|
|
181
180
|
|
|
182
181
|
# @param created_after
|
|
@@ -187,13 +186,12 @@ module OpenAI
|
|
|
187
186
|
# An optional maximum number of items to return.
|
|
188
187
|
# @param metadata
|
|
189
188
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
190
|
-
# for storing additional information about the object in a structured format
|
|
191
|
-
# querying for objects via API or the dashboard.
|
|
189
|
+
# for storing additional information about the object in a structured format.
|
|
192
190
|
#
|
|
193
191
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
194
192
|
# a maximum length of 512 characters.
|
|
195
193
|
# @param model
|
|
196
|
-
# An optional model to filter by (e.g., 'gpt-
|
|
194
|
+
# An optional model to filter by (e.g., 'gpt-4.1-mini-2025-04-14').
|
|
197
195
|
# @param type
|
|
198
196
|
# The type of source. Always `stored_completions`.
|
|
199
197
|
def initialize: (
|
|
@@ -36,8 +36,7 @@ module OpenAI
|
|
|
36
36
|
attr_accessor eval_id: String
|
|
37
37
|
|
|
38
38
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
39
|
-
# for storing additional information about the object in a structured format
|
|
40
|
-
# querying for objects via API or the dashboard.
|
|
39
|
+
# for storing additional information about the object in a structured format.
|
|
41
40
|
#
|
|
42
41
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
43
42
|
# a maximum length of 512 characters.
|
|
@@ -79,8 +78,7 @@ module OpenAI
|
|
|
79
78
|
# The identifier of the associated evaluation.
|
|
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.
|
|
@@ -172,10 +170,10 @@ module OpenAI
|
|
|
172
170
|
OpenAI::Models::Evals::RunCancelResponse::DataSource::Responses::input_messages
|
|
173
171
|
) -> OpenAI::Models::Evals::RunCancelResponse::DataSource::Responses::input_messages
|
|
174
172
|
|
|
175
|
-
# The
|
|
173
|
+
# The model to use to sample outputs with the Responses API.
|
|
176
174
|
attr_reader model: String?
|
|
177
175
|
|
|
178
|
-
# The
|
|
176
|
+
# The model to use to sample outputs with the Responses API.
|
|
179
177
|
def model=: (String) -> String
|
|
180
178
|
|
|
181
179
|
attr_reader sampling_params: OpenAI::Models::Evals::RunCancelResponse::DataSource::Responses::SamplingParams?
|
|
@@ -192,7 +190,7 @@ module OpenAI
|
|
|
192
190
|
# `item.input_trajectory`), or a template with variable references to the `item`
|
|
193
191
|
# namespace.
|
|
194
192
|
# @param model
|
|
195
|
-
# The
|
|
193
|
+
# The model to use to sample outputs with the Responses API.
|
|
196
194
|
# @param type
|
|
197
195
|
# The type of run data source. Always `responses`.
|
|
198
196
|
def initialize: (
|
|
@@ -20,8 +20,7 @@ module OpenAI
|
|
|
20
20
|
attr_accessor data_source: OpenAI::Models::Evals::RunCreateParams::data_source
|
|
21
21
|
|
|
22
22
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
23
|
-
# for storing additional information about the object in a structured format
|
|
24
|
-
# querying for objects via API or the dashboard.
|
|
23
|
+
# for storing additional information about the object in a structured format.
|
|
25
24
|
#
|
|
26
25
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
27
26
|
# a maximum length of 512 characters.
|
|
@@ -37,8 +36,7 @@ module OpenAI
|
|
|
37
36
|
# Details about the run's data source.
|
|
38
37
|
# @param metadata
|
|
39
38
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
40
|
-
# for storing additional information about the object in a structured format
|
|
41
|
-
# querying for objects via API or the dashboard.
|
|
39
|
+
# for storing additional information about the object in a structured format.
|
|
42
40
|
#
|
|
43
41
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
44
42
|
# a maximum length of 512 characters.
|
|
@@ -141,10 +139,10 @@ module OpenAI
|
|
|
141
139
|
) -> (OpenAI::Models::Evals::RunCreateParams::DataSource::CreateEvalResponsesRunDataSource::input_messages
|
|
142
140
|
| { item_reference: String, type: :item_reference })
|
|
143
141
|
|
|
144
|
-
# The
|
|
142
|
+
# The model to use to sample outputs with the Responses API.
|
|
145
143
|
attr_reader model: String?
|
|
146
144
|
|
|
147
|
-
# The
|
|
145
|
+
# The model to use to sample outputs with the Responses API.
|
|
148
146
|
def model=: (String) -> String
|
|
149
147
|
|
|
150
148
|
attr_reader sampling_params: OpenAI::Evals::RunCreateParams::DataSource::CreateEvalResponsesRunDataSource::SamplingParams?
|
|
@@ -163,7 +161,7 @@ module OpenAI
|
|
|
163
161
|
# `item.input_trajectory`), or a template with variable references to the `item`
|
|
164
162
|
# namespace.
|
|
165
163
|
# @param model
|
|
166
|
-
# The
|
|
164
|
+
# The model to use to sample outputs with the Responses API.
|
|
167
165
|
def initialize: (
|
|
168
166
|
source: OpenAI::Models::Evals::RunCreateParams::DataSource::CreateEvalResponsesRunDataSource::source
|
|
169
167
|
| {
|
|
@@ -36,8 +36,7 @@ module OpenAI
|
|
|
36
36
|
attr_accessor eval_id: String
|
|
37
37
|
|
|
38
38
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
39
|
-
# for storing additional information about the object in a structured format
|
|
40
|
-
# querying for objects via API or the dashboard.
|
|
39
|
+
# for storing additional information about the object in a structured format.
|
|
41
40
|
#
|
|
42
41
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
43
42
|
# a maximum length of 512 characters.
|
|
@@ -79,8 +78,7 @@ module OpenAI
|
|
|
79
78
|
# The identifier of the associated evaluation.
|
|
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.
|
|
@@ -172,10 +170,10 @@ module OpenAI
|
|
|
172
170
|
OpenAI::Models::Evals::RunCreateResponse::DataSource::Responses::input_messages
|
|
173
171
|
) -> OpenAI::Models::Evals::RunCreateResponse::DataSource::Responses::input_messages
|
|
174
172
|
|
|
175
|
-
# The
|
|
173
|
+
# The model to use to sample outputs with the Responses API.
|
|
176
174
|
attr_reader model: String?
|
|
177
175
|
|
|
178
|
-
# The
|
|
176
|
+
# The model to use to sample outputs with the Responses API.
|
|
179
177
|
def model=: (String) -> String
|
|
180
178
|
|
|
181
179
|
attr_reader sampling_params: OpenAI::Models::Evals::RunCreateResponse::DataSource::Responses::SamplingParams?
|
|
@@ -192,7 +190,7 @@ module OpenAI
|
|
|
192
190
|
# `item.input_trajectory`), or a template with variable references to the `item`
|
|
193
191
|
# namespace.
|
|
194
192
|
# @param model
|
|
195
|
-
# The
|
|
193
|
+
# The model to use to sample outputs with the Responses API.
|
|
196
194
|
# @param type
|
|
197
195
|
# The type of run data source. Always `responses`.
|
|
198
196
|
def initialize: (
|
|
@@ -36,8 +36,7 @@ module OpenAI
|
|
|
36
36
|
attr_accessor eval_id: String
|
|
37
37
|
|
|
38
38
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
39
|
-
# for storing additional information about the object in a structured format
|
|
40
|
-
# querying for objects via API or the dashboard.
|
|
39
|
+
# for storing additional information about the object in a structured format.
|
|
41
40
|
#
|
|
42
41
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
43
42
|
# a maximum length of 512 characters.
|
|
@@ -79,8 +78,7 @@ module OpenAI
|
|
|
79
78
|
# The identifier of the associated evaluation.
|
|
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.
|
|
@@ -172,10 +170,10 @@ module OpenAI
|
|
|
172
170
|
OpenAI::Models::Evals::RunListResponse::DataSource::Responses::input_messages
|
|
173
171
|
) -> OpenAI::Models::Evals::RunListResponse::DataSource::Responses::input_messages
|
|
174
172
|
|
|
175
|
-
# The
|
|
173
|
+
# The model to use to sample outputs with the Responses API.
|
|
176
174
|
attr_reader model: String?
|
|
177
175
|
|
|
178
|
-
# The
|
|
176
|
+
# The model to use to sample outputs with the Responses API.
|
|
179
177
|
def model=: (String) -> String
|
|
180
178
|
|
|
181
179
|
attr_reader sampling_params: OpenAI::Models::Evals::RunListResponse::DataSource::Responses::SamplingParams?
|
|
@@ -192,7 +190,7 @@ module OpenAI
|
|
|
192
190
|
# `item.input_trajectory`), or a template with variable references to the `item`
|
|
193
191
|
# namespace.
|
|
194
192
|
# @param model
|
|
195
|
-
# The
|
|
193
|
+
# The model to use to sample outputs with the Responses API.
|
|
196
194
|
# @param type
|
|
197
195
|
# The type of run data source. Always `responses`.
|
|
198
196
|
def initialize: (
|
|
@@ -36,8 +36,7 @@ module OpenAI
|
|
|
36
36
|
attr_accessor eval_id: String
|
|
37
37
|
|
|
38
38
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
39
|
-
# for storing additional information about the object in a structured format
|
|
40
|
-
# querying for objects via API or the dashboard.
|
|
39
|
+
# for storing additional information about the object in a structured format.
|
|
41
40
|
#
|
|
42
41
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
43
42
|
# a maximum length of 512 characters.
|
|
@@ -79,8 +78,7 @@ module OpenAI
|
|
|
79
78
|
# The identifier of the associated evaluation.
|
|
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.
|
|
@@ -172,10 +170,10 @@ module OpenAI
|
|
|
172
170
|
OpenAI::Models::Evals::RunRetrieveResponse::DataSource::Responses::input_messages
|
|
173
171
|
) -> OpenAI::Models::Evals::RunRetrieveResponse::DataSource::Responses::input_messages
|
|
174
172
|
|
|
175
|
-
# The
|
|
173
|
+
# The model to use to sample outputs with the Responses API.
|
|
176
174
|
attr_reader model: String?
|
|
177
175
|
|
|
178
|
-
# The
|
|
176
|
+
# The model to use to sample outputs with the Responses API.
|
|
179
177
|
def model=: (String) -> String
|
|
180
178
|
|
|
181
179
|
attr_reader sampling_params: OpenAI::Models::Evals::RunRetrieveResponse::DataSource::Responses::SamplingParams?
|
|
@@ -192,7 +190,7 @@ module OpenAI
|
|
|
192
190
|
# `item.input_trajectory`), or a template with variable references to the `item`
|
|
193
191
|
# namespace.
|
|
194
192
|
# @param model
|
|
195
|
-
# The
|
|
193
|
+
# The model to use to sample outputs with the Responses API.
|
|
196
194
|
# @param type
|
|
197
195
|
# The type of run data source. Always `responses`.
|
|
198
196
|
def initialize: (
|
|
@@ -91,8 +91,7 @@ module OpenAI
|
|
|
91
91
|
attr_accessor integrations: ::Array[OpenAI::FineTuning::FineTuningJobWandbIntegrationObject]?
|
|
92
92
|
|
|
93
93
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
94
|
-
# for storing additional information about the object in a structured format
|
|
95
|
-
# querying for objects via API or the dashboard.
|
|
94
|
+
# for storing additional information about the object in a structured format.
|
|
96
95
|
#
|
|
97
96
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
98
97
|
# a maximum length of 512 characters.
|
|
@@ -152,8 +151,7 @@ module OpenAI
|
|
|
152
151
|
# A list of integrations to enable for this fine-tuning job.
|
|
153
152
|
# @param metadata
|
|
154
153
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
155
|
-
# for storing additional information about the object in a structured format
|
|
156
|
-
# querying for objects via API or the dashboard.
|
|
154
|
+
# for storing additional information about the object in a structured format.
|
|
157
155
|
#
|
|
158
156
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
159
157
|
# a maximum length of 512 characters.
|
|
@@ -58,8 +58,7 @@ module OpenAI
|
|
|
58
58
|
attr_accessor integrations: ::Array[OpenAI::FineTuning::JobCreateParams::Integration]?
|
|
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.
|
|
@@ -82,7 +81,7 @@ module OpenAI
|
|
|
82
81
|
# name.
|
|
83
82
|
#
|
|
84
83
|
# For example, a `suffix` of "custom-model-name" would produce a model name like
|
|
85
|
-
# `ft:gpt-
|
|
84
|
+
# `ft:gpt-4.1-mini-2025-04-14:openai:custom-model-name:7p4lURel`.
|
|
86
85
|
attr_accessor suffix: String?
|
|
87
86
|
|
|
88
87
|
# The ID of an uploaded file that contains validation data.
|
|
@@ -130,8 +129,7 @@ module OpenAI
|
|
|
130
129
|
# A list of integrations to enable for your fine-tuning job.
|
|
131
130
|
# @param metadata
|
|
132
131
|
# Set of 16 key-value pairs that can be attached to an object. This can be useful
|
|
133
|
-
# for storing additional information about the object in a structured format
|
|
134
|
-
# querying for objects via API or the dashboard.
|
|
132
|
+
# for storing additional information about the object in a structured format.
|
|
135
133
|
#
|
|
136
134
|
# Keys are strings with a maximum length of 64 characters. Values are strings with
|
|
137
135
|
# a maximum length of 512 characters.
|
|
@@ -146,7 +144,7 @@ module OpenAI
|
|
|
146
144
|
# name.
|
|
147
145
|
#
|
|
148
146
|
# For example, a `suffix` of "custom-model-name" would produce a model name like
|
|
149
|
-
# `ft:gpt-
|
|
147
|
+
# `ft:gpt-4.1-mini-2025-04-14:openai:custom-model-name:7p4lURel`.
|
|
150
148
|
# @param validation_file
|
|
151
149
|
# The ID of an uploaded file that contains validation data.
|
|
152
150
|
#
|
|
@@ -189,6 +187,7 @@ module OpenAI
|
|
|
189
187
|
|
|
190
188
|
type model =
|
|
191
189
|
String
|
|
190
|
+
| :"gpt-4.1-mini-2025-04-14"
|
|
192
191
|
| :"babbage-002"
|
|
193
192
|
| :"davinci-002"
|
|
194
193
|
| :"gpt-3.5-turbo"
|
|
@@ -199,6 +198,7 @@ module OpenAI
|
|
|
199
198
|
|
|
200
199
|
def self?.variants: -> ::Array[OpenAI::Models::FineTuning::JobCreateParams::model]
|
|
201
200
|
|
|
201
|
+
GPT_4_1_MINI_2025_04_14: :"gpt-4.1-mini-2025-04-14"
|
|
202
202
|
BABBAGE_002: :"babbage-002"
|
|
203
203
|
DAVINCI_002: :"davinci-002"
|
|
204
204
|
GPT_3_5_TURBO: :"gpt-3.5-turbo"
|
|
@@ -44,14 +44,16 @@ module OpenAI
|
|
|
44
44
|
# API.
|
|
45
45
|
attr_accessor delegation: OpenAI::Models::Live::MediaSessionConfig::delegation?
|
|
46
46
|
|
|
47
|
-
# Whole seconds of inactivity after which a Live WebRTC session with a
|
|
48
|
-
# policy pauses inference. The connection and conversation history are
|
|
49
|
-
# Omit to keep inference active until the session
|
|
47
|
+
# Whole seconds of inactivity after which a Live WebRTC or SIP session with a
|
|
48
|
+
# speech wake policy pauses inference. The connection and conversation history are
|
|
49
|
+
# retained. Omit to keep inference active after the first wake until the session
|
|
50
|
+
# ends.
|
|
50
51
|
attr_reader idle_timeout_s: Integer?
|
|
51
52
|
|
|
52
|
-
# Whole seconds of inactivity after which a Live WebRTC session with a
|
|
53
|
-
# policy pauses inference. The connection and conversation history are
|
|
54
|
-
# Omit to keep inference active until the session
|
|
53
|
+
# Whole seconds of inactivity after which a Live WebRTC or SIP session with a
|
|
54
|
+
# speech wake policy pauses inference. The connection and conversation history are
|
|
55
|
+
# retained. Omit to keep inference active after the first wake until the session
|
|
56
|
+
# ends.
|
|
55
57
|
def idle_timeout_s=: (Integer) -> Integer
|
|
56
58
|
|
|
57
59
|
# Ordered text-only history supplied before startup. Supports developer, user, and
|
|
@@ -101,12 +103,10 @@ module OpenAI
|
|
|
101
103
|
::Array[OpenAI::Live::DecisionTrigger]
|
|
102
104
|
) -> ::Array[OpenAI::Live::DecisionTrigger]
|
|
103
105
|
|
|
104
|
-
#
|
|
105
|
-
# microphone speech resumes inference.
|
|
106
|
+
# Starts inference when microphone speech is detected.
|
|
106
107
|
attr_reader wake_policy: OpenAI::Live::MediaSessionConfig::WakePolicy?
|
|
107
108
|
|
|
108
|
-
#
|
|
109
|
-
# microphone speech resumes inference.
|
|
109
|
+
# Starts inference when microphone speech is detected.
|
|
110
110
|
def wake_policy=: (
|
|
111
111
|
OpenAI::Live::MediaSessionConfig::WakePolicy
|
|
112
112
|
) -> OpenAI::Live::MediaSessionConfig::WakePolicy
|
|
@@ -125,9 +125,10 @@ module OpenAI
|
|
|
125
125
|
# application; use `responses` or `decisions` to delegate to the corresponding
|
|
126
126
|
# API.
|
|
127
127
|
# @param idle_timeout_s
|
|
128
|
-
# Whole seconds of inactivity after which a Live WebRTC session with a
|
|
129
|
-
# policy pauses inference. The connection and conversation history are
|
|
130
|
-
# Omit to keep inference active until the session
|
|
128
|
+
# Whole seconds of inactivity after which a Live WebRTC or SIP session with a
|
|
129
|
+
# speech wake policy pauses inference. The connection and conversation history are
|
|
130
|
+
# retained. Omit to keep inference active after the first wake until the session
|
|
131
|
+
# ends.
|
|
131
132
|
# @param input
|
|
132
133
|
# Ordered text-only history supplied before startup. Supports developer, user, and
|
|
133
134
|
# assistant messages with one text part each; at most 128 messages and a
|
|
@@ -152,8 +153,7 @@ module OpenAI
|
|
|
152
153
|
# configuration, send a list to replace it, or send an empty list to disable
|
|
153
154
|
# triggers.
|
|
154
155
|
# @param wake_policy
|
|
155
|
-
#
|
|
156
|
-
# microphone speech resumes inference.
|
|
156
|
+
# Starts inference when microphone speech is detected.
|
|
157
157
|
def initialize: (
|
|
158
158
|
model: OpenAI::Models::Live::MediaSessionConfig::model,
|
|
159
159
|
?audio: OpenAI::Live::MediaSessionConfig::Audio,
|
|
@@ -376,19 +376,19 @@ module OpenAI
|
|
|
376
376
|
# The wake policy type, always `speech`.
|
|
377
377
|
attr_accessor type: :speech
|
|
378
378
|
|
|
379
|
-
# The speech detection threshold for
|
|
380
|
-
# inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
|
|
379
|
+
# The speech detection threshold for the first wake and each later wake, from 0 to
|
|
380
|
+
# 1 inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
|
|
381
381
|
# This setting is independent of active turn detection.
|
|
382
382
|
attr_reader vad_threshold: Float?
|
|
383
383
|
|
|
384
|
-
# The speech detection threshold for
|
|
385
|
-
# inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
|
|
384
|
+
# The speech detection threshold for the first wake and each later wake, from 0 to
|
|
385
|
+
# 1 inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
|
|
386
386
|
# This setting is independent of active turn detection.
|
|
387
387
|
def vad_threshold=: (Float) -> Float
|
|
388
388
|
|
|
389
389
|
# @param vad_threshold
|
|
390
|
-
# The speech detection threshold for
|
|
391
|
-
# inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
|
|
390
|
+
# The speech detection threshold for the first wake and each later wake, from 0 to
|
|
391
|
+
# 1 inclusive. Defaults to 0.5. Higher values require stronger evidence of speech.
|
|
392
392
|
# This setting is independent of active turn detection.
|
|
393
393
|
# @param type
|
|
394
394
|
# The wake policy type, always `speech`.
|
|
@@ -797,7 +797,10 @@ module OpenAI
|
|
|
797
797
|
# Network access policy for the container.
|
|
798
798
|
attr_accessor network_policy: OpenAI::Models::Live::ResponsesDelegationConfig::Tool::Shell::Environment::ContainerAuto::network_policy?
|
|
799
799
|
|
|
800
|
-
# An optional list of skills referenced by id or inline data.
|
|
800
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
801
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
802
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
803
|
+
# references do not count toward these limits.
|
|
801
804
|
attr_accessor skills: ::Array[OpenAI::Models::Live::ResponsesDelegationConfig::Tool::Shell::Environment::ContainerAuto::skill]?
|
|
802
805
|
|
|
803
806
|
# @param file_ids
|
|
@@ -807,7 +810,10 @@ module OpenAI
|
|
|
807
810
|
# @param network_policy
|
|
808
811
|
# Network access policy for the container.
|
|
809
812
|
# @param skills
|
|
810
|
-
# An optional list of skills referenced by id or inline data.
|
|
813
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
814
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
815
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
816
|
+
# references do not count toward these limits.
|
|
811
817
|
# @param type
|
|
812
818
|
# Automatically creates a container for this request
|
|
813
819
|
def initialize: (
|
|
@@ -803,7 +803,10 @@ module OpenAI
|
|
|
803
803
|
# Network access policy for the container.
|
|
804
804
|
attr_accessor network_policy: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::network_policy?
|
|
805
805
|
|
|
806
|
-
# An optional list of skills referenced by id or inline data.
|
|
806
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
807
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
808
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
809
|
+
# references do not count toward these limits.
|
|
807
810
|
attr_accessor skills: ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::skill]?
|
|
808
811
|
|
|
809
812
|
# @param file_ids
|
|
@@ -813,7 +816,10 @@ module OpenAI
|
|
|
813
816
|
# @param network_policy
|
|
814
817
|
# Network access policy for the container.
|
|
815
818
|
# @param skills
|
|
816
|
-
# An optional list of skills referenced by id or inline data.
|
|
819
|
+
# An optional list of skills referenced by id or inline data. Across all inline
|
|
820
|
+
# skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
|
|
821
|
+
# must total at most 70,254,592 characters, including line breaks. Skill
|
|
822
|
+
# references do not count toward these limits.
|
|
817
823
|
# @param type
|
|
818
824
|
# Automatically creates a container for this request
|
|
819
825
|
def initialize: (
|