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
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module AI
|
|
4
|
-
type external_llm_req =
|
|
5
|
-
{
|
|
6
|
-
base_url: String,
|
|
7
|
-
model: String,
|
|
8
|
-
authentication_method: Telnyx::Models::AI::ExternalLlmReq::authentication_method,
|
|
9
|
-
certificate_ref: String,
|
|
10
|
-
forward_metadata: bool,
|
|
11
|
-
llm_api_key_ref: String,
|
|
12
|
-
token_retrieval_url: String
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
class ExternalLlmReq < Telnyx::Internal::Type::BaseModel
|
|
16
|
-
attr_accessor base_url: String
|
|
17
|
-
|
|
18
|
-
attr_accessor model: String
|
|
19
|
-
|
|
20
|
-
attr_reader authentication_method: Telnyx::Models::AI::ExternalLlmReq::authentication_method?
|
|
21
|
-
|
|
22
|
-
def authentication_method=: (
|
|
23
|
-
Telnyx::Models::AI::ExternalLlmReq::authentication_method
|
|
24
|
-
) -> Telnyx::Models::AI::ExternalLlmReq::authentication_method
|
|
25
|
-
|
|
26
|
-
attr_reader certificate_ref: String?
|
|
27
|
-
|
|
28
|
-
def certificate_ref=: (String) -> String
|
|
29
|
-
|
|
30
|
-
attr_reader forward_metadata: bool?
|
|
31
|
-
|
|
32
|
-
def forward_metadata=: (bool) -> bool
|
|
33
|
-
|
|
34
|
-
attr_reader llm_api_key_ref: String?
|
|
35
|
-
|
|
36
|
-
def llm_api_key_ref=: (String) -> String
|
|
37
|
-
|
|
38
|
-
attr_reader token_retrieval_url: String?
|
|
39
|
-
|
|
40
|
-
def token_retrieval_url=: (String) -> String
|
|
41
|
-
|
|
42
|
-
def initialize: (
|
|
43
|
-
base_url: String,
|
|
44
|
-
model: String,
|
|
45
|
-
?authentication_method: Telnyx::Models::AI::ExternalLlmReq::authentication_method,
|
|
46
|
-
?certificate_ref: String,
|
|
47
|
-
?forward_metadata: bool,
|
|
48
|
-
?llm_api_key_ref: String,
|
|
49
|
-
?token_retrieval_url: String
|
|
50
|
-
) -> void
|
|
51
|
-
|
|
52
|
-
def to_hash: -> {
|
|
53
|
-
base_url: String,
|
|
54
|
-
model: String,
|
|
55
|
-
authentication_method: Telnyx::Models::AI::ExternalLlmReq::authentication_method,
|
|
56
|
-
certificate_ref: String,
|
|
57
|
-
forward_metadata: bool,
|
|
58
|
-
llm_api_key_ref: String,
|
|
59
|
-
token_retrieval_url: String
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
type authentication_method = :token | :certificate
|
|
63
|
-
|
|
64
|
-
module AuthenticationMethod
|
|
65
|
-
extend Telnyx::Internal::Type::Enum
|
|
66
|
-
|
|
67
|
-
TOKEN: :token
|
|
68
|
-
CERTIFICATE: :certificate
|
|
69
|
-
|
|
70
|
-
def self?.values: -> ::Array[Telnyx::Models::AI::ExternalLlmReq::authentication_method]
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module AI
|
|
4
|
-
type fallback_config =
|
|
5
|
-
{
|
|
6
|
-
external_llm: Telnyx::AI::ExternalLlm,
|
|
7
|
-
llm_api_key_ref: String,
|
|
8
|
-
model: String
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class FallbackConfig < Telnyx::Internal::Type::BaseModel
|
|
12
|
-
attr_reader external_llm: Telnyx::AI::ExternalLlm?
|
|
13
|
-
|
|
14
|
-
def external_llm=: (Telnyx::AI::ExternalLlm) -> Telnyx::AI::ExternalLlm
|
|
15
|
-
|
|
16
|
-
attr_reader llm_api_key_ref: String?
|
|
17
|
-
|
|
18
|
-
def llm_api_key_ref=: (String) -> String
|
|
19
|
-
|
|
20
|
-
attr_reader model: String?
|
|
21
|
-
|
|
22
|
-
def model=: (String) -> String
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?external_llm: Telnyx::AI::ExternalLlm,
|
|
26
|
-
?llm_api_key_ref: String,
|
|
27
|
-
?model: String
|
|
28
|
-
) -> void
|
|
29
|
-
|
|
30
|
-
def to_hash: -> {
|
|
31
|
-
external_llm: Telnyx::AI::ExternalLlm,
|
|
32
|
-
llm_api_key_ref: String,
|
|
33
|
-
model: String
|
|
34
|
-
}
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module AI
|
|
4
|
-
type fallback_config_req =
|
|
5
|
-
{
|
|
6
|
-
external_llm: Telnyx::AI::ExternalLlmReq,
|
|
7
|
-
llm_api_key_ref: String,
|
|
8
|
-
model: String
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class FallbackConfigReq < Telnyx::Internal::Type::BaseModel
|
|
12
|
-
attr_reader external_llm: Telnyx::AI::ExternalLlmReq?
|
|
13
|
-
|
|
14
|
-
def external_llm=: (
|
|
15
|
-
Telnyx::AI::ExternalLlmReq
|
|
16
|
-
) -> Telnyx::AI::ExternalLlmReq
|
|
17
|
-
|
|
18
|
-
attr_reader llm_api_key_ref: String?
|
|
19
|
-
|
|
20
|
-
def llm_api_key_ref=: (String) -> String
|
|
21
|
-
|
|
22
|
-
attr_reader model: String?
|
|
23
|
-
|
|
24
|
-
def model=: (String) -> String
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
?external_llm: Telnyx::AI::ExternalLlmReq,
|
|
28
|
-
?llm_api_key_ref: String,
|
|
29
|
-
?model: String
|
|
30
|
-
) -> void
|
|
31
|
-
|
|
32
|
-
def to_hash: -> {
|
|
33
|
-
external_llm: Telnyx::AI::ExternalLlmReq,
|
|
34
|
-
llm_api_key_ref: String,
|
|
35
|
-
model: String
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module AI
|
|
4
|
-
type post_conversation_settings = { enabled: bool }
|
|
5
|
-
|
|
6
|
-
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader enabled: bool?
|
|
8
|
-
|
|
9
|
-
def enabled=: (bool) -> bool
|
|
10
|
-
|
|
11
|
-
def initialize: (?enabled: bool) -> void
|
|
12
|
-
|
|
13
|
-
def to_hash: -> { enabled: bool }
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module Telnyx
|
|
2
|
-
module Models
|
|
3
|
-
module AI
|
|
4
|
-
type post_conversation_settings_req = { enabled: bool }
|
|
5
|
-
|
|
6
|
-
class PostConversationSettingsReq < Telnyx::Internal::Type::BaseModel
|
|
7
|
-
attr_reader enabled: bool?
|
|
8
|
-
|
|
9
|
-
def enabled=: (bool) -> bool
|
|
10
|
-
|
|
11
|
-
def initialize: (?enabled: bool) -> void
|
|
12
|
-
|
|
13
|
-
def to_hash: -> { enabled: bool }
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|