telnyx 5.91.0 → 5.93.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 +480 -34
- data/lib/telnyx/models/ai/assistant_update_params.rb +481 -27
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +487 -27
- data/lib/telnyx/models/ai/inference_embedding.rb +505 -26
- data/lib/telnyx/models/calls/transcription_start_request.rb +171 -3
- data/lib/telnyx/resources/ai/assistants/versions.rb +21 -9
- data/lib/telnyx/resources/ai/assistants.rb +41 -19
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +0 -6
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +945 -44
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +945 -36
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +967 -36
- data/rbi/telnyx/models/ai/inference_embedding.rbi +972 -36
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +490 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +66 -16
- data/rbi/telnyx/resources/ai/assistants.rbi +122 -33
- data/rbi/telnyx/resources/calls/actions.rbi +2 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +377 -23
- data/sig/telnyx/models/ai/assistant_update_params.rbs +377 -18
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +380 -18
- data/sig/telnyx/models/ai/inference_embedding.rbs +399 -17
- data/sig/telnyx/models/calls/transcription_start_request.rbs +187 -1
- data/sig/telnyx/resources/ai/assistants/versions.rbs +9 -3
- data/sig/telnyx/resources/ai/assistants.rbs +18 -7
- metadata +1 -19
- data/lib/telnyx/models/ai/external_llm.rb +0 -87
- data/lib/telnyx/models/ai/external_llm_req.rb +0 -87
- data/lib/telnyx/models/ai/fallback_config.rb +0 -37
- data/lib/telnyx/models/ai/fallback_config_req.rb +0 -37
- data/lib/telnyx/models/ai/post_conversation_settings.rb +0 -30
- data/lib/telnyx/models/ai/post_conversation_settings_req.rb +0 -30
- data/rbi/telnyx/models/ai/external_llm.rbi +0 -157
- data/rbi/telnyx/models/ai/external_llm_req.rbi +0 -157
- data/rbi/telnyx/models/ai/fallback_config.rbi +0 -64
- data/rbi/telnyx/models/ai/fallback_config_req.rbi +0 -64
- data/rbi/telnyx/models/ai/post_conversation_settings.rbi +0 -45
- data/rbi/telnyx/models/ai/post_conversation_settings_req.rbi +0 -45
- data/sig/telnyx/models/ai/external_llm.rbs +0 -75
- data/sig/telnyx/models/ai/external_llm_req.rbs +0 -75
- data/sig/telnyx/models/ai/fallback_config.rbs +0 -38
- data/sig/telnyx/models/ai/fallback_config_req.rbs +0 -40
- data/sig/telnyx/models/ai/post_conversation_settings.rbs +0 -17
- data/sig/telnyx/models/ai/post_conversation_settings_req.rbs +0 -17
|
@@ -10,21 +10,30 @@ module Telnyx
|
|
|
10
10
|
name: String,
|
|
11
11
|
description: String,
|
|
12
12
|
dynamic_variables: ::Hash[Symbol, top],
|
|
13
|
+
dynamic_variables_webhook_timeout_ms: Integer,
|
|
13
14
|
dynamic_variables_webhook_url: String,
|
|
14
15
|
enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
15
|
-
external_llm: Telnyx::AI::ExternalLlm,
|
|
16
|
-
fallback_config: Telnyx::AI::FallbackConfig,
|
|
16
|
+
external_llm: Telnyx::AI::InferenceEmbedding::ExternalLlm,
|
|
17
|
+
fallback_config: Telnyx::AI::InferenceEmbedding::FallbackConfig,
|
|
17
18
|
greeting: String,
|
|
18
19
|
import_metadata: Telnyx::AI::ImportMetadata,
|
|
19
20
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
21
|
+
integrations: ::Array[Telnyx::AI::InferenceEmbedding::Integration],
|
|
22
|
+
interruption_settings: Telnyx::AI::InferenceEmbedding::InterruptionSettings,
|
|
20
23
|
llm_api_key_ref: String,
|
|
24
|
+
mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer],
|
|
21
25
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
22
26
|
observability_settings: Telnyx::AI::Observability,
|
|
23
|
-
post_conversation_settings: Telnyx::AI::PostConversationSettings,
|
|
27
|
+
post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
24
28
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
29
|
+
related_mission_ids: ::Array[String],
|
|
30
|
+
tags: ::Array[String],
|
|
25
31
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
26
32
|
tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
27
33
|
transcription: Telnyx::AI::TranscriptionSettings,
|
|
34
|
+
version_created_at: Time,
|
|
35
|
+
version_id: String,
|
|
36
|
+
version_name: String,
|
|
28
37
|
voice_settings: Telnyx::AI::VoiceSettings,
|
|
29
38
|
widget_settings: Telnyx::AI::WidgetSettings
|
|
30
39
|
}
|
|
@@ -48,6 +57,10 @@ module Telnyx
|
|
|
48
57
|
|
|
49
58
|
def dynamic_variables=: (::Hash[Symbol, top]) -> ::Hash[Symbol, top]
|
|
50
59
|
|
|
60
|
+
attr_reader dynamic_variables_webhook_timeout_ms: Integer?
|
|
61
|
+
|
|
62
|
+
def dynamic_variables_webhook_timeout_ms=: (Integer) -> Integer
|
|
63
|
+
|
|
51
64
|
attr_reader dynamic_variables_webhook_url: String?
|
|
52
65
|
|
|
53
66
|
def dynamic_variables_webhook_url=: (String) -> String
|
|
@@ -58,15 +71,17 @@ module Telnyx
|
|
|
58
71
|
::Array[Telnyx::Models::AI::enabled_features]
|
|
59
72
|
) -> ::Array[Telnyx::Models::AI::enabled_features]
|
|
60
73
|
|
|
61
|
-
attr_reader external_llm: Telnyx::AI::ExternalLlm?
|
|
74
|
+
attr_reader external_llm: Telnyx::AI::InferenceEmbedding::ExternalLlm?
|
|
62
75
|
|
|
63
|
-
def external_llm=: (
|
|
76
|
+
def external_llm=: (
|
|
77
|
+
Telnyx::AI::InferenceEmbedding::ExternalLlm
|
|
78
|
+
) -> Telnyx::AI::InferenceEmbedding::ExternalLlm
|
|
64
79
|
|
|
65
|
-
attr_reader fallback_config: Telnyx::AI::FallbackConfig?
|
|
80
|
+
attr_reader fallback_config: Telnyx::AI::InferenceEmbedding::FallbackConfig?
|
|
66
81
|
|
|
67
82
|
def fallback_config=: (
|
|
68
|
-
Telnyx::AI::FallbackConfig
|
|
69
|
-
) -> Telnyx::AI::FallbackConfig
|
|
83
|
+
Telnyx::AI::InferenceEmbedding::FallbackConfig
|
|
84
|
+
) -> Telnyx::AI::InferenceEmbedding::FallbackConfig
|
|
70
85
|
|
|
71
86
|
attr_reader greeting: String?
|
|
72
87
|
|
|
@@ -84,10 +99,28 @@ module Telnyx
|
|
|
84
99
|
Telnyx::AI::InsightSettings
|
|
85
100
|
) -> Telnyx::AI::InsightSettings
|
|
86
101
|
|
|
102
|
+
attr_reader integrations: ::Array[Telnyx::AI::InferenceEmbedding::Integration]?
|
|
103
|
+
|
|
104
|
+
def integrations=: (
|
|
105
|
+
::Array[Telnyx::AI::InferenceEmbedding::Integration]
|
|
106
|
+
) -> ::Array[Telnyx::AI::InferenceEmbedding::Integration]
|
|
107
|
+
|
|
108
|
+
attr_reader interruption_settings: Telnyx::AI::InferenceEmbedding::InterruptionSettings?
|
|
109
|
+
|
|
110
|
+
def interruption_settings=: (
|
|
111
|
+
Telnyx::AI::InferenceEmbedding::InterruptionSettings
|
|
112
|
+
) -> Telnyx::AI::InferenceEmbedding::InterruptionSettings
|
|
113
|
+
|
|
87
114
|
attr_reader llm_api_key_ref: String?
|
|
88
115
|
|
|
89
116
|
def llm_api_key_ref=: (String) -> String
|
|
90
117
|
|
|
118
|
+
attr_reader mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer]?
|
|
119
|
+
|
|
120
|
+
def mcp_servers=: (
|
|
121
|
+
::Array[Telnyx::AI::InferenceEmbedding::McpServer]
|
|
122
|
+
) -> ::Array[Telnyx::AI::InferenceEmbedding::McpServer]
|
|
123
|
+
|
|
91
124
|
attr_reader messaging_settings: Telnyx::AI::MessagingSettings?
|
|
92
125
|
|
|
93
126
|
def messaging_settings=: (
|
|
@@ -100,11 +133,11 @@ module Telnyx
|
|
|
100
133
|
Telnyx::AI::Observability
|
|
101
134
|
) -> Telnyx::AI::Observability
|
|
102
135
|
|
|
103
|
-
attr_reader post_conversation_settings: Telnyx::AI::PostConversationSettings?
|
|
136
|
+
attr_reader post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings?
|
|
104
137
|
|
|
105
138
|
def post_conversation_settings=: (
|
|
106
|
-
Telnyx::AI::PostConversationSettings
|
|
107
|
-
) -> Telnyx::AI::PostConversationSettings
|
|
139
|
+
Telnyx::AI::InferenceEmbedding::PostConversationSettings
|
|
140
|
+
) -> Telnyx::AI::InferenceEmbedding::PostConversationSettings
|
|
108
141
|
|
|
109
142
|
attr_reader privacy_settings: Telnyx::AI::PrivacySettings?
|
|
110
143
|
|
|
@@ -112,6 +145,14 @@ module Telnyx
|
|
|
112
145
|
Telnyx::AI::PrivacySettings
|
|
113
146
|
) -> Telnyx::AI::PrivacySettings
|
|
114
147
|
|
|
148
|
+
attr_reader related_mission_ids: ::Array[String]?
|
|
149
|
+
|
|
150
|
+
def related_mission_ids=: (::Array[String]) -> ::Array[String]
|
|
151
|
+
|
|
152
|
+
attr_reader tags: ::Array[String]?
|
|
153
|
+
|
|
154
|
+
def tags=: (::Array[String]) -> ::Array[String]
|
|
155
|
+
|
|
115
156
|
attr_reader telephony_settings: Telnyx::AI::TelephonySettings?
|
|
116
157
|
|
|
117
158
|
def telephony_settings=: (
|
|
@@ -130,6 +171,18 @@ module Telnyx
|
|
|
130
171
|
Telnyx::AI::TranscriptionSettings
|
|
131
172
|
) -> Telnyx::AI::TranscriptionSettings
|
|
132
173
|
|
|
174
|
+
attr_reader version_created_at: Time?
|
|
175
|
+
|
|
176
|
+
def version_created_at=: (Time) -> Time
|
|
177
|
+
|
|
178
|
+
attr_reader version_id: String?
|
|
179
|
+
|
|
180
|
+
def version_id=: (String) -> String
|
|
181
|
+
|
|
182
|
+
attr_reader version_name: String?
|
|
183
|
+
|
|
184
|
+
def version_name=: (String) -> String
|
|
185
|
+
|
|
133
186
|
attr_reader voice_settings: Telnyx::AI::VoiceSettings?
|
|
134
187
|
|
|
135
188
|
def voice_settings=: (
|
|
@@ -150,21 +203,30 @@ module Telnyx
|
|
|
150
203
|
name: String,
|
|
151
204
|
?description: String,
|
|
152
205
|
?dynamic_variables: ::Hash[Symbol, top],
|
|
206
|
+
?dynamic_variables_webhook_timeout_ms: Integer,
|
|
153
207
|
?dynamic_variables_webhook_url: String,
|
|
154
208
|
?enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
155
|
-
?external_llm: Telnyx::AI::ExternalLlm,
|
|
156
|
-
?fallback_config: Telnyx::AI::FallbackConfig,
|
|
209
|
+
?external_llm: Telnyx::AI::InferenceEmbedding::ExternalLlm,
|
|
210
|
+
?fallback_config: Telnyx::AI::InferenceEmbedding::FallbackConfig,
|
|
157
211
|
?greeting: String,
|
|
158
212
|
?import_metadata: Telnyx::AI::ImportMetadata,
|
|
159
213
|
?insight_settings: Telnyx::AI::InsightSettings,
|
|
214
|
+
?integrations: ::Array[Telnyx::AI::InferenceEmbedding::Integration],
|
|
215
|
+
?interruption_settings: Telnyx::AI::InferenceEmbedding::InterruptionSettings,
|
|
160
216
|
?llm_api_key_ref: String,
|
|
217
|
+
?mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer],
|
|
161
218
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
162
219
|
?observability_settings: Telnyx::AI::Observability,
|
|
163
|
-
?post_conversation_settings: Telnyx::AI::PostConversationSettings,
|
|
220
|
+
?post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
164
221
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
222
|
+
?related_mission_ids: ::Array[String],
|
|
223
|
+
?tags: ::Array[String],
|
|
165
224
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
166
225
|
?tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
167
226
|
?transcription: Telnyx::AI::TranscriptionSettings,
|
|
227
|
+
?version_created_at: Time,
|
|
228
|
+
?version_id: String,
|
|
229
|
+
?version_name: String,
|
|
168
230
|
?voice_settings: Telnyx::AI::VoiceSettings,
|
|
169
231
|
?widget_settings: Telnyx::AI::WidgetSettings
|
|
170
232
|
) -> void
|
|
@@ -177,24 +239,344 @@ module Telnyx
|
|
|
177
239
|
name: String,
|
|
178
240
|
description: String,
|
|
179
241
|
dynamic_variables: ::Hash[Symbol, top],
|
|
242
|
+
dynamic_variables_webhook_timeout_ms: Integer,
|
|
180
243
|
dynamic_variables_webhook_url: String,
|
|
181
244
|
enabled_features: ::Array[Telnyx::Models::AI::enabled_features],
|
|
182
|
-
external_llm: Telnyx::AI::ExternalLlm,
|
|
183
|
-
fallback_config: Telnyx::AI::FallbackConfig,
|
|
245
|
+
external_llm: Telnyx::AI::InferenceEmbedding::ExternalLlm,
|
|
246
|
+
fallback_config: Telnyx::AI::InferenceEmbedding::FallbackConfig,
|
|
184
247
|
greeting: String,
|
|
185
248
|
import_metadata: Telnyx::AI::ImportMetadata,
|
|
186
249
|
insight_settings: Telnyx::AI::InsightSettings,
|
|
250
|
+
integrations: ::Array[Telnyx::AI::InferenceEmbedding::Integration],
|
|
251
|
+
interruption_settings: Telnyx::AI::InferenceEmbedding::InterruptionSettings,
|
|
187
252
|
llm_api_key_ref: String,
|
|
253
|
+
mcp_servers: ::Array[Telnyx::AI::InferenceEmbedding::McpServer],
|
|
188
254
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
189
255
|
observability_settings: Telnyx::AI::Observability,
|
|
190
|
-
post_conversation_settings: Telnyx::AI::PostConversationSettings,
|
|
256
|
+
post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
191
257
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
258
|
+
related_mission_ids: ::Array[String],
|
|
259
|
+
tags: ::Array[String],
|
|
192
260
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
193
261
|
tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
194
262
|
transcription: Telnyx::AI::TranscriptionSettings,
|
|
263
|
+
version_created_at: Time,
|
|
264
|
+
version_id: String,
|
|
265
|
+
version_name: String,
|
|
195
266
|
voice_settings: Telnyx::AI::VoiceSettings,
|
|
196
267
|
widget_settings: Telnyx::AI::WidgetSettings
|
|
197
268
|
}
|
|
269
|
+
|
|
270
|
+
type external_llm =
|
|
271
|
+
{
|
|
272
|
+
base_url: String,
|
|
273
|
+
model: String,
|
|
274
|
+
authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method,
|
|
275
|
+
certificate_ref: String,
|
|
276
|
+
forward_metadata: bool,
|
|
277
|
+
llm_api_key_ref: String,
|
|
278
|
+
token_retrieval_url: String
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
class ExternalLlm < Telnyx::Internal::Type::BaseModel
|
|
282
|
+
attr_accessor base_url: String
|
|
283
|
+
|
|
284
|
+
attr_accessor model: String
|
|
285
|
+
|
|
286
|
+
attr_reader authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method?
|
|
287
|
+
|
|
288
|
+
def authentication_method=: (
|
|
289
|
+
Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method
|
|
290
|
+
) -> Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method
|
|
291
|
+
|
|
292
|
+
attr_reader certificate_ref: String?
|
|
293
|
+
|
|
294
|
+
def certificate_ref=: (String) -> String
|
|
295
|
+
|
|
296
|
+
attr_reader forward_metadata: bool?
|
|
297
|
+
|
|
298
|
+
def forward_metadata=: (bool) -> bool
|
|
299
|
+
|
|
300
|
+
attr_reader llm_api_key_ref: String?
|
|
301
|
+
|
|
302
|
+
def llm_api_key_ref=: (String) -> String
|
|
303
|
+
|
|
304
|
+
attr_reader token_retrieval_url: String?
|
|
305
|
+
|
|
306
|
+
def token_retrieval_url=: (String) -> String
|
|
307
|
+
|
|
308
|
+
def initialize: (
|
|
309
|
+
base_url: String,
|
|
310
|
+
model: String,
|
|
311
|
+
?authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method,
|
|
312
|
+
?certificate_ref: String,
|
|
313
|
+
?forward_metadata: bool,
|
|
314
|
+
?llm_api_key_ref: String,
|
|
315
|
+
?token_retrieval_url: String
|
|
316
|
+
) -> void
|
|
317
|
+
|
|
318
|
+
def to_hash: -> {
|
|
319
|
+
base_url: String,
|
|
320
|
+
model: String,
|
|
321
|
+
authentication_method: Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method,
|
|
322
|
+
certificate_ref: String,
|
|
323
|
+
forward_metadata: bool,
|
|
324
|
+
llm_api_key_ref: String,
|
|
325
|
+
token_retrieval_url: String
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
type authentication_method = :token | :certificate
|
|
329
|
+
|
|
330
|
+
module AuthenticationMethod
|
|
331
|
+
extend Telnyx::Internal::Type::Enum
|
|
332
|
+
|
|
333
|
+
TOKEN: :token
|
|
334
|
+
CERTIFICATE: :certificate
|
|
335
|
+
|
|
336
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::ExternalLlm::authentication_method]
|
|
337
|
+
end
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
type fallback_config =
|
|
341
|
+
{
|
|
342
|
+
external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm,
|
|
343
|
+
llm_api_key_ref: String,
|
|
344
|
+
model: String
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
class FallbackConfig < Telnyx::Internal::Type::BaseModel
|
|
348
|
+
attr_reader external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm?
|
|
349
|
+
|
|
350
|
+
def external_llm=: (
|
|
351
|
+
Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm
|
|
352
|
+
) -> Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm
|
|
353
|
+
|
|
354
|
+
attr_reader llm_api_key_ref: String?
|
|
355
|
+
|
|
356
|
+
def llm_api_key_ref=: (String) -> String
|
|
357
|
+
|
|
358
|
+
attr_reader model: String?
|
|
359
|
+
|
|
360
|
+
def model=: (String) -> String
|
|
361
|
+
|
|
362
|
+
def initialize: (
|
|
363
|
+
?external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm,
|
|
364
|
+
?llm_api_key_ref: String,
|
|
365
|
+
?model: String
|
|
366
|
+
) -> void
|
|
367
|
+
|
|
368
|
+
def to_hash: -> {
|
|
369
|
+
external_llm: Telnyx::AI::InferenceEmbedding::FallbackConfig::ExternalLlm,
|
|
370
|
+
llm_api_key_ref: String,
|
|
371
|
+
model: String
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
type external_llm =
|
|
375
|
+
{
|
|
376
|
+
base_url: String,
|
|
377
|
+
model: String,
|
|
378
|
+
authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method,
|
|
379
|
+
certificate_ref: String,
|
|
380
|
+
forward_metadata: bool,
|
|
381
|
+
llm_api_key_ref: String,
|
|
382
|
+
token_retrieval_url: String
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
class ExternalLlm < Telnyx::Internal::Type::BaseModel
|
|
386
|
+
attr_accessor base_url: String
|
|
387
|
+
|
|
388
|
+
attr_accessor model: String
|
|
389
|
+
|
|
390
|
+
attr_reader authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method?
|
|
391
|
+
|
|
392
|
+
def authentication_method=: (
|
|
393
|
+
Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method
|
|
394
|
+
) -> Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method
|
|
395
|
+
|
|
396
|
+
attr_reader certificate_ref: String?
|
|
397
|
+
|
|
398
|
+
def certificate_ref=: (String) -> String
|
|
399
|
+
|
|
400
|
+
attr_reader forward_metadata: bool?
|
|
401
|
+
|
|
402
|
+
def forward_metadata=: (bool) -> bool
|
|
403
|
+
|
|
404
|
+
attr_reader llm_api_key_ref: String?
|
|
405
|
+
|
|
406
|
+
def llm_api_key_ref=: (String) -> String
|
|
407
|
+
|
|
408
|
+
attr_reader token_retrieval_url: String?
|
|
409
|
+
|
|
410
|
+
def token_retrieval_url=: (String) -> String
|
|
411
|
+
|
|
412
|
+
def initialize: (
|
|
413
|
+
base_url: String,
|
|
414
|
+
model: String,
|
|
415
|
+
?authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method,
|
|
416
|
+
?certificate_ref: String,
|
|
417
|
+
?forward_metadata: bool,
|
|
418
|
+
?llm_api_key_ref: String,
|
|
419
|
+
?token_retrieval_url: String
|
|
420
|
+
) -> void
|
|
421
|
+
|
|
422
|
+
def to_hash: -> {
|
|
423
|
+
base_url: String,
|
|
424
|
+
model: String,
|
|
425
|
+
authentication_method: Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method,
|
|
426
|
+
certificate_ref: String,
|
|
427
|
+
forward_metadata: bool,
|
|
428
|
+
llm_api_key_ref: String,
|
|
429
|
+
token_retrieval_url: String
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
type authentication_method = :token | :certificate
|
|
433
|
+
|
|
434
|
+
module AuthenticationMethod
|
|
435
|
+
extend Telnyx::Internal::Type::Enum
|
|
436
|
+
|
|
437
|
+
TOKEN: :token
|
|
438
|
+
CERTIFICATE: :certificate
|
|
439
|
+
|
|
440
|
+
def self?.values: -> ::Array[Telnyx::Models::AI::InferenceEmbedding::FallbackConfig::ExternalLlm::authentication_method]
|
|
441
|
+
end
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
type integration =
|
|
446
|
+
{ integration_id: String, allowed_list: ::Array[String] }
|
|
447
|
+
|
|
448
|
+
class Integration < Telnyx::Internal::Type::BaseModel
|
|
449
|
+
attr_accessor integration_id: String
|
|
450
|
+
|
|
451
|
+
attr_reader allowed_list: ::Array[String]?
|
|
452
|
+
|
|
453
|
+
def allowed_list=: (::Array[String]) -> ::Array[String]
|
|
454
|
+
|
|
455
|
+
def initialize: (
|
|
456
|
+
integration_id: String,
|
|
457
|
+
?allowed_list: ::Array[String]
|
|
458
|
+
) -> void
|
|
459
|
+
|
|
460
|
+
def to_hash: -> {
|
|
461
|
+
integration_id: String,
|
|
462
|
+
allowed_list: ::Array[String]
|
|
463
|
+
}
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
type interruption_settings =
|
|
467
|
+
{
|
|
468
|
+
enable: bool,
|
|
469
|
+
start_speaking_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
class InterruptionSettings < Telnyx::Internal::Type::BaseModel
|
|
473
|
+
attr_reader enable: bool?
|
|
474
|
+
|
|
475
|
+
def enable=: (bool) -> bool
|
|
476
|
+
|
|
477
|
+
attr_reader start_speaking_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan?
|
|
478
|
+
|
|
479
|
+
def start_speaking_plan=: (
|
|
480
|
+
Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan
|
|
481
|
+
) -> Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan
|
|
482
|
+
|
|
483
|
+
def initialize: (
|
|
484
|
+
?enable: bool,
|
|
485
|
+
?start_speaking_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan
|
|
486
|
+
) -> void
|
|
487
|
+
|
|
488
|
+
def to_hash: -> {
|
|
489
|
+
enable: bool,
|
|
490
|
+
start_speaking_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
type start_speaking_plan =
|
|
494
|
+
{
|
|
495
|
+
transcription_endpointing_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
496
|
+
wait_seconds: Float
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
class StartSpeakingPlan < Telnyx::Internal::Type::BaseModel
|
|
500
|
+
attr_reader transcription_endpointing_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan?
|
|
501
|
+
|
|
502
|
+
def transcription_endpointing_plan=: (
|
|
503
|
+
Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan
|
|
504
|
+
) -> Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan
|
|
505
|
+
|
|
506
|
+
attr_reader wait_seconds: Float?
|
|
507
|
+
|
|
508
|
+
def wait_seconds=: (Float) -> Float
|
|
509
|
+
|
|
510
|
+
def initialize: (
|
|
511
|
+
?transcription_endpointing_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
512
|
+
?wait_seconds: Float
|
|
513
|
+
) -> void
|
|
514
|
+
|
|
515
|
+
def to_hash: -> {
|
|
516
|
+
transcription_endpointing_plan: Telnyx::AI::InferenceEmbedding::InterruptionSettings::StartSpeakingPlan::TranscriptionEndpointingPlan,
|
|
517
|
+
wait_seconds: Float
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
type transcription_endpointing_plan =
|
|
521
|
+
{
|
|
522
|
+
on_no_punctuation_seconds: Float,
|
|
523
|
+
on_number_seconds: Float,
|
|
524
|
+
on_punctuation_seconds: Float
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
class TranscriptionEndpointingPlan < Telnyx::Internal::Type::BaseModel
|
|
528
|
+
attr_reader on_no_punctuation_seconds: Float?
|
|
529
|
+
|
|
530
|
+
def on_no_punctuation_seconds=: (Float) -> Float
|
|
531
|
+
|
|
532
|
+
attr_reader on_number_seconds: Float?
|
|
533
|
+
|
|
534
|
+
def on_number_seconds=: (Float) -> Float
|
|
535
|
+
|
|
536
|
+
attr_reader on_punctuation_seconds: Float?
|
|
537
|
+
|
|
538
|
+
def on_punctuation_seconds=: (Float) -> Float
|
|
539
|
+
|
|
540
|
+
def initialize: (
|
|
541
|
+
?on_no_punctuation_seconds: Float,
|
|
542
|
+
?on_number_seconds: Float,
|
|
543
|
+
?on_punctuation_seconds: Float
|
|
544
|
+
) -> void
|
|
545
|
+
|
|
546
|
+
def to_hash: -> {
|
|
547
|
+
on_no_punctuation_seconds: Float,
|
|
548
|
+
on_number_seconds: Float,
|
|
549
|
+
on_punctuation_seconds: Float
|
|
550
|
+
}
|
|
551
|
+
end
|
|
552
|
+
end
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
type mcp_server = { id: String, allowed_tools: ::Array[String] }
|
|
556
|
+
|
|
557
|
+
class McpServer < Telnyx::Internal::Type::BaseModel
|
|
558
|
+
attr_accessor id: String
|
|
559
|
+
|
|
560
|
+
attr_reader allowed_tools: ::Array[String]?
|
|
561
|
+
|
|
562
|
+
def allowed_tools=: (::Array[String]) -> ::Array[String]
|
|
563
|
+
|
|
564
|
+
def initialize: (id: String, ?allowed_tools: ::Array[String]) -> void
|
|
565
|
+
|
|
566
|
+
def to_hash: -> { id: String, allowed_tools: ::Array[String] }
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
type post_conversation_settings = { enabled: bool }
|
|
570
|
+
|
|
571
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
572
|
+
attr_reader enabled: bool?
|
|
573
|
+
|
|
574
|
+
def enabled=: (bool) -> bool
|
|
575
|
+
|
|
576
|
+
def initialize: (?enabled: bool) -> void
|
|
577
|
+
|
|
578
|
+
def to_hash: -> { enabled: bool }
|
|
579
|
+
end
|
|
198
580
|
end
|
|
199
581
|
end
|
|
200
582
|
end
|