telnyx 5.97.0 → 5.99.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 +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/assistant_create_params.rb +9 -231
- data/lib/telnyx/models/ai/assistant_update_params.rb +9 -231
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +9 -236
- data/lib/telnyx/models/ai/external_llm.rb +89 -0
- data/lib/telnyx/models/ai/external_llm_req.rb +89 -0
- data/lib/telnyx/models/ai/fallback_config.rb +37 -0
- data/lib/telnyx/models/ai/fallback_config_req.rb +37 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +9 -234
- data/lib/telnyx/models/ai/observability.rb +57 -1
- data/lib/telnyx/models/ai/observability_req.rb +57 -1
- data/lib/telnyx/models/ai/post_conversation_settings.rb +30 -0
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +30 -0
- data/lib/telnyx/models/calls/action_gather_using_ai_params.rb +26 -3
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_speak_params.rb +26 -3
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +26 -3
- data/lib/telnyx/models/conferences/action_speak_params.rb +26 -3
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -3
- data/lib/telnyx/resources/ai/assistants.rb +6 -6
- data/lib/telnyx/resources/calls/actions.rb +4 -4
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +6 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +12 -463
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +12 -469
- data/rbi/telnyx/models/ai/external_llm.rbi +161 -0
- data/rbi/telnyx/models/ai/external_llm_req.rbi +161 -0
- data/rbi/telnyx/models/ai/fallback_config.rbi +64 -0
- data/rbi/telnyx/models/ai/fallback_config_req.rbi +64 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -460
- data/rbi/telnyx/models/ai/observability.rbi +85 -0
- data/rbi/telnyx/models/ai/observability_req.rbi +86 -0
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +45 -0
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +45 -0
- data/rbi/telnyx/models/calls/action_gather_using_ai_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_speak_params.rbi +50 -5
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +50 -5
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +50 -5
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +3 -5
- data/rbi/telnyx/resources/ai/assistants.rbi +6 -10
- data/rbi/telnyx/resources/calls/actions.rbi +16 -4
- data/rbi/telnyx/resources/conferences/actions.rbi +4 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistant_update_params.rbs +18 -205
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +18 -205
- data/sig/telnyx/models/ai/external_llm.rbs +75 -0
- data/sig/telnyx/models/ai/external_llm_req.rbs +75 -0
- data/sig/telnyx/models/ai/fallback_config.rbs +38 -0
- data/sig/telnyx/models/ai/fallback_config_req.rbs +40 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +17 -206
- data/sig/telnyx/models/ai/observability.rbs +41 -0
- data/sig/telnyx/models/ai/observability_req.rbs +41 -0
- data/sig/telnyx/models/ai/post_conversation_settings.rbs +17 -0
- data/sig/telnyx/models/ai/post_conversation_settings_req.rbs +17 -0
- data/sig/telnyx/models/calls/action_gather_using_ai_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_speak_params.rbs +15 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +15 -0
- data/sig/telnyx/models/conferences/action_speak_params.rbs +15 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +3 -3
- data/sig/telnyx/resources/ai/assistants.rbs +6 -6
- metadata +20 -2
|
@@ -59,6 +59,8 @@ module Telnyx
|
|
|
59
59
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
60
60
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
61
61
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
62
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
63
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
62
64
|
#
|
|
63
65
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
64
66
|
# female).
|
|
@@ -126,7 +128,7 @@ module Telnyx
|
|
|
126
128
|
# @!attribute voice_settings
|
|
127
129
|
# The settings associated with the voice selected
|
|
128
130
|
#
|
|
129
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, nil]
|
|
131
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Xai, nil]
|
|
130
132
|
optional :voice_settings, union: -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings }
|
|
131
133
|
|
|
132
134
|
# @!method initialize(call_control_id:, payload:, voice:, client_state: nil, command_id: nil, language: nil, loop_: nil, payload_type: nil, service_level: nil, stop: nil, target_legs: nil, voice_settings: nil, request_options: {})
|
|
@@ -155,7 +157,7 @@ module Telnyx
|
|
|
155
157
|
#
|
|
156
158
|
# @param target_legs [Symbol, Telnyx::Models::Calls::ActionSpeakParams::TargetLegs] Specifies which legs of the call should receive the spoken audio.
|
|
157
159
|
#
|
|
158
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld] The settings associated with the voice selected
|
|
160
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
159
161
|
#
|
|
160
162
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
161
163
|
|
|
@@ -256,6 +258,8 @@ module Telnyx
|
|
|
256
258
|
|
|
257
259
|
variant :inworld, -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld }
|
|
258
260
|
|
|
261
|
+
variant :xai, -> { Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai }
|
|
262
|
+
|
|
259
263
|
class Inworld < Telnyx::Internal::Type::BaseModel
|
|
260
264
|
# @!attribute type
|
|
261
265
|
# Voice settings provider type
|
|
@@ -267,8 +271,27 @@ module Telnyx
|
|
|
267
271
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
268
272
|
end
|
|
269
273
|
|
|
274
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
275
|
+
# @!attribute type
|
|
276
|
+
# Voice settings provider type
|
|
277
|
+
#
|
|
278
|
+
# @return [Symbol, :xai]
|
|
279
|
+
required :type, const: :xai
|
|
280
|
+
|
|
281
|
+
# @!attribute language
|
|
282
|
+
# Language code, or `auto` to detect automatically.
|
|
283
|
+
#
|
|
284
|
+
# @return [String, nil]
|
|
285
|
+
optional :language, String
|
|
286
|
+
|
|
287
|
+
# @!method initialize(language: nil, type: :xai)
|
|
288
|
+
# @param language [String] Language code, or `auto` to detect automatically.
|
|
289
|
+
#
|
|
290
|
+
# @param type [Symbol, :xai] Voice settings provider type
|
|
291
|
+
end
|
|
292
|
+
|
|
270
293
|
# @!method self.variants
|
|
271
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld)]
|
|
294
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Xai)]
|
|
272
295
|
end
|
|
273
296
|
end
|
|
274
297
|
end
|
|
@@ -105,6 +105,8 @@ module Telnyx
|
|
|
105
105
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
106
106
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
107
107
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
108
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
109
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
108
110
|
#
|
|
109
111
|
# @return [String, nil]
|
|
110
112
|
optional :voice, String
|
|
@@ -112,7 +114,7 @@ module Telnyx
|
|
|
112
114
|
# @!attribute voice_settings
|
|
113
115
|
# The settings associated with the voice selected
|
|
114
116
|
#
|
|
115
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, nil]
|
|
117
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai, nil]
|
|
116
118
|
optional :voice_settings, union: -> { Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings }
|
|
117
119
|
|
|
118
120
|
# @!method initialize(call_control_id:, assistant: nil, client_state: nil, command_id: nil, greeting: nil, interruption_settings: nil, message_history: nil, participants: nil, send_message_history_updates: nil, transcription: nil, voice: nil, voice_settings: nil, request_options: {})
|
|
@@ -141,7 +143,7 @@ module Telnyx
|
|
|
141
143
|
#
|
|
142
144
|
# @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
|
|
143
145
|
#
|
|
144
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings] The settings associated with the voice selected
|
|
146
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
145
147
|
#
|
|
146
148
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
147
149
|
|
|
@@ -466,8 +468,29 @@ module Telnyx
|
|
|
466
468
|
|
|
467
469
|
variant :resemble, -> { Telnyx::ResembleVoiceSettings }
|
|
468
470
|
|
|
471
|
+
variant :xai, -> { Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai }
|
|
472
|
+
|
|
473
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
474
|
+
# @!attribute type
|
|
475
|
+
# Voice settings provider type
|
|
476
|
+
#
|
|
477
|
+
# @return [Symbol, :xai]
|
|
478
|
+
required :type, const: :xai
|
|
479
|
+
|
|
480
|
+
# @!attribute language
|
|
481
|
+
# Language code, or `auto` to detect automatically.
|
|
482
|
+
#
|
|
483
|
+
# @return [String, nil]
|
|
484
|
+
optional :language, String
|
|
485
|
+
|
|
486
|
+
# @!method initialize(language: nil, type: :xai)
|
|
487
|
+
# @param language [String] Language code, or `auto` to detect automatically.
|
|
488
|
+
#
|
|
489
|
+
# @param type [Symbol, :xai] Voice settings provider type
|
|
490
|
+
end
|
|
491
|
+
|
|
469
492
|
# @!method self.variants
|
|
470
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings)]
|
|
493
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai)]
|
|
471
494
|
end
|
|
472
495
|
end
|
|
473
496
|
end
|
|
@@ -59,6 +59,8 @@ module Telnyx
|
|
|
59
59
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
60
60
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
61
61
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
62
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
63
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
62
64
|
#
|
|
63
65
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
64
66
|
# female).
|
|
@@ -105,7 +107,7 @@ module Telnyx
|
|
|
105
107
|
# @!attribute voice_settings
|
|
106
108
|
# The settings associated with the voice selected
|
|
107
109
|
#
|
|
108
|
-
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, nil]
|
|
110
|
+
# @return [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Xai, nil]
|
|
109
111
|
optional :voice_settings, union: -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings }
|
|
110
112
|
|
|
111
113
|
# @!method initialize(id:, payload:, voice:, call_control_ids: nil, command_id: nil, language: nil, payload_type: nil, region: nil, voice_settings: nil, request_options: {})
|
|
@@ -128,7 +130,7 @@ module Telnyx
|
|
|
128
130
|
#
|
|
129
131
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
130
132
|
#
|
|
131
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld] The settings associated with the voice selected
|
|
133
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
132
134
|
#
|
|
133
135
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
134
136
|
|
|
@@ -219,6 +221,8 @@ module Telnyx
|
|
|
219
221
|
|
|
220
222
|
variant :inworld, -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld }
|
|
221
223
|
|
|
224
|
+
variant :xai, -> { Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai }
|
|
225
|
+
|
|
222
226
|
class Inworld < Telnyx::Internal::Type::BaseModel
|
|
223
227
|
# @!attribute type
|
|
224
228
|
# Voice settings provider type
|
|
@@ -230,8 +234,27 @@ module Telnyx
|
|
|
230
234
|
# @param type [Symbol, :inworld] Voice settings provider type
|
|
231
235
|
end
|
|
232
236
|
|
|
237
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
238
|
+
# @!attribute type
|
|
239
|
+
# Voice settings provider type
|
|
240
|
+
#
|
|
241
|
+
# @return [Symbol, :xai]
|
|
242
|
+
required :type, const: :xai
|
|
243
|
+
|
|
244
|
+
# @!attribute language
|
|
245
|
+
# Language code, or `auto` to detect automatically.
|
|
246
|
+
#
|
|
247
|
+
# @return [String, nil]
|
|
248
|
+
optional :language, String
|
|
249
|
+
|
|
250
|
+
# @!method initialize(language: nil, type: :xai)
|
|
251
|
+
# @param language [String] Language code, or `auto` to detect automatically.
|
|
252
|
+
#
|
|
253
|
+
# @param type [Symbol, :xai] Voice settings provider type
|
|
254
|
+
end
|
|
255
|
+
|
|
233
256
|
# @!method self.variants
|
|
234
|
-
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld)]
|
|
257
|
+
# @return [Array(Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Xai)]
|
|
235
258
|
end
|
|
236
259
|
end
|
|
237
260
|
end
|
|
@@ -59,9 +59,9 @@ module Telnyx
|
|
|
59
59
|
#
|
|
60
60
|
# @param enabled_features [Array<Symbol, Telnyx::Models::AI::EnabledFeatures>] Body param
|
|
61
61
|
#
|
|
62
|
-
# @param external_llm [Telnyx::Models::AI::
|
|
62
|
+
# @param external_llm [Telnyx::Models::AI::ExternalLlmReq] Body param
|
|
63
63
|
#
|
|
64
|
-
# @param fallback_config [Telnyx::Models::AI::
|
|
64
|
+
# @param fallback_config [Telnyx::Models::AI::FallbackConfigReq] Body param
|
|
65
65
|
#
|
|
66
66
|
# @param greeting [String] Body param: Text that the assistant will use to start the conversation. This may
|
|
67
67
|
#
|
|
@@ -85,7 +85,7 @@ module Telnyx
|
|
|
85
85
|
#
|
|
86
86
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq] Body param
|
|
87
87
|
#
|
|
88
|
-
# @param post_conversation_settings [Telnyx::Models::AI::
|
|
88
|
+
# @param post_conversation_settings [Telnyx::Models::AI::PostConversationSettingsReq] Body param: Configuration for post-conversation processing. When enabled, the as
|
|
89
89
|
#
|
|
90
90
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings] Body param
|
|
91
91
|
#
|
|
@@ -50,9 +50,9 @@ module Telnyx
|
|
|
50
50
|
#
|
|
51
51
|
# @param enabled_features [Array<Symbol, Telnyx::Models::AI::EnabledFeatures>]
|
|
52
52
|
#
|
|
53
|
-
# @param external_llm [Telnyx::Models::AI::
|
|
53
|
+
# @param external_llm [Telnyx::Models::AI::ExternalLlmReq]
|
|
54
54
|
#
|
|
55
|
-
# @param fallback_config [Telnyx::Models::AI::
|
|
55
|
+
# @param fallback_config [Telnyx::Models::AI::FallbackConfigReq]
|
|
56
56
|
#
|
|
57
57
|
# @param greeting [String] Text that the assistant will use to start the conversation. This may be template
|
|
58
58
|
#
|
|
@@ -72,7 +72,7 @@ module Telnyx
|
|
|
72
72
|
#
|
|
73
73
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
74
74
|
#
|
|
75
|
-
# @param post_conversation_settings [Telnyx::Models::AI::
|
|
75
|
+
# @param post_conversation_settings [Telnyx::Models::AI::PostConversationSettingsReq] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
76
76
|
#
|
|
77
77
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
78
78
|
#
|
|
@@ -151,9 +151,9 @@ module Telnyx
|
|
|
151
151
|
#
|
|
152
152
|
# @param enabled_features [Array<Symbol, Telnyx::Models::AI::EnabledFeatures>]
|
|
153
153
|
#
|
|
154
|
-
# @param external_llm [Telnyx::Models::AI::
|
|
154
|
+
# @param external_llm [Telnyx::Models::AI::ExternalLlmReq]
|
|
155
155
|
#
|
|
156
|
-
# @param fallback_config [Telnyx::Models::AI::
|
|
156
|
+
# @param fallback_config [Telnyx::Models::AI::FallbackConfigReq]
|
|
157
157
|
#
|
|
158
158
|
# @param greeting [String] Text that the assistant will use to start the conversation. This may be template
|
|
159
159
|
#
|
|
@@ -177,7 +177,7 @@ module Telnyx
|
|
|
177
177
|
#
|
|
178
178
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
179
179
|
#
|
|
180
|
-
# @param post_conversation_settings [Telnyx::Models::AI::
|
|
180
|
+
# @param post_conversation_settings [Telnyx::Models::AI::PostConversationSettingsReq] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
181
181
|
#
|
|
182
182
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
183
183
|
#
|
|
@@ -347,7 +347,7 @@ module Telnyx
|
|
|
347
347
|
#
|
|
348
348
|
# @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
|
|
349
349
|
#
|
|
350
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings] The settings associated with the voice selected
|
|
350
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
351
351
|
#
|
|
352
352
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
353
353
|
#
|
|
@@ -480,7 +480,7 @@ module Telnyx
|
|
|
480
480
|
#
|
|
481
481
|
# @param valid_digits [String] A list of all digits accepted as valid.
|
|
482
482
|
#
|
|
483
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld] The settings associated with the voice selected
|
|
483
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
484
484
|
#
|
|
485
485
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
486
486
|
#
|
|
@@ -860,7 +860,7 @@ module Telnyx
|
|
|
860
860
|
#
|
|
861
861
|
# @param target_legs [Symbol, Telnyx::Models::Calls::ActionSpeakParams::TargetLegs] Specifies which legs of the call should receive the spoken audio.
|
|
862
862
|
#
|
|
863
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld] The settings associated with the voice selected
|
|
863
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Calls::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
864
864
|
#
|
|
865
865
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
866
866
|
#
|
|
@@ -912,7 +912,7 @@ module Telnyx
|
|
|
912
912
|
#
|
|
913
913
|
# @param voice [String] The voice to be used by the voice assistant. Currently we support ElevenLabs, Te
|
|
914
914
|
#
|
|
915
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings] The settings associated with the voice selected
|
|
915
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
916
916
|
#
|
|
917
917
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
918
918
|
#
|
|
@@ -520,7 +520,7 @@ module Telnyx
|
|
|
520
520
|
#
|
|
521
521
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
522
522
|
#
|
|
523
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld] The settings associated with the voice selected
|
|
523
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings, Telnyx::Models::AzureVoiceSettings, Telnyx::Models::RimeVoiceSettings, Telnyx::Models::ResembleVoiceSettings, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Inworld, Telnyx::Models::Conferences::ActionSpeakParams::VoiceSettings::Xai] The settings associated with the voice selected
|
|
524
524
|
#
|
|
525
525
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
526
526
|
#
|
data/lib/telnyx/version.rb
CHANGED
data/lib/telnyx.rb
CHANGED
|
@@ -256,6 +256,10 @@ require_relative "telnyx/models/ai/embedding_similarity_search_params"
|
|
|
256
256
|
require_relative "telnyx/models/ai/embedding_similarity_search_response"
|
|
257
257
|
require_relative "telnyx/models/ai/embedding_url_params"
|
|
258
258
|
require_relative "telnyx/models/ai/enabled_features"
|
|
259
|
+
require_relative "telnyx/models/ai/external_llm"
|
|
260
|
+
require_relative "telnyx/models/ai/external_llm_req"
|
|
261
|
+
require_relative "telnyx/models/ai/fallback_config"
|
|
262
|
+
require_relative "telnyx/models/ai/fallback_config_req"
|
|
259
263
|
require_relative "telnyx/models/ai/fine_tuning/fine_tuning_job"
|
|
260
264
|
require_relative "telnyx/models/ai/fine_tuning/job_cancel_params"
|
|
261
265
|
require_relative "telnyx/models/ai/fine_tuning/job_create_params"
|
|
@@ -371,6 +375,8 @@ require_relative "telnyx/models/ai/openai/embedding_create_embeddings_params"
|
|
|
371
375
|
require_relative "telnyx/models/ai/openai/embedding_create_embeddings_response"
|
|
372
376
|
require_relative "telnyx/models/ai/openai/embedding_list_embedding_models_params"
|
|
373
377
|
require_relative "telnyx/models/ai/openai/embedding_list_embedding_models_response"
|
|
378
|
+
require_relative "telnyx/models/ai/post_conversation_settings"
|
|
379
|
+
require_relative "telnyx/models/ai/post_conversation_settings_req"
|
|
374
380
|
require_relative "telnyx/models/ai/privacy_settings"
|
|
375
381
|
require_relative "telnyx/models/ai/recursive_cluster"
|
|
376
382
|
require_relative "telnyx/models/ai/retrieval_tool"
|