openai 0.107.0 → 0.109.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 +30 -0
- data/README.md +55 -1
- data/examples/chat/tool_runner.rb +33 -0
- data/lib/openai/client.rb +2 -2
- data/lib/openai/helpers/chat/tool_runner.rb +259 -0
- data/lib/openai/helpers/client_runtime.rb +11 -0
- data/lib/openai/helpers/realtime/recovery.rb +8 -2
- data/lib/openai/helpers/responses_websocket/incremental.rb +5 -1
- data/lib/openai/helpers/responses_websocket/session.rb +11 -4
- data/lib/openai/helpers/streaming/chat_completion_resource.rb +52 -0
- data/lib/openai/internal/provider.rb +1 -0
- data/lib/openai/models/admin/organization/usage_audio_speeches_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_code_interpreter_sessions_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_completions_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_costs_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_decisions_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_embeddings_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_file_search_calls_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_images_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_moderations_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_vector_stores_response.rb +4 -4
- data/lib/openai/models/admin/organization/usage_web_search_calls_response.rb +4 -4
- data/lib/openai/models/audio/voice_consent.rb +58 -0
- data/lib/openai/models/audio/voice_consent_create_params.rb +57 -0
- data/lib/openai/models/audio/voice_consent_delete_params.rb +22 -0
- data/lib/openai/models/audio/voice_consent_deleted.rb +34 -0
- data/lib/openai/models/audio/voice_consent_list_params.rb +42 -0
- data/lib/openai/models/audio/voice_consent_retrieve_params.rb +22 -0
- data/lib/openai/models/audio/voice_consent_update_params.rb +32 -0
- data/lib/openai/providers/vertex.rb +229 -0
- data/lib/openai/resources/audio/voice_consents.rb +163 -0
- data/lib/openai/resources/audio.rb +5 -0
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +9 -0
- data/rbi/openai/helpers/chat/tool_runner.rbi +74 -0
- data/rbi/openai/internal/provider.rbi +3 -0
- data/rbi/openai/models/admin/organization/usage_audio_speeches_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_audio_transcriptions_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_completions_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_costs_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_decisions_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_embeddings_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_file_search_calls_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_images_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_moderations_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_vector_stores_response.rbi +4 -4
- data/rbi/openai/models/admin/organization/usage_web_search_calls_response.rbi +4 -4
- data/rbi/openai/models/audio/voice_consent.rbi +86 -0
- data/rbi/openai/models/audio/voice_consent_create_params.rbi +92 -0
- data/rbi/openai/models/audio/voice_consent_delete_params.rbi +53 -0
- data/rbi/openai/models/audio/voice_consent_deleted.rbi +62 -0
- data/rbi/openai/models/audio/voice_consent_list_params.rbi +78 -0
- data/rbi/openai/models/audio/voice_consent_retrieve_params.rbi +53 -0
- data/rbi/openai/models/audio/voice_consent_update_params.rbi +62 -0
- data/rbi/openai/models/response_format_json_schema.rbi +13 -11
- data/rbi/openai/providers.rbi +13 -0
- data/rbi/openai/resources/audio/voice_consents.rbi +108 -0
- data/rbi/openai/resources/audio.rbi +4 -0
- data/sig/openai/helpers/chat/tool_runner.rbs +48 -0
- data/sig/openai/internal/provider.rbs +3 -1
- data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_completions_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_costs_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_decisions_response.rbs +4 -4
- data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_file_search_calls_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_images_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_moderations_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +6 -6
- data/sig/openai/models/admin/organization/usage_web_search_calls_response.rbs +6 -6
- data/sig/openai/models/audio/voice_consent.rbs +57 -0
- data/sig/openai/models/audio/voice_consent_create_params.rbs +61 -0
- data/sig/openai/models/audio/voice_consent_delete_params.rbs +25 -0
- data/sig/openai/models/audio/voice_consent_deleted.rbs +31 -0
- data/sig/openai/models/audio/voice_consent_list_params.rbs +57 -0
- data/sig/openai/models/audio/voice_consent_retrieve_params.rbs +25 -0
- data/sig/openai/models/audio/voice_consent_update_params.rbs +36 -0
- data/sig/openai/providers.rbs +8 -0
- data/sig/openai/resources/audio/voice_consents.rbs +38 -0
- data/sig/openai/resources/audio.rbs +2 -0
- data/vertex.md +29 -0
- metadata +32 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Audio
|
|
4
|
+
type voice_consent_create_params =
|
|
5
|
+
{
|
|
6
|
+
language: String,
|
|
7
|
+
name: String,
|
|
8
|
+
recording: OpenAI::Internal::file_input,
|
|
9
|
+
?request_options: OpenAI::request_opts
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class VoiceConsentCreateParams < OpenAI::Internal::Type::BaseModel
|
|
13
|
+
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include OpenAI::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
# The BCP 47 language tag for the consent phrase (for example, `en-US`).
|
|
17
|
+
attr_accessor language: String
|
|
18
|
+
|
|
19
|
+
# The label to use for this consent recording.
|
|
20
|
+
attr_accessor name: String
|
|
21
|
+
|
|
22
|
+
# The consent audio recording file. Maximum size is 10 MiB.
|
|
23
|
+
#
|
|
24
|
+
# Supported MIME types: `audio/mpeg`, `audio/wav`, `audio/x-wav`, `audio/ogg`,
|
|
25
|
+
# `audio/aac`, `audio/flac`, `audio/webm`, `audio/mp4`.
|
|
26
|
+
#
|
|
27
|
+
# `String`, `StringIO`, and pathless `IO` inputs are sent with generic upload
|
|
28
|
+
# metadata. Use `OpenAI::FilePart` when you need to override the filename or
|
|
29
|
+
# content type.
|
|
30
|
+
attr_accessor recording: OpenAI::Internal::file_input
|
|
31
|
+
|
|
32
|
+
# @param language
|
|
33
|
+
# The BCP 47 language tag for the consent phrase (for example, `en-US`).
|
|
34
|
+
# @param name
|
|
35
|
+
# The label to use for this consent recording.
|
|
36
|
+
# @param recording
|
|
37
|
+
# The consent audio recording file. Maximum size is 10 MiB.
|
|
38
|
+
#
|
|
39
|
+
# Supported MIME types: `audio/mpeg`, `audio/wav`, `audio/x-wav`, `audio/ogg`,
|
|
40
|
+
# `audio/aac`, `audio/flac`, `audio/webm`, `audio/mp4`.
|
|
41
|
+
#
|
|
42
|
+
# `String`, `StringIO`, and pathless `IO` inputs are sent with generic upload
|
|
43
|
+
# metadata. Use `OpenAI::FilePart` when you need to override the filename or
|
|
44
|
+
# content type.
|
|
45
|
+
def initialize: (
|
|
46
|
+
language: String,
|
|
47
|
+
name: String,
|
|
48
|
+
recording: OpenAI::Internal::file_input,
|
|
49
|
+
?request_options: OpenAI::request_opts
|
|
50
|
+
) -> void
|
|
51
|
+
|
|
52
|
+
def to_hash: -> {
|
|
53
|
+
language: String,
|
|
54
|
+
name: String,
|
|
55
|
+
recording: OpenAI::Internal::file_input,
|
|
56
|
+
?request_options: OpenAI::RequestOptions
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Audio
|
|
4
|
+
type voice_consent_delete_params =
|
|
5
|
+
{ consent_id: String, ?request_options: OpenAI::request_opts }
|
|
6
|
+
|
|
7
|
+
class VoiceConsentDeleteParams < OpenAI::Internal::Type::BaseModel
|
|
8
|
+
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include OpenAI::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor consent_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
consent_id: String,
|
|
15
|
+
?request_options: OpenAI::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
consent_id: String,
|
|
20
|
+
?request_options: OpenAI::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Audio
|
|
4
|
+
type voice_consent_deleted =
|
|
5
|
+
{ id: String, deleted: bool, ?object: :"audio.voice_consent" }
|
|
6
|
+
|
|
7
|
+
class VoiceConsentDeleted < OpenAI::Internal::Type::BaseModel
|
|
8
|
+
# The consent recording identifier.
|
|
9
|
+
attr_accessor id: String
|
|
10
|
+
|
|
11
|
+
attr_accessor deleted: bool
|
|
12
|
+
|
|
13
|
+
attr_accessor object: :"audio.voice_consent"
|
|
14
|
+
|
|
15
|
+
# @param id
|
|
16
|
+
# The consent recording identifier.
|
|
17
|
+
def initialize: (
|
|
18
|
+
id: String,
|
|
19
|
+
deleted: bool,
|
|
20
|
+
?object: :"audio.voice_consent"
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
id: String,
|
|
25
|
+
deleted: bool,
|
|
26
|
+
?object: :"audio.voice_consent"
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Audio
|
|
4
|
+
type voice_consent_list_params =
|
|
5
|
+
{
|
|
6
|
+
?after: String,
|
|
7
|
+
?limit: Integer,
|
|
8
|
+
?request_options: OpenAI::request_opts
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class VoiceConsentListParams < OpenAI::Internal::Type::BaseModel
|
|
12
|
+
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include OpenAI::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
# A cursor for use in pagination. `after` is an object ID that defines your place
|
|
16
|
+
# in the list. For instance, if you make a list request and receive 100 objects,
|
|
17
|
+
# ending with obj_foo, your subsequent call can include after=obj_foo in order to
|
|
18
|
+
# fetch the next page of the list.
|
|
19
|
+
attr_reader after: String?
|
|
20
|
+
|
|
21
|
+
# A cursor for use in pagination. `after` is an object ID that defines your place
|
|
22
|
+
# in the list. For instance, if you make a list request and receive 100 objects,
|
|
23
|
+
# ending with obj_foo, your subsequent call can include after=obj_foo in order to
|
|
24
|
+
# fetch the next page of the list.
|
|
25
|
+
def after=: (String) -> String
|
|
26
|
+
|
|
27
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and
|
|
28
|
+
# 100, and the default is 20.
|
|
29
|
+
attr_reader limit: Integer?
|
|
30
|
+
|
|
31
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and
|
|
32
|
+
# 100, and the default is 20.
|
|
33
|
+
def limit=: (Integer) -> Integer
|
|
34
|
+
|
|
35
|
+
# @param after
|
|
36
|
+
# A cursor for use in pagination. `after` is an object ID that defines your place
|
|
37
|
+
# in the list. For instance, if you make a list request and receive 100 objects,
|
|
38
|
+
# ending with obj_foo, your subsequent call can include after=obj_foo in order to
|
|
39
|
+
# fetch the next page of the list.
|
|
40
|
+
# @param limit
|
|
41
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and
|
|
42
|
+
# 100, and the default is 20.
|
|
43
|
+
def initialize: (
|
|
44
|
+
?after: String,
|
|
45
|
+
?limit: Integer,
|
|
46
|
+
?request_options: OpenAI::request_opts
|
|
47
|
+
) -> void
|
|
48
|
+
|
|
49
|
+
def to_hash: -> {
|
|
50
|
+
?after: String,
|
|
51
|
+
?limit: Integer,
|
|
52
|
+
?request_options: OpenAI::RequestOptions
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Audio
|
|
4
|
+
type voice_consent_retrieve_params =
|
|
5
|
+
{ consent_id: String, ?request_options: OpenAI::request_opts }
|
|
6
|
+
|
|
7
|
+
class VoiceConsentRetrieveParams < OpenAI::Internal::Type::BaseModel
|
|
8
|
+
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include OpenAI::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor consent_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
consent_id: String,
|
|
15
|
+
?request_options: OpenAI::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
consent_id: String,
|
|
20
|
+
?request_options: OpenAI::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Audio
|
|
4
|
+
type voice_consent_update_params =
|
|
5
|
+
{
|
|
6
|
+
consent_id: String,
|
|
7
|
+
name: String,
|
|
8
|
+
?request_options: OpenAI::request_opts
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class VoiceConsentUpdateParams < OpenAI::Internal::Type::BaseModel
|
|
12
|
+
extend OpenAI::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include OpenAI::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor consent_id: String
|
|
16
|
+
|
|
17
|
+
# The updated label for this consent recording.
|
|
18
|
+
attr_accessor name: String
|
|
19
|
+
|
|
20
|
+
# @param name
|
|
21
|
+
# The updated label for this consent recording.
|
|
22
|
+
def initialize: (
|
|
23
|
+
consent_id: String,
|
|
24
|
+
name: String,
|
|
25
|
+
?request_options: OpenAI::request_opts
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
consent_id: String,
|
|
30
|
+
name: String,
|
|
31
|
+
?request_options: OpenAI::RequestOptions
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
data/sig/openai/providers.rbs
CHANGED
|
@@ -6,6 +6,14 @@ module OpenAI
|
|
|
6
6
|
?token_provider: (^-> String)?
|
|
7
7
|
) -> OpenAI::Provider
|
|
8
8
|
|
|
9
|
+
def self.vertex: (
|
|
10
|
+
?project: String?,
|
|
11
|
+
?location: String?,
|
|
12
|
+
?base_url: String?,
|
|
13
|
+
?token_provider: (^-> String)?,
|
|
14
|
+
?credentials: untyped
|
|
15
|
+
) -> OpenAI::Provider
|
|
16
|
+
|
|
9
17
|
def self.bedrock: (
|
|
10
18
|
?endpoint: (:mantle | :runtime | "mantle" | "runtime")?,
|
|
11
19
|
?region: String?,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Resources
|
|
3
|
+
class Audio
|
|
4
|
+
class VoiceConsents
|
|
5
|
+
def create: (
|
|
6
|
+
language: String,
|
|
7
|
+
name: String,
|
|
8
|
+
recording: OpenAI::Internal::file_input,
|
|
9
|
+
?request_options: OpenAI::request_opts
|
|
10
|
+
) -> OpenAI::Audio::VoiceConsent
|
|
11
|
+
|
|
12
|
+
def retrieve: (
|
|
13
|
+
String consent_id,
|
|
14
|
+
?request_options: OpenAI::request_opts
|
|
15
|
+
) -> OpenAI::Audio::VoiceConsent
|
|
16
|
+
|
|
17
|
+
def update: (
|
|
18
|
+
String consent_id,
|
|
19
|
+
name: String,
|
|
20
|
+
?request_options: OpenAI::request_opts
|
|
21
|
+
) -> OpenAI::Audio::VoiceConsent
|
|
22
|
+
|
|
23
|
+
def list: (
|
|
24
|
+
?after: String,
|
|
25
|
+
?limit: Integer,
|
|
26
|
+
?request_options: OpenAI::request_opts
|
|
27
|
+
) -> OpenAI::Internal::CursorPage[OpenAI::Audio::VoiceConsent]
|
|
28
|
+
|
|
29
|
+
def delete: (
|
|
30
|
+
String consent_id,
|
|
31
|
+
?request_options: OpenAI::request_opts
|
|
32
|
+
) -> OpenAI::Audio::VoiceConsentDeleted
|
|
33
|
+
|
|
34
|
+
def initialize: (client: OpenAI::Client) -> void
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
data/vertex.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Google Vertex AI
|
|
2
|
+
|
|
3
|
+
Configure the standard `OpenAI::Client` to use the Responses API through Vertex AI. For Google Application Default Credentials (ADC), add the optional `googleauth` gem to your application's Gemfile and run `bundle install`:
|
|
4
|
+
|
|
5
|
+
```ruby
|
|
6
|
+
gem "googleauth", "~> 1"
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Configure ADC in your environment, then create a client:
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require "openai"
|
|
13
|
+
|
|
14
|
+
client = OpenAI::Client.new(
|
|
15
|
+
provider: OpenAI::Providers.vertex(
|
|
16
|
+
project: "your-project-id",
|
|
17
|
+
location: "your-vertex-location"
|
|
18
|
+
)
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
response = client.responses.create(model: "your-enabled-model", input: "Say hello!")
|
|
22
|
+
puts(response.output_text)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Use a model enabled for your project and location. Vertex AI determines which Responses features are available.
|
|
26
|
+
|
|
27
|
+
To manage credentials in your application, pass either `credentials:` with a Google credentials object or `token_provider:` with a callback that returns a current access token. The callback runs once per request attempt, including retries; cache and refresh tokens as needed. The `googleauth` gem is not required when using `token_provider:`.
|
|
28
|
+
|
|
29
|
+
To use a test server or trusted gateway, set `base_url:` to the full API root before `/responses`. The configured origin receives your bearer token. HTTP test roots are supported; use HTTPS in production.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.109.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAI
|
|
@@ -49,6 +49,7 @@ extra_rdoc_files:
|
|
|
49
49
|
- local-audio.md
|
|
50
50
|
- realtime.md
|
|
51
51
|
- responses-websocket.md
|
|
52
|
+
- vertex.md
|
|
52
53
|
files:
|
|
53
54
|
- ".ignore"
|
|
54
55
|
- CHANGELOG.md
|
|
@@ -59,6 +60,7 @@ files:
|
|
|
59
60
|
- bedrock.md
|
|
60
61
|
- docs/architecture/security-model.md
|
|
61
62
|
- examples/audio/record_and_play.rb
|
|
63
|
+
- examples/chat/tool_runner.rb
|
|
62
64
|
- examples/mtls_custom_http_client.rb
|
|
63
65
|
- examples/realtime/README.md
|
|
64
66
|
- examples/realtime/browser/README.md
|
|
@@ -103,6 +105,7 @@ files:
|
|
|
103
105
|
- lib/openai/helpers/beta/agents/tool_dispatcher.rb
|
|
104
106
|
- lib/openai/helpers/beta/agents/tool_error.rb
|
|
105
107
|
- lib/openai/helpers/beta/agents/typed_output.rb
|
|
108
|
+
- lib/openai/helpers/chat/tool_runner.rb
|
|
106
109
|
- lib/openai/helpers/client_options.rb
|
|
107
110
|
- lib/openai/helpers/client_runtime.rb
|
|
108
111
|
- lib/openai/helpers/data_residency.rb
|
|
@@ -442,6 +445,13 @@ files:
|
|
|
442
445
|
- lib/openai/models/audio/translation_create_response.rb
|
|
443
446
|
- lib/openai/models/audio/translation_verbose.rb
|
|
444
447
|
- lib/openai/models/audio/voice.rb
|
|
448
|
+
- lib/openai/models/audio/voice_consent.rb
|
|
449
|
+
- lib/openai/models/audio/voice_consent_create_params.rb
|
|
450
|
+
- lib/openai/models/audio/voice_consent_delete_params.rb
|
|
451
|
+
- lib/openai/models/audio/voice_consent_deleted.rb
|
|
452
|
+
- lib/openai/models/audio/voice_consent_list_params.rb
|
|
453
|
+
- lib/openai/models/audio/voice_consent_retrieve_params.rb
|
|
454
|
+
- lib/openai/models/audio/voice_consent_update_params.rb
|
|
445
455
|
- lib/openai/models/audio/voice_create_params.rb
|
|
446
456
|
- lib/openai/models/audio_model.rb
|
|
447
457
|
- lib/openai/models/audio_response_format.rb
|
|
@@ -1639,6 +1649,7 @@ files:
|
|
|
1639
1649
|
- lib/openai/provider.rb
|
|
1640
1650
|
- lib/openai/providers/azure.rb
|
|
1641
1651
|
- lib/openai/providers/bedrock.rb
|
|
1652
|
+
- lib/openai/providers/vertex.rb
|
|
1642
1653
|
- lib/openai/request_options.rb
|
|
1643
1654
|
- lib/openai/resources/admin.rb
|
|
1644
1655
|
- lib/openai/resources/admin/organization.rb
|
|
@@ -1677,6 +1688,7 @@ files:
|
|
|
1677
1688
|
- lib/openai/resources/audio/speech.rb
|
|
1678
1689
|
- lib/openai/resources/audio/transcriptions.rb
|
|
1679
1690
|
- lib/openai/resources/audio/translations.rb
|
|
1691
|
+
- lib/openai/resources/audio/voice_consents.rb
|
|
1680
1692
|
- lib/openai/resources/audio/voices.rb
|
|
1681
1693
|
- lib/openai/resources/batches.rb
|
|
1682
1694
|
- lib/openai/resources/beta.rb
|
|
@@ -1786,6 +1798,7 @@ files:
|
|
|
1786
1798
|
- rbi/openai/helpers/beta/agents/function_tool.rbi
|
|
1787
1799
|
- rbi/openai/helpers/beta/agents/model_adapter.rbi
|
|
1788
1800
|
- rbi/openai/helpers/beta/agents/tool_error.rbi
|
|
1801
|
+
- rbi/openai/helpers/chat/tool_runner.rbi
|
|
1789
1802
|
- rbi/openai/helpers/client_options.rbi
|
|
1790
1803
|
- rbi/openai/helpers/client_runtime.rbi
|
|
1791
1804
|
- rbi/openai/helpers/data_residency.rbi
|
|
@@ -2098,6 +2111,13 @@ files:
|
|
|
2098
2111
|
- rbi/openai/models/audio/translation_create_response.rbi
|
|
2099
2112
|
- rbi/openai/models/audio/translation_verbose.rbi
|
|
2100
2113
|
- rbi/openai/models/audio/voice.rbi
|
|
2114
|
+
- rbi/openai/models/audio/voice_consent.rbi
|
|
2115
|
+
- rbi/openai/models/audio/voice_consent_create_params.rbi
|
|
2116
|
+
- rbi/openai/models/audio/voice_consent_delete_params.rbi
|
|
2117
|
+
- rbi/openai/models/audio/voice_consent_deleted.rbi
|
|
2118
|
+
- rbi/openai/models/audio/voice_consent_list_params.rbi
|
|
2119
|
+
- rbi/openai/models/audio/voice_consent_retrieve_params.rbi
|
|
2120
|
+
- rbi/openai/models/audio/voice_consent_update_params.rbi
|
|
2101
2121
|
- rbi/openai/models/audio/voice_create_params.rbi
|
|
2102
2122
|
- rbi/openai/models/audio_model.rbi
|
|
2103
2123
|
- rbi/openai/models/audio_response_format.rbi
|
|
@@ -3331,6 +3351,7 @@ files:
|
|
|
3331
3351
|
- rbi/openai/resources/audio/speech.rbi
|
|
3332
3352
|
- rbi/openai/resources/audio/transcriptions.rbi
|
|
3333
3353
|
- rbi/openai/resources/audio/translations.rbi
|
|
3354
|
+
- rbi/openai/resources/audio/voice_consents.rbi
|
|
3334
3355
|
- rbi/openai/resources/audio/voices.rbi
|
|
3335
3356
|
- rbi/openai/resources/batches.rbi
|
|
3336
3357
|
- rbi/openai/resources/beta.rbi
|
|
@@ -3440,6 +3461,7 @@ files:
|
|
|
3440
3461
|
- sig/openai/helpers/beta/agents/function_tool.rbs
|
|
3441
3462
|
- sig/openai/helpers/beta/agents/model_adapter.rbs
|
|
3442
3463
|
- sig/openai/helpers/beta/agents/tool_error.rbs
|
|
3464
|
+
- sig/openai/helpers/chat/tool_runner.rbs
|
|
3443
3465
|
- sig/openai/helpers/client_options.rbs
|
|
3444
3466
|
- sig/openai/helpers/client_runtime.rbs
|
|
3445
3467
|
- sig/openai/helpers/data_residency.rbs
|
|
@@ -3742,6 +3764,13 @@ files:
|
|
|
3742
3764
|
- sig/openai/models/audio/translation_create_response.rbs
|
|
3743
3765
|
- sig/openai/models/audio/translation_verbose.rbs
|
|
3744
3766
|
- sig/openai/models/audio/voice.rbs
|
|
3767
|
+
- sig/openai/models/audio/voice_consent.rbs
|
|
3768
|
+
- sig/openai/models/audio/voice_consent_create_params.rbs
|
|
3769
|
+
- sig/openai/models/audio/voice_consent_delete_params.rbs
|
|
3770
|
+
- sig/openai/models/audio/voice_consent_deleted.rbs
|
|
3771
|
+
- sig/openai/models/audio/voice_consent_list_params.rbs
|
|
3772
|
+
- sig/openai/models/audio/voice_consent_retrieve_params.rbs
|
|
3773
|
+
- sig/openai/models/audio/voice_consent_update_params.rbs
|
|
3745
3774
|
- sig/openai/models/audio/voice_create_params.rbs
|
|
3746
3775
|
- sig/openai/models/audio_model.rbs
|
|
3747
3776
|
- sig/openai/models/audio_response_format.rbs
|
|
@@ -4975,6 +5004,7 @@ files:
|
|
|
4975
5004
|
- sig/openai/resources/audio/speech.rbs
|
|
4976
5005
|
- sig/openai/resources/audio/transcriptions.rbs
|
|
4977
5006
|
- sig/openai/resources/audio/translations.rbs
|
|
5007
|
+
- sig/openai/resources/audio/voice_consents.rbs
|
|
4978
5008
|
- sig/openai/resources/audio/voices.rbs
|
|
4979
5009
|
- sig/openai/resources/batches.rbs
|
|
4980
5010
|
- sig/openai/resources/beta.rbs
|
|
@@ -5065,6 +5095,7 @@ files:
|
|
|
5065
5095
|
- sig/openai/response_carrier.rbs
|
|
5066
5096
|
- sig/openai/streaming.rbs
|
|
5067
5097
|
- sig/openai/version.rbs
|
|
5098
|
+
- vertex.md
|
|
5068
5099
|
homepage: https://gemdocs.org/gems/openai
|
|
5069
5100
|
licenses:
|
|
5070
5101
|
- Apache-2.0
|