telnyx 5.98.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 +8 -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/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/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/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
|
@@ -175,6 +175,8 @@ module Telnyx
|
|
|
175
175
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
176
176
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
177
177
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
178
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
179
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
178
180
|
sig { returns(T.nilable(String)) }
|
|
179
181
|
attr_reader :voice
|
|
180
182
|
|
|
@@ -191,7 +193,8 @@ module Telnyx
|
|
|
191
193
|
Telnyx::Calls::AwsVoiceSettings,
|
|
192
194
|
Telnyx::AzureVoiceSettings,
|
|
193
195
|
Telnyx::RimeVoiceSettings,
|
|
194
|
-
Telnyx::ResembleVoiceSettings
|
|
196
|
+
Telnyx::ResembleVoiceSettings,
|
|
197
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai
|
|
195
198
|
)
|
|
196
199
|
)
|
|
197
200
|
)
|
|
@@ -207,7 +210,8 @@ module Telnyx
|
|
|
207
210
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
208
211
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
209
212
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
210
|
-
Telnyx::ResembleVoiceSettings::OrHash
|
|
213
|
+
Telnyx::ResembleVoiceSettings::OrHash,
|
|
214
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai::OrHash
|
|
211
215
|
)
|
|
212
216
|
).void
|
|
213
217
|
end
|
|
@@ -240,7 +244,8 @@ module Telnyx
|
|
|
240
244
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
241
245
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
242
246
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
243
|
-
Telnyx::ResembleVoiceSettings::OrHash
|
|
247
|
+
Telnyx::ResembleVoiceSettings::OrHash,
|
|
248
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai::OrHash
|
|
244
249
|
),
|
|
245
250
|
request_options: Telnyx::RequestOptions::OrHash
|
|
246
251
|
).returns(T.attached_class)
|
|
@@ -315,6 +320,8 @@ module Telnyx
|
|
|
315
320
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
316
321
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
317
322
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
323
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
324
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
318
325
|
voice: nil,
|
|
319
326
|
# The settings associated with the voice selected
|
|
320
327
|
voice_settings: nil,
|
|
@@ -350,7 +357,8 @@ module Telnyx
|
|
|
350
357
|
Telnyx::Calls::AwsVoiceSettings,
|
|
351
358
|
Telnyx::AzureVoiceSettings,
|
|
352
359
|
Telnyx::RimeVoiceSettings,
|
|
353
|
-
Telnyx::ResembleVoiceSettings
|
|
360
|
+
Telnyx::ResembleVoiceSettings,
|
|
361
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai
|
|
354
362
|
),
|
|
355
363
|
request_options: Telnyx::RequestOptions
|
|
356
364
|
}
|
|
@@ -468,10 +476,47 @@ module Telnyx
|
|
|
468
476
|
Telnyx::Calls::AwsVoiceSettings,
|
|
469
477
|
Telnyx::AzureVoiceSettings,
|
|
470
478
|
Telnyx::RimeVoiceSettings,
|
|
471
|
-
Telnyx::ResembleVoiceSettings
|
|
479
|
+
Telnyx::ResembleVoiceSettings,
|
|
480
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai
|
|
472
481
|
)
|
|
473
482
|
end
|
|
474
483
|
|
|
484
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
485
|
+
OrHash =
|
|
486
|
+
T.type_alias do
|
|
487
|
+
T.any(
|
|
488
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai,
|
|
489
|
+
Telnyx::Internal::AnyHash
|
|
490
|
+
)
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
# Voice settings provider type
|
|
494
|
+
sig { returns(Symbol) }
|
|
495
|
+
attr_accessor :type
|
|
496
|
+
|
|
497
|
+
# Language code, or `auto` to detect automatically.
|
|
498
|
+
sig { returns(T.nilable(String)) }
|
|
499
|
+
attr_reader :language
|
|
500
|
+
|
|
501
|
+
sig { params(language: String).void }
|
|
502
|
+
attr_writer :language
|
|
503
|
+
|
|
504
|
+
sig do
|
|
505
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
506
|
+
end
|
|
507
|
+
def self.new(
|
|
508
|
+
# Language code, or `auto` to detect automatically.
|
|
509
|
+
language: nil,
|
|
510
|
+
# Voice settings provider type
|
|
511
|
+
type: :xai
|
|
512
|
+
)
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
516
|
+
def to_hash
|
|
517
|
+
end
|
|
518
|
+
end
|
|
519
|
+
|
|
475
520
|
sig do
|
|
476
521
|
override.returns(
|
|
477
522
|
T::Array[
|
|
@@ -61,6 +61,8 @@ module Telnyx
|
|
|
61
61
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
62
62
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
63
63
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
64
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
65
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
64
66
|
#
|
|
65
67
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
66
68
|
# female).
|
|
@@ -214,7 +216,8 @@ module Telnyx
|
|
|
214
216
|
Telnyx::AzureVoiceSettings,
|
|
215
217
|
Telnyx::RimeVoiceSettings,
|
|
216
218
|
Telnyx::ResembleVoiceSettings,
|
|
217
|
-
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld
|
|
219
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld,
|
|
220
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
218
221
|
)
|
|
219
222
|
)
|
|
220
223
|
)
|
|
@@ -232,7 +235,8 @@ module Telnyx
|
|
|
232
235
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
233
236
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
234
237
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
235
|
-
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash
|
|
238
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
239
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai::OrHash
|
|
236
240
|
)
|
|
237
241
|
).void
|
|
238
242
|
end
|
|
@@ -268,7 +272,8 @@ module Telnyx
|
|
|
268
272
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
269
273
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
270
274
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
271
|
-
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash
|
|
275
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
276
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai::OrHash
|
|
272
277
|
),
|
|
273
278
|
request_options: Telnyx::RequestOptions::OrHash
|
|
274
279
|
).returns(T.attached_class)
|
|
@@ -316,6 +321,8 @@ module Telnyx
|
|
|
316
321
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
317
322
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
318
323
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
324
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
325
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
319
326
|
#
|
|
320
327
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
321
328
|
# female).
|
|
@@ -394,7 +401,8 @@ module Telnyx
|
|
|
394
401
|
Telnyx::AzureVoiceSettings,
|
|
395
402
|
Telnyx::RimeVoiceSettings,
|
|
396
403
|
Telnyx::ResembleVoiceSettings,
|
|
397
|
-
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld
|
|
404
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld,
|
|
405
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
398
406
|
),
|
|
399
407
|
request_options: Telnyx::RequestOptions
|
|
400
408
|
}
|
|
@@ -660,7 +668,8 @@ module Telnyx
|
|
|
660
668
|
Telnyx::AzureVoiceSettings,
|
|
661
669
|
Telnyx::RimeVoiceSettings,
|
|
662
670
|
Telnyx::ResembleVoiceSettings,
|
|
663
|
-
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld
|
|
671
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld,
|
|
672
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai
|
|
664
673
|
)
|
|
665
674
|
end
|
|
666
675
|
|
|
@@ -689,6 +698,42 @@ module Telnyx
|
|
|
689
698
|
end
|
|
690
699
|
end
|
|
691
700
|
|
|
701
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
702
|
+
OrHash =
|
|
703
|
+
T.type_alias do
|
|
704
|
+
T.any(
|
|
705
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai,
|
|
706
|
+
Telnyx::Internal::AnyHash
|
|
707
|
+
)
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# Voice settings provider type
|
|
711
|
+
sig { returns(Symbol) }
|
|
712
|
+
attr_accessor :type
|
|
713
|
+
|
|
714
|
+
# Language code, or `auto` to detect automatically.
|
|
715
|
+
sig { returns(T.nilable(String)) }
|
|
716
|
+
attr_reader :language
|
|
717
|
+
|
|
718
|
+
sig { params(language: String).void }
|
|
719
|
+
attr_writer :language
|
|
720
|
+
|
|
721
|
+
sig do
|
|
722
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
723
|
+
end
|
|
724
|
+
def self.new(
|
|
725
|
+
# Language code, or `auto` to detect automatically.
|
|
726
|
+
language: nil,
|
|
727
|
+
# Voice settings provider type
|
|
728
|
+
type: :xai
|
|
729
|
+
)
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
733
|
+
def to_hash
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
692
737
|
sig do
|
|
693
738
|
override.returns(
|
|
694
739
|
T::Array[
|
|
@@ -58,6 +58,8 @@ module Telnyx
|
|
|
58
58
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
59
59
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
60
60
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
61
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
62
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
61
63
|
#
|
|
62
64
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
63
65
|
# female).
|
|
@@ -175,7 +177,8 @@ module Telnyx
|
|
|
175
177
|
Telnyx::AzureVoiceSettings,
|
|
176
178
|
Telnyx::RimeVoiceSettings,
|
|
177
179
|
Telnyx::ResembleVoiceSettings,
|
|
178
|
-
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld
|
|
180
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld,
|
|
181
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
179
182
|
)
|
|
180
183
|
)
|
|
181
184
|
)
|
|
@@ -193,7 +196,8 @@ module Telnyx
|
|
|
193
196
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
194
197
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
195
198
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
196
|
-
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash
|
|
199
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
200
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
197
201
|
)
|
|
198
202
|
).void
|
|
199
203
|
end
|
|
@@ -223,7 +227,8 @@ module Telnyx
|
|
|
223
227
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
224
228
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
225
229
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
226
|
-
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash
|
|
230
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
231
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
227
232
|
),
|
|
228
233
|
request_options: Telnyx::RequestOptions::OrHash
|
|
229
234
|
).returns(T.attached_class)
|
|
@@ -271,6 +276,8 @@ module Telnyx
|
|
|
271
276
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
272
277
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
273
278
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
279
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
280
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
274
281
|
#
|
|
275
282
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
276
283
|
# female).
|
|
@@ -332,7 +339,8 @@ module Telnyx
|
|
|
332
339
|
Telnyx::AzureVoiceSettings,
|
|
333
340
|
Telnyx::RimeVoiceSettings,
|
|
334
341
|
Telnyx::ResembleVoiceSettings,
|
|
335
|
-
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld
|
|
342
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld,
|
|
343
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
336
344
|
),
|
|
337
345
|
request_options: Telnyx::RequestOptions
|
|
338
346
|
}
|
|
@@ -624,7 +632,8 @@ module Telnyx
|
|
|
624
632
|
Telnyx::AzureVoiceSettings,
|
|
625
633
|
Telnyx::RimeVoiceSettings,
|
|
626
634
|
Telnyx::ResembleVoiceSettings,
|
|
627
|
-
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld
|
|
635
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld,
|
|
636
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai
|
|
628
637
|
)
|
|
629
638
|
end
|
|
630
639
|
|
|
@@ -653,6 +662,42 @@ module Telnyx
|
|
|
653
662
|
end
|
|
654
663
|
end
|
|
655
664
|
|
|
665
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
666
|
+
OrHash =
|
|
667
|
+
T.type_alias do
|
|
668
|
+
T.any(
|
|
669
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai,
|
|
670
|
+
Telnyx::Internal::AnyHash
|
|
671
|
+
)
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
# Voice settings provider type
|
|
675
|
+
sig { returns(Symbol) }
|
|
676
|
+
attr_accessor :type
|
|
677
|
+
|
|
678
|
+
# Language code, or `auto` to detect automatically.
|
|
679
|
+
sig { returns(T.nilable(String)) }
|
|
680
|
+
attr_reader :language
|
|
681
|
+
|
|
682
|
+
sig { params(language: String).void }
|
|
683
|
+
attr_writer :language
|
|
684
|
+
|
|
685
|
+
sig do
|
|
686
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
687
|
+
end
|
|
688
|
+
def self.new(
|
|
689
|
+
# Language code, or `auto` to detect automatically.
|
|
690
|
+
language: nil,
|
|
691
|
+
# Voice settings provider type
|
|
692
|
+
type: :xai
|
|
693
|
+
)
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
697
|
+
def to_hash
|
|
698
|
+
end
|
|
699
|
+
end
|
|
700
|
+
|
|
656
701
|
sig do
|
|
657
702
|
override.returns(
|
|
658
703
|
T::Array[
|
|
@@ -162,6 +162,8 @@ module Telnyx
|
|
|
162
162
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
163
163
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
164
164
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
165
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
166
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
165
167
|
sig { returns(T.nilable(String)) }
|
|
166
168
|
attr_reader :voice
|
|
167
169
|
|
|
@@ -178,7 +180,8 @@ module Telnyx
|
|
|
178
180
|
Telnyx::Calls::AwsVoiceSettings,
|
|
179
181
|
Telnyx::AzureVoiceSettings,
|
|
180
182
|
Telnyx::RimeVoiceSettings,
|
|
181
|
-
Telnyx::ResembleVoiceSettings
|
|
183
|
+
Telnyx::ResembleVoiceSettings,
|
|
184
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
182
185
|
)
|
|
183
186
|
)
|
|
184
187
|
)
|
|
@@ -194,7 +197,8 @@ module Telnyx
|
|
|
194
197
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
195
198
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
196
199
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
197
|
-
Telnyx::ResembleVoiceSettings::OrHash
|
|
200
|
+
Telnyx::ResembleVoiceSettings::OrHash,
|
|
201
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai::OrHash
|
|
198
202
|
)
|
|
199
203
|
).void
|
|
200
204
|
end
|
|
@@ -232,7 +236,8 @@ module Telnyx
|
|
|
232
236
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
233
237
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
234
238
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
235
|
-
Telnyx::ResembleVoiceSettings::OrHash
|
|
239
|
+
Telnyx::ResembleVoiceSettings::OrHash,
|
|
240
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai::OrHash
|
|
236
241
|
),
|
|
237
242
|
request_options: Telnyx::RequestOptions::OrHash
|
|
238
243
|
).returns(T.attached_class)
|
|
@@ -292,6 +297,8 @@ module Telnyx
|
|
|
292
297
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
293
298
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
294
299
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
300
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
301
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
295
302
|
voice: nil,
|
|
296
303
|
# The settings associated with the voice selected
|
|
297
304
|
voice_settings: nil,
|
|
@@ -332,7 +339,8 @@ module Telnyx
|
|
|
332
339
|
Telnyx::Calls::AwsVoiceSettings,
|
|
333
340
|
Telnyx::AzureVoiceSettings,
|
|
334
341
|
Telnyx::RimeVoiceSettings,
|
|
335
|
-
Telnyx::ResembleVoiceSettings
|
|
342
|
+
Telnyx::ResembleVoiceSettings,
|
|
343
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
336
344
|
),
|
|
337
345
|
request_options: Telnyx::RequestOptions
|
|
338
346
|
}
|
|
@@ -975,10 +983,47 @@ module Telnyx
|
|
|
975
983
|
Telnyx::Calls::AwsVoiceSettings,
|
|
976
984
|
Telnyx::AzureVoiceSettings,
|
|
977
985
|
Telnyx::RimeVoiceSettings,
|
|
978
|
-
Telnyx::ResembleVoiceSettings
|
|
986
|
+
Telnyx::ResembleVoiceSettings,
|
|
987
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai
|
|
979
988
|
)
|
|
980
989
|
end
|
|
981
990
|
|
|
991
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
992
|
+
OrHash =
|
|
993
|
+
T.type_alias do
|
|
994
|
+
T.any(
|
|
995
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai,
|
|
996
|
+
Telnyx::Internal::AnyHash
|
|
997
|
+
)
|
|
998
|
+
end
|
|
999
|
+
|
|
1000
|
+
# Voice settings provider type
|
|
1001
|
+
sig { returns(Symbol) }
|
|
1002
|
+
attr_accessor :type
|
|
1003
|
+
|
|
1004
|
+
# Language code, or `auto` to detect automatically.
|
|
1005
|
+
sig { returns(T.nilable(String)) }
|
|
1006
|
+
attr_reader :language
|
|
1007
|
+
|
|
1008
|
+
sig { params(language: String).void }
|
|
1009
|
+
attr_writer :language
|
|
1010
|
+
|
|
1011
|
+
sig do
|
|
1012
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
1013
|
+
end
|
|
1014
|
+
def self.new(
|
|
1015
|
+
# Language code, or `auto` to detect automatically.
|
|
1016
|
+
language: nil,
|
|
1017
|
+
# Voice settings provider type
|
|
1018
|
+
type: :xai
|
|
1019
|
+
)
|
|
1020
|
+
end
|
|
1021
|
+
|
|
1022
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
1023
|
+
def to_hash
|
|
1024
|
+
end
|
|
1025
|
+
end
|
|
1026
|
+
|
|
982
1027
|
sig do
|
|
983
1028
|
override.returns(
|
|
984
1029
|
T::Array[
|
|
@@ -61,6 +61,8 @@ module Telnyx
|
|
|
61
61
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
62
62
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
63
63
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
64
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
65
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
64
66
|
#
|
|
65
67
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
66
68
|
# female).
|
|
@@ -149,7 +151,8 @@ module Telnyx
|
|
|
149
151
|
Telnyx::AzureVoiceSettings,
|
|
150
152
|
Telnyx::RimeVoiceSettings,
|
|
151
153
|
Telnyx::ResembleVoiceSettings,
|
|
152
|
-
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld
|
|
154
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld,
|
|
155
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai
|
|
153
156
|
)
|
|
154
157
|
)
|
|
155
158
|
)
|
|
@@ -167,7 +170,8 @@ module Telnyx
|
|
|
167
170
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
168
171
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
169
172
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
170
|
-
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld::OrHash
|
|
173
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
174
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
171
175
|
)
|
|
172
176
|
).void
|
|
173
177
|
end
|
|
@@ -194,7 +198,8 @@ module Telnyx
|
|
|
194
198
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
195
199
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
196
200
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
197
|
-
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld::OrHash
|
|
201
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
202
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
198
203
|
),
|
|
199
204
|
request_options: Telnyx::RequestOptions::OrHash
|
|
200
205
|
).returns(T.attached_class)
|
|
@@ -242,6 +247,8 @@ module Telnyx
|
|
|
242
247
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
243
248
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
244
249
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
250
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
251
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
245
252
|
#
|
|
246
253
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
247
254
|
# female).
|
|
@@ -290,7 +297,8 @@ module Telnyx
|
|
|
290
297
|
Telnyx::AzureVoiceSettings,
|
|
291
298
|
Telnyx::RimeVoiceSettings,
|
|
292
299
|
Telnyx::ResembleVoiceSettings,
|
|
293
|
-
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld
|
|
300
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld,
|
|
301
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai
|
|
294
302
|
),
|
|
295
303
|
request_options: Telnyx::RequestOptions
|
|
296
304
|
}
|
|
@@ -557,7 +565,8 @@ module Telnyx
|
|
|
557
565
|
Telnyx::AzureVoiceSettings,
|
|
558
566
|
Telnyx::RimeVoiceSettings,
|
|
559
567
|
Telnyx::ResembleVoiceSettings,
|
|
560
|
-
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld
|
|
568
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Inworld,
|
|
569
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai
|
|
561
570
|
)
|
|
562
571
|
end
|
|
563
572
|
|
|
@@ -586,6 +595,42 @@ module Telnyx
|
|
|
586
595
|
end
|
|
587
596
|
end
|
|
588
597
|
|
|
598
|
+
class Xai < Telnyx::Internal::Type::BaseModel
|
|
599
|
+
OrHash =
|
|
600
|
+
T.type_alias do
|
|
601
|
+
T.any(
|
|
602
|
+
Telnyx::Conferences::ActionSpeakParams::VoiceSettings::Xai,
|
|
603
|
+
Telnyx::Internal::AnyHash
|
|
604
|
+
)
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
# Voice settings provider type
|
|
608
|
+
sig { returns(Symbol) }
|
|
609
|
+
attr_accessor :type
|
|
610
|
+
|
|
611
|
+
# Language code, or `auto` to detect automatically.
|
|
612
|
+
sig { returns(T.nilable(String)) }
|
|
613
|
+
attr_reader :language
|
|
614
|
+
|
|
615
|
+
sig { params(language: String).void }
|
|
616
|
+
attr_writer :language
|
|
617
|
+
|
|
618
|
+
sig do
|
|
619
|
+
params(language: String, type: Symbol).returns(T.attached_class)
|
|
620
|
+
end
|
|
621
|
+
def self.new(
|
|
622
|
+
# Language code, or `auto` to detect automatically.
|
|
623
|
+
language: nil,
|
|
624
|
+
# Voice settings provider type
|
|
625
|
+
type: :xai
|
|
626
|
+
)
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
sig { override.returns({ type: Symbol, language: String }) }
|
|
630
|
+
def to_hash
|
|
631
|
+
end
|
|
632
|
+
end
|
|
633
|
+
|
|
589
634
|
sig do
|
|
590
635
|
override.returns(
|
|
591
636
|
T::Array[
|
|
@@ -37,10 +37,8 @@ module Telnyx
|
|
|
37
37
|
dynamic_variables_webhook_timeout_ms: Integer,
|
|
38
38
|
dynamic_variables_webhook_url: String,
|
|
39
39
|
enabled_features: T::Array[Telnyx::AI::EnabledFeatures::OrSymbol],
|
|
40
|
-
external_llm:
|
|
41
|
-
|
|
42
|
-
fallback_config:
|
|
43
|
-
Telnyx::AI::Assistants::UpdateAssistant::FallbackConfig::OrHash,
|
|
40
|
+
external_llm: Telnyx::AI::ExternalLlmReq::OrHash,
|
|
41
|
+
fallback_config: Telnyx::AI::FallbackConfigReq::OrHash,
|
|
44
42
|
greeting: String,
|
|
45
43
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
46
44
|
instructions: String,
|
|
@@ -60,7 +58,7 @@ module Telnyx
|
|
|
60
58
|
name: String,
|
|
61
59
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
62
60
|
post_conversation_settings:
|
|
63
|
-
Telnyx::AI::
|
|
61
|
+
Telnyx::AI::PostConversationSettingsReq::OrHash,
|
|
64
62
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
65
63
|
tags: T::Array[String],
|
|
66
64
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
@@ -39,10 +39,8 @@ module Telnyx
|
|
|
39
39
|
dynamic_variables_webhook_timeout_ms: Integer,
|
|
40
40
|
dynamic_variables_webhook_url: String,
|
|
41
41
|
enabled_features: T::Array[Telnyx::AI::EnabledFeatures::OrSymbol],
|
|
42
|
-
external_llm:
|
|
43
|
-
|
|
44
|
-
fallback_config:
|
|
45
|
-
Telnyx::AI::AssistantCreateParams::FallbackConfig::OrHash,
|
|
42
|
+
external_llm: Telnyx::AI::ExternalLlmReq::OrHash,
|
|
43
|
+
fallback_config: Telnyx::AI::FallbackConfigReq::OrHash,
|
|
46
44
|
greeting: String,
|
|
47
45
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
48
46
|
integrations:
|
|
@@ -56,7 +54,7 @@ module Telnyx
|
|
|
56
54
|
model: String,
|
|
57
55
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
58
56
|
post_conversation_settings:
|
|
59
|
-
Telnyx::AI::
|
|
57
|
+
Telnyx::AI::PostConversationSettingsReq::OrHash,
|
|
60
58
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
61
59
|
tags: T::Array[String],
|
|
62
60
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
@@ -202,10 +200,8 @@ module Telnyx
|
|
|
202
200
|
dynamic_variables_webhook_timeout_ms: Integer,
|
|
203
201
|
dynamic_variables_webhook_url: String,
|
|
204
202
|
enabled_features: T::Array[Telnyx::AI::EnabledFeatures::OrSymbol],
|
|
205
|
-
external_llm:
|
|
206
|
-
|
|
207
|
-
fallback_config:
|
|
208
|
-
Telnyx::AI::AssistantUpdateParams::FallbackConfig::OrHash,
|
|
203
|
+
external_llm: Telnyx::AI::ExternalLlmReq::OrHash,
|
|
204
|
+
fallback_config: Telnyx::AI::FallbackConfigReq::OrHash,
|
|
209
205
|
greeting: String,
|
|
210
206
|
insight_settings: Telnyx::AI::InsightSettings::OrHash,
|
|
211
207
|
instructions: String,
|
|
@@ -221,7 +217,7 @@ module Telnyx
|
|
|
221
217
|
name: String,
|
|
222
218
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
223
219
|
post_conversation_settings:
|
|
224
|
-
Telnyx::AI::
|
|
220
|
+
Telnyx::AI::PostConversationSettingsReq::OrHash,
|
|
225
221
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
226
222
|
promote_to_main: T::Boolean,
|
|
227
223
|
tags: T::Array[String],
|
|
@@ -450,7 +450,8 @@ module Telnyx
|
|
|
450
450
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
451
451
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
452
452
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
453
|
-
Telnyx::ResembleVoiceSettings::OrHash
|
|
453
|
+
Telnyx::ResembleVoiceSettings::OrHash,
|
|
454
|
+
Telnyx::Calls::ActionGatherUsingAIParams::VoiceSettings::Xai::OrHash
|
|
454
455
|
),
|
|
455
456
|
request_options: Telnyx::RequestOptions::OrHash
|
|
456
457
|
).returns(Telnyx::Models::Calls::ActionGatherUsingAIResponse)
|
|
@@ -526,6 +527,8 @@ module Telnyx
|
|
|
526
527
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
527
528
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
528
529
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
530
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
531
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
529
532
|
voice: nil,
|
|
530
533
|
# The settings associated with the voice selected
|
|
531
534
|
voice_settings: nil,
|
|
@@ -658,7 +661,8 @@ module Telnyx
|
|
|
658
661
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
659
662
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
660
663
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
661
|
-
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash
|
|
664
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
665
|
+
Telnyx::Calls::ActionGatherUsingSpeakParams::VoiceSettings::Xai::OrHash
|
|
662
666
|
),
|
|
663
667
|
request_options: Telnyx::RequestOptions::OrHash
|
|
664
668
|
).returns(Telnyx::Models::Calls::ActionGatherUsingSpeakResponse)
|
|
@@ -707,6 +711,8 @@ module Telnyx
|
|
|
707
711
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
708
712
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
709
713
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
714
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
715
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
710
716
|
#
|
|
711
717
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
712
718
|
# female).
|
|
@@ -1068,7 +1074,8 @@ module Telnyx
|
|
|
1068
1074
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
1069
1075
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
1070
1076
|
Telnyx::ResembleVoiceSettings::OrHash,
|
|
1071
|
-
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash
|
|
1077
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Inworld::OrHash,
|
|
1078
|
+
Telnyx::Calls::ActionSpeakParams::VoiceSettings::Xai::OrHash
|
|
1072
1079
|
),
|
|
1073
1080
|
request_options: Telnyx::RequestOptions::OrHash
|
|
1074
1081
|
).returns(Telnyx::Models::Calls::ActionSpeakResponse)
|
|
@@ -1117,6 +1124,8 @@ module Telnyx
|
|
|
1117
1124
|
# `voice_settings` to configure precision, sample_rate, and format.
|
|
1118
1125
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
1119
1126
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
1127
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
1128
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
1120
1129
|
#
|
|
1121
1130
|
# For service_level basic, you may define the gender of the speaker (male or
|
|
1122
1131
|
# female).
|
|
@@ -1190,7 +1199,8 @@ module Telnyx
|
|
|
1190
1199
|
Telnyx::Calls::AwsVoiceSettings::OrHash,
|
|
1191
1200
|
Telnyx::AzureVoiceSettings::OrHash,
|
|
1192
1201
|
Telnyx::RimeVoiceSettings::OrHash,
|
|
1193
|
-
Telnyx::ResembleVoiceSettings::OrHash
|
|
1202
|
+
Telnyx::ResembleVoiceSettings::OrHash,
|
|
1203
|
+
Telnyx::Calls::ActionStartAIAssistantParams::VoiceSettings::Xai::OrHash
|
|
1194
1204
|
),
|
|
1195
1205
|
request_options: Telnyx::RequestOptions::OrHash
|
|
1196
1206
|
).returns(Telnyx::Models::Calls::ActionStartAIAssistantResponse)
|
|
@@ -1251,6 +1261,8 @@ module Telnyx
|
|
|
1251
1261
|
# - **Telnyx:** Use `Telnyx.<model_id>.<voice_id>`
|
|
1252
1262
|
# - **Inworld:** Use `Inworld.<ModelId>.<VoiceId>` (e.g., `Inworld.Mini.Loretta`,
|
|
1253
1263
|
# `Inworld.Max.Oliver`). Supported models: `Mini`, `Max`.
|
|
1264
|
+
# - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
|
|
1265
|
+
# `ara`, `rex`, `sal`, `leo`.
|
|
1254
1266
|
voice: nil,
|
|
1255
1267
|
# The settings associated with the voice selected
|
|
1256
1268
|
voice_settings: nil,
|