telnyx 5.78.0 → 5.80.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 +38 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +38 -1
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +40 -1
- data/lib/telnyx/models/ai/inference_embedding.rb +39 -1
- data/lib/telnyx/models/ai/transcription_settings_config.rb +11 -1
- data/lib/telnyx/resources/ai/assistants/versions.rb +3 -1
- data/lib/telnyx/resources/ai/assistants.rb +6 -2
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +72 -0
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +72 -0
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +72 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +70 -0
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +15 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +9 -0
- data/rbi/telnyx/resources/ai/assistants.rbi +18 -0
- data/sig/telnyx/models/ai/assistant_create_params.rbs +21 -0
- data/sig/telnyx/models/ai/assistant_update_params.rbs +21 -0
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +21 -0
- data/sig/telnyx/models/ai/inference_embedding.rbs +21 -0
- data/sig/telnyx/models/ai/transcription_settings_config.rbs +7 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d1f7a2b9815ac11e1e574e9f0ee7879f334c1dc3da1506db028f9dbbfceb751
|
|
4
|
+
data.tar.gz: 97cc5671aca33817349f115ad8f0b1cbec7a130d0f0a828d1fa346536637e544
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f43f17546b17f4e6730985a628b7c0ae6bd614a498cd2a1c3fbf4add5ec3c48c5bd01ca3daccc19bb7c9fc763707c631b29982c7d9e1b7f082d3eaf0162c60f
|
|
7
|
+
data.tar.gz: b96de95e050310ad7eeefbeb035aa0bcf8268e2077f3c0ebd3e04a16fe5eaf8815d6643607a6febed1c1beb3c76eea3048c899d333cca77d9af76d7a43326719
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.80.0 (2026-04-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.79.0...v5.80.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.79.0...v5.80.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* Add post_conversation_settings to AI Assistants API spec ([075e1d6](https://github.com/team-telnyx/telnyx-ruby/commit/075e1d62209c0f6f56d4f6baa5e02018bdc46215))
|
|
10
|
+
|
|
11
|
+
## 5.79.0 (2026-04-20)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v5.78.0...v5.79.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.78.0...v5.79.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* Add keyterm field to TranscriptionSettingsConfig ([6fc5280](https://github.com/team-telnyx/telnyx-ruby/commit/6fc528067e46ac46e06d8bddf756c9c5f621e3fb))
|
|
18
|
+
|
|
3
19
|
## 5.78.0 (2026-04-17)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v5.77.0...v5.78.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.77.0...v5.78.0)
|
data/README.md
CHANGED
|
@@ -89,6 +89,17 @@ module Telnyx
|
|
|
89
89
|
# @return [Telnyx::Models::AI::ObservabilityReq, nil]
|
|
90
90
|
optional :observability_settings, -> { Telnyx::AI::ObservabilityReq }
|
|
91
91
|
|
|
92
|
+
# @!attribute post_conversation_settings
|
|
93
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
94
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
95
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
96
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
97
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
98
|
+
# post-conversation. Beta feature.
|
|
99
|
+
#
|
|
100
|
+
# @return [Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings, nil]
|
|
101
|
+
optional :post_conversation_settings, -> { Telnyx::AI::AssistantCreateParams::PostConversationSettings }
|
|
102
|
+
|
|
92
103
|
# @!attribute privacy_settings
|
|
93
104
|
#
|
|
94
105
|
# @return [Telnyx::Models::AI::PrivacySettings, nil]
|
|
@@ -127,7 +138,7 @@ module Telnyx
|
|
|
127
138
|
# @return [Telnyx::Models::AI::WidgetSettings, nil]
|
|
128
139
|
optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
|
|
129
140
|
|
|
130
|
-
# @!method initialize(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
141
|
+
# @!method initialize(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
131
142
|
# Some parameter documentations has been truncated, see
|
|
132
143
|
# {Telnyx::Models::AI::AssistantCreateParams} for more details.
|
|
133
144
|
#
|
|
@@ -155,6 +166,8 @@ module Telnyx
|
|
|
155
166
|
#
|
|
156
167
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
157
168
|
#
|
|
169
|
+
# @param post_conversation_settings [Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
170
|
+
#
|
|
158
171
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
159
172
|
#
|
|
160
173
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
@@ -170,6 +183,30 @@ module Telnyx
|
|
|
170
183
|
# @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
|
|
171
184
|
#
|
|
172
185
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
186
|
+
|
|
187
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
188
|
+
# @!attribute enabled
|
|
189
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
190
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
191
|
+
# to false.
|
|
192
|
+
#
|
|
193
|
+
# @return [Boolean, nil]
|
|
194
|
+
optional :enabled, Telnyx::Internal::Type::Boolean
|
|
195
|
+
|
|
196
|
+
# @!method initialize(enabled: nil)
|
|
197
|
+
# Some parameter documentations has been truncated, see
|
|
198
|
+
# {Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings} for more
|
|
199
|
+
# details.
|
|
200
|
+
#
|
|
201
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
202
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
203
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
204
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
205
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
206
|
+
# post-conversation. Beta feature.
|
|
207
|
+
#
|
|
208
|
+
# @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
|
|
209
|
+
end
|
|
173
210
|
end
|
|
174
211
|
end
|
|
175
212
|
end
|
|
@@ -94,6 +94,17 @@ module Telnyx
|
|
|
94
94
|
# @return [Telnyx::Models::AI::ObservabilityReq, nil]
|
|
95
95
|
optional :observability_settings, -> { Telnyx::AI::ObservabilityReq }
|
|
96
96
|
|
|
97
|
+
# @!attribute post_conversation_settings
|
|
98
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
99
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
100
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
101
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
102
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
103
|
+
# post-conversation. Beta feature.
|
|
104
|
+
#
|
|
105
|
+
# @return [Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings, nil]
|
|
106
|
+
optional :post_conversation_settings, -> { Telnyx::AI::AssistantUpdateParams::PostConversationSettings }
|
|
107
|
+
|
|
97
108
|
# @!attribute privacy_settings
|
|
98
109
|
#
|
|
99
110
|
# @return [Telnyx::Models::AI::PrivacySettings, nil]
|
|
@@ -139,7 +150,7 @@ module Telnyx
|
|
|
139
150
|
# @return [Telnyx::Models::AI::WidgetSettings, nil]
|
|
140
151
|
optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
|
|
141
152
|
|
|
142
|
-
# @!method initialize(assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
153
|
+
# @!method initialize(assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
143
154
|
# Some parameter documentations has been truncated, see
|
|
144
155
|
# {Telnyx::Models::AI::AssistantUpdateParams} for more details.
|
|
145
156
|
#
|
|
@@ -169,6 +180,8 @@ module Telnyx
|
|
|
169
180
|
#
|
|
170
181
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
171
182
|
#
|
|
183
|
+
# @param post_conversation_settings [Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
184
|
+
#
|
|
172
185
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
173
186
|
#
|
|
174
187
|
# @param promote_to_main [Boolean] Indicates whether the assistant should be promoted to the main version. Defaults
|
|
@@ -186,6 +199,30 @@ module Telnyx
|
|
|
186
199
|
# @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
|
|
187
200
|
#
|
|
188
201
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
202
|
+
|
|
203
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
204
|
+
# @!attribute enabled
|
|
205
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
206
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
207
|
+
# to false.
|
|
208
|
+
#
|
|
209
|
+
# @return [Boolean, nil]
|
|
210
|
+
optional :enabled, Telnyx::Internal::Type::Boolean
|
|
211
|
+
|
|
212
|
+
# @!method initialize(enabled: nil)
|
|
213
|
+
# Some parameter documentations has been truncated, see
|
|
214
|
+
# {Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings} for more
|
|
215
|
+
# details.
|
|
216
|
+
#
|
|
217
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
218
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
219
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
220
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
221
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
222
|
+
# post-conversation. Beta feature.
|
|
223
|
+
#
|
|
224
|
+
# @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
|
|
225
|
+
end
|
|
189
226
|
end
|
|
190
227
|
end
|
|
191
228
|
end
|
|
@@ -86,6 +86,18 @@ module Telnyx
|
|
|
86
86
|
# @return [Telnyx::Models::AI::ObservabilityReq, nil]
|
|
87
87
|
optional :observability_settings, -> { Telnyx::AI::ObservabilityReq }
|
|
88
88
|
|
|
89
|
+
# @!attribute post_conversation_settings
|
|
90
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
91
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
92
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
93
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
94
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
95
|
+
# post-conversation. Beta feature.
|
|
96
|
+
#
|
|
97
|
+
# @return [Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings, nil]
|
|
98
|
+
optional :post_conversation_settings,
|
|
99
|
+
-> { Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings }
|
|
100
|
+
|
|
89
101
|
# @!attribute privacy_settings
|
|
90
102
|
#
|
|
91
103
|
# @return [Telnyx::Models::AI::PrivacySettings, nil]
|
|
@@ -124,7 +136,7 @@ module Telnyx
|
|
|
124
136
|
# @return [Telnyx::Models::AI::WidgetSettings, nil]
|
|
125
137
|
optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
|
|
126
138
|
|
|
127
|
-
# @!method initialize(description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
|
|
139
|
+
# @!method initialize(description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
|
|
128
140
|
# Some parameter documentations has been truncated, see
|
|
129
141
|
# {Telnyx::Models::AI::Assistants::UpdateAssistant} for more details.
|
|
130
142
|
#
|
|
@@ -152,6 +164,8 @@ module Telnyx
|
|
|
152
164
|
#
|
|
153
165
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
154
166
|
#
|
|
167
|
+
# @param post_conversation_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
168
|
+
#
|
|
155
169
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
156
170
|
#
|
|
157
171
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
@@ -165,6 +179,31 @@ module Telnyx
|
|
|
165
179
|
# @param voice_settings [Telnyx::Models::AI::VoiceSettings]
|
|
166
180
|
#
|
|
167
181
|
# @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
|
|
182
|
+
|
|
183
|
+
# @see Telnyx::Models::AI::Assistants::UpdateAssistant#post_conversation_settings
|
|
184
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
185
|
+
# @!attribute enabled
|
|
186
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
187
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
188
|
+
# to false.
|
|
189
|
+
#
|
|
190
|
+
# @return [Boolean, nil]
|
|
191
|
+
optional :enabled, Telnyx::Internal::Type::Boolean
|
|
192
|
+
|
|
193
|
+
# @!method initialize(enabled: nil)
|
|
194
|
+
# Some parameter documentations has been truncated, see
|
|
195
|
+
# {Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings} for
|
|
196
|
+
# more details.
|
|
197
|
+
#
|
|
198
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
199
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
200
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
201
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
202
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
203
|
+
# post-conversation. Beta feature.
|
|
204
|
+
#
|
|
205
|
+
# @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
|
|
206
|
+
end
|
|
168
207
|
end
|
|
169
208
|
end
|
|
170
209
|
|
|
@@ -101,6 +101,17 @@ module Telnyx
|
|
|
101
101
|
# @return [Telnyx::Models::AI::Observability, nil]
|
|
102
102
|
optional :observability_settings, -> { Telnyx::AI::Observability }
|
|
103
103
|
|
|
104
|
+
# @!attribute post_conversation_settings
|
|
105
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
106
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
107
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
108
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
109
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
110
|
+
# post-conversation. Beta feature.
|
|
111
|
+
#
|
|
112
|
+
# @return [Telnyx::Models::AI::InferenceEmbedding::PostConversationSettings, nil]
|
|
113
|
+
optional :post_conversation_settings, -> { Telnyx::AI::InferenceEmbedding::PostConversationSettings }
|
|
114
|
+
|
|
104
115
|
# @!attribute privacy_settings
|
|
105
116
|
#
|
|
106
117
|
# @return [Telnyx::Models::AI::PrivacySettings, nil]
|
|
@@ -134,7 +145,7 @@ module Telnyx
|
|
|
134
145
|
# @return [Telnyx::Models::AI::WidgetSettings, nil]
|
|
135
146
|
optional :widget_settings, -> { Telnyx::AI::WidgetSettings }
|
|
136
147
|
|
|
137
|
-
# @!method initialize(id:, created_at:, instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, import_metadata: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
|
|
148
|
+
# @!method initialize(id:, created_at:, instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, import_metadata: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil)
|
|
138
149
|
# Some parameter documentations has been truncated, see
|
|
139
150
|
# {Telnyx::Models::AI::InferenceEmbedding} for more details.
|
|
140
151
|
#
|
|
@@ -168,6 +179,8 @@ module Telnyx
|
|
|
168
179
|
#
|
|
169
180
|
# @param observability_settings [Telnyx::Models::AI::Observability]
|
|
170
181
|
#
|
|
182
|
+
# @param post_conversation_settings [Telnyx::Models::AI::InferenceEmbedding::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
183
|
+
#
|
|
171
184
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
172
185
|
#
|
|
173
186
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
@@ -179,6 +192,31 @@ module Telnyx
|
|
|
179
192
|
# @param voice_settings [Telnyx::Models::AI::VoiceSettings]
|
|
180
193
|
#
|
|
181
194
|
# @param widget_settings [Telnyx::Models::AI::WidgetSettings] Configuration settings for the assistant's web widget.
|
|
195
|
+
|
|
196
|
+
# @see Telnyx::Models::AI::InferenceEmbedding#post_conversation_settings
|
|
197
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
198
|
+
# @!attribute enabled
|
|
199
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
200
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
201
|
+
# to false.
|
|
202
|
+
#
|
|
203
|
+
# @return [Boolean, nil]
|
|
204
|
+
optional :enabled, Telnyx::Internal::Type::Boolean
|
|
205
|
+
|
|
206
|
+
# @!method initialize(enabled: nil)
|
|
207
|
+
# Some parameter documentations has been truncated, see
|
|
208
|
+
# {Telnyx::Models::AI::InferenceEmbedding::PostConversationSettings} for more
|
|
209
|
+
# details.
|
|
210
|
+
#
|
|
211
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
212
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
213
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
214
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
215
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
216
|
+
# post-conversation. Beta feature.
|
|
217
|
+
#
|
|
218
|
+
# @param enabled [Boolean] Whether post-conversation processing is enabled. When true, the assistant will b
|
|
219
|
+
end
|
|
182
220
|
end
|
|
183
221
|
end
|
|
184
222
|
end
|
|
@@ -26,6 +26,14 @@ module Telnyx
|
|
|
26
26
|
# @return [Integer, nil]
|
|
27
27
|
optional :eot_timeout_ms, Integer
|
|
28
28
|
|
|
29
|
+
# @!attribute keyterm
|
|
30
|
+
# Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
|
|
31
|
+
# key terms to boost for recognition during transcription. Helps improve accuracy
|
|
32
|
+
# for domain-specific terminology, proper nouns, or uncommon words.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :keyterm, String
|
|
36
|
+
|
|
29
37
|
# @!attribute numerals
|
|
30
38
|
#
|
|
31
39
|
# @return [Boolean, nil]
|
|
@@ -36,7 +44,7 @@ module Telnyx
|
|
|
36
44
|
# @return [Boolean, nil]
|
|
37
45
|
optional :smart_format, Telnyx::Internal::Type::Boolean
|
|
38
46
|
|
|
39
|
-
# @!method initialize(eager_eot_threshold: nil, eot_threshold: nil, eot_timeout_ms: nil, numerals: nil, smart_format: nil)
|
|
47
|
+
# @!method initialize(eager_eot_threshold: nil, eot_threshold: nil, eot_timeout_ms: nil, keyterm: nil, numerals: nil, smart_format: nil)
|
|
40
48
|
# Some parameter documentations has been truncated, see
|
|
41
49
|
# {Telnyx::Models::AI::TranscriptionSettingsConfig} for more details.
|
|
42
50
|
#
|
|
@@ -46,6 +54,8 @@ module Telnyx
|
|
|
46
54
|
#
|
|
47
55
|
# @param eot_timeout_ms [Integer] Available only for deepgram/flux. Maximum milliseconds of silence before forcing
|
|
48
56
|
#
|
|
57
|
+
# @param keyterm [String] Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
|
|
58
|
+
#
|
|
49
59
|
# @param numerals [Boolean]
|
|
50
60
|
#
|
|
51
61
|
# @param smart_format [Boolean]
|
|
@@ -43,7 +43,7 @@ module Telnyx
|
|
|
43
43
|
# Updates the configuration of a specific assistant version. Can not update main
|
|
44
44
|
# version
|
|
45
45
|
#
|
|
46
|
-
# @overload update(version_id, assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
46
|
+
# @overload update(version_id, assistant_id:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
47
47
|
#
|
|
48
48
|
# @param version_id [String] Path param
|
|
49
49
|
#
|
|
@@ -73,6 +73,8 @@ module Telnyx
|
|
|
73
73
|
#
|
|
74
74
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq] Body param
|
|
75
75
|
#
|
|
76
|
+
# @param post_conversation_settings [Telnyx::Models::AI::Assistants::UpdateAssistant::PostConversationSettings] Body param: Configuration for post-conversation processing. When enabled, the as
|
|
77
|
+
#
|
|
76
78
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings] Body param
|
|
77
79
|
#
|
|
78
80
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings] Body param
|
|
@@ -34,7 +34,7 @@ module Telnyx
|
|
|
34
34
|
#
|
|
35
35
|
# Create a new AI Assistant.
|
|
36
36
|
#
|
|
37
|
-
# @overload create(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
37
|
+
# @overload create(instructions:, model:, name:, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, llm_api_key_ref: nil, messaging_settings: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
38
38
|
#
|
|
39
39
|
# @param instructions [String] System instructions for the assistant. These may be templated with [dynamic vari
|
|
40
40
|
#
|
|
@@ -60,6 +60,8 @@ module Telnyx
|
|
|
60
60
|
#
|
|
61
61
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
62
62
|
#
|
|
63
|
+
# @param post_conversation_settings [Telnyx::Models::AI::AssistantCreateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
64
|
+
#
|
|
63
65
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
64
66
|
#
|
|
65
67
|
# @param telephony_settings [Telnyx::Models::AI::TelephonySettings]
|
|
@@ -121,7 +123,7 @@ module Telnyx
|
|
|
121
123
|
#
|
|
122
124
|
# Update an AI Assistant's attributes.
|
|
123
125
|
#
|
|
124
|
-
# @overload update(assistant_id, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
126
|
+
# @overload update(assistant_id, description: nil, dynamic_variables: nil, dynamic_variables_webhook_url: nil, enabled_features: nil, greeting: nil, insight_settings: nil, instructions: nil, llm_api_key_ref: nil, messaging_settings: nil, model: nil, name: nil, observability_settings: nil, post_conversation_settings: nil, privacy_settings: nil, promote_to_main: nil, telephony_settings: nil, tool_ids: nil, tools: nil, transcription: nil, voice_settings: nil, widget_settings: nil, request_options: {})
|
|
125
127
|
#
|
|
126
128
|
# @param assistant_id [String]
|
|
127
129
|
#
|
|
@@ -149,6 +151,8 @@ module Telnyx
|
|
|
149
151
|
#
|
|
150
152
|
# @param observability_settings [Telnyx::Models::AI::ObservabilityReq]
|
|
151
153
|
#
|
|
154
|
+
# @param post_conversation_settings [Telnyx::Models::AI::AssistantUpdateParams::PostConversationSettings] Configuration for post-conversation processing. When enabled, the assistant rece
|
|
155
|
+
#
|
|
152
156
|
# @param privacy_settings [Telnyx::Models::AI::PrivacySettings]
|
|
153
157
|
#
|
|
154
158
|
# @param promote_to_main [Boolean] Indicates whether the assistant should be promoted to the main version. Defaults
|
data/lib/telnyx/version.rb
CHANGED
|
@@ -110,6 +110,29 @@ module Telnyx
|
|
|
110
110
|
end
|
|
111
111
|
attr_writer :observability_settings
|
|
112
112
|
|
|
113
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
114
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
115
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
116
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
117
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
118
|
+
# post-conversation. Beta feature.
|
|
119
|
+
sig do
|
|
120
|
+
returns(
|
|
121
|
+
T.nilable(
|
|
122
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings
|
|
123
|
+
)
|
|
124
|
+
)
|
|
125
|
+
end
|
|
126
|
+
attr_reader :post_conversation_settings
|
|
127
|
+
|
|
128
|
+
sig do
|
|
129
|
+
params(
|
|
130
|
+
post_conversation_settings:
|
|
131
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings::OrHash
|
|
132
|
+
).void
|
|
133
|
+
end
|
|
134
|
+
attr_writer :post_conversation_settings
|
|
135
|
+
|
|
113
136
|
sig { returns(T.nilable(Telnyx::AI::PrivacySettings)) }
|
|
114
137
|
attr_reader :privacy_settings
|
|
115
138
|
|
|
@@ -212,6 +235,8 @@ module Telnyx
|
|
|
212
235
|
llm_api_key_ref: String,
|
|
213
236
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
214
237
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
238
|
+
post_conversation_settings:
|
|
239
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings::OrHash,
|
|
215
240
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
216
241
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
217
242
|
tool_ids: T::Array[String],
|
|
@@ -270,6 +295,13 @@ module Telnyx
|
|
|
270
295
|
llm_api_key_ref: nil,
|
|
271
296
|
messaging_settings: nil,
|
|
272
297
|
observability_settings: nil,
|
|
298
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
299
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
300
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
301
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
302
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
303
|
+
# post-conversation. Beta feature.
|
|
304
|
+
post_conversation_settings: nil,
|
|
273
305
|
privacy_settings: nil,
|
|
274
306
|
telephony_settings: nil,
|
|
275
307
|
tool_ids: nil,
|
|
@@ -299,6 +331,8 @@ module Telnyx
|
|
|
299
331
|
llm_api_key_ref: String,
|
|
300
332
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
301
333
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
334
|
+
post_conversation_settings:
|
|
335
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings,
|
|
302
336
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
303
337
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
304
338
|
tool_ids: T::Array[String],
|
|
@@ -326,6 +360,44 @@ module Telnyx
|
|
|
326
360
|
end
|
|
327
361
|
def to_hash
|
|
328
362
|
end
|
|
363
|
+
|
|
364
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
365
|
+
OrHash =
|
|
366
|
+
T.type_alias do
|
|
367
|
+
T.any(
|
|
368
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings,
|
|
369
|
+
Telnyx::Internal::AnyHash
|
|
370
|
+
)
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
374
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
375
|
+
# to false.
|
|
376
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
377
|
+
attr_reader :enabled
|
|
378
|
+
|
|
379
|
+
sig { params(enabled: T::Boolean).void }
|
|
380
|
+
attr_writer :enabled
|
|
381
|
+
|
|
382
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
383
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
384
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
385
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
386
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
387
|
+
# post-conversation. Beta feature.
|
|
388
|
+
sig { params(enabled: T::Boolean).returns(T.attached_class) }
|
|
389
|
+
def self.new(
|
|
390
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
391
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
392
|
+
# to false.
|
|
393
|
+
enabled: nil
|
|
394
|
+
)
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
sig { override.returns({ enabled: T::Boolean }) }
|
|
398
|
+
def to_hash
|
|
399
|
+
end
|
|
400
|
+
end
|
|
329
401
|
end
|
|
330
402
|
end
|
|
331
403
|
end
|
|
@@ -122,6 +122,29 @@ module Telnyx
|
|
|
122
122
|
end
|
|
123
123
|
attr_writer :observability_settings
|
|
124
124
|
|
|
125
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
126
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
127
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
128
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
129
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
130
|
+
# post-conversation. Beta feature.
|
|
131
|
+
sig do
|
|
132
|
+
returns(
|
|
133
|
+
T.nilable(
|
|
134
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings
|
|
135
|
+
)
|
|
136
|
+
)
|
|
137
|
+
end
|
|
138
|
+
attr_reader :post_conversation_settings
|
|
139
|
+
|
|
140
|
+
sig do
|
|
141
|
+
params(
|
|
142
|
+
post_conversation_settings:
|
|
143
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings::OrHash
|
|
144
|
+
).void
|
|
145
|
+
end
|
|
146
|
+
attr_writer :post_conversation_settings
|
|
147
|
+
|
|
125
148
|
sig { returns(T.nilable(Telnyx::AI::PrivacySettings)) }
|
|
126
149
|
attr_reader :privacy_settings
|
|
127
150
|
|
|
@@ -233,6 +256,8 @@ module Telnyx
|
|
|
233
256
|
model: String,
|
|
234
257
|
name: String,
|
|
235
258
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
259
|
+
post_conversation_settings:
|
|
260
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings::OrHash,
|
|
236
261
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
237
262
|
promote_to_main: T::Boolean,
|
|
238
263
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
@@ -293,6 +318,13 @@ module Telnyx
|
|
|
293
318
|
model: nil,
|
|
294
319
|
name: nil,
|
|
295
320
|
observability_settings: nil,
|
|
321
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
322
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
323
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
324
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
325
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
326
|
+
# post-conversation. Beta feature.
|
|
327
|
+
post_conversation_settings: nil,
|
|
296
328
|
privacy_settings: nil,
|
|
297
329
|
# Indicates whether the assistant should be promoted to the main version. Defaults
|
|
298
330
|
# to true.
|
|
@@ -326,6 +358,8 @@ module Telnyx
|
|
|
326
358
|
model: String,
|
|
327
359
|
name: String,
|
|
328
360
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
361
|
+
post_conversation_settings:
|
|
362
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings,
|
|
329
363
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
330
364
|
promote_to_main: T::Boolean,
|
|
331
365
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -354,6 +388,44 @@ module Telnyx
|
|
|
354
388
|
end
|
|
355
389
|
def to_hash
|
|
356
390
|
end
|
|
391
|
+
|
|
392
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
393
|
+
OrHash =
|
|
394
|
+
T.type_alias do
|
|
395
|
+
T.any(
|
|
396
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings,
|
|
397
|
+
Telnyx::Internal::AnyHash
|
|
398
|
+
)
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
402
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
403
|
+
# to false.
|
|
404
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
405
|
+
attr_reader :enabled
|
|
406
|
+
|
|
407
|
+
sig { params(enabled: T::Boolean).void }
|
|
408
|
+
attr_writer :enabled
|
|
409
|
+
|
|
410
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
411
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
412
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
413
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
414
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
415
|
+
# post-conversation. Beta feature.
|
|
416
|
+
sig { params(enabled: T::Boolean).returns(T.attached_class) }
|
|
417
|
+
def self.new(
|
|
418
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
419
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
420
|
+
# to false.
|
|
421
|
+
enabled: nil
|
|
422
|
+
)
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
sig { override.returns({ enabled: T::Boolean }) }
|
|
426
|
+
def to_hash
|
|
427
|
+
end
|
|
428
|
+
end
|
|
357
429
|
end
|
|
358
430
|
end
|
|
359
431
|
end
|
|
@@ -124,6 +124,29 @@ module Telnyx
|
|
|
124
124
|
end
|
|
125
125
|
attr_writer :observability_settings
|
|
126
126
|
|
|
127
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
128
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
129
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
130
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
131
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
132
|
+
# post-conversation. Beta feature.
|
|
133
|
+
sig do
|
|
134
|
+
returns(
|
|
135
|
+
T.nilable(
|
|
136
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings
|
|
137
|
+
)
|
|
138
|
+
)
|
|
139
|
+
end
|
|
140
|
+
attr_reader :post_conversation_settings
|
|
141
|
+
|
|
142
|
+
sig do
|
|
143
|
+
params(
|
|
144
|
+
post_conversation_settings:
|
|
145
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings::OrHash
|
|
146
|
+
).void
|
|
147
|
+
end
|
|
148
|
+
attr_writer :post_conversation_settings
|
|
149
|
+
|
|
127
150
|
sig { returns(T.nilable(Telnyx::AI::PrivacySettings)) }
|
|
128
151
|
attr_reader :privacy_settings
|
|
129
152
|
|
|
@@ -232,6 +255,8 @@ module Telnyx
|
|
|
232
255
|
model: String,
|
|
233
256
|
name: String,
|
|
234
257
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
258
|
+
post_conversation_settings:
|
|
259
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings::OrHash,
|
|
235
260
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
236
261
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
237
262
|
tool_ids: T::Array[String],
|
|
@@ -289,6 +314,13 @@ module Telnyx
|
|
|
289
314
|
model: nil,
|
|
290
315
|
name: nil,
|
|
291
316
|
observability_settings: nil,
|
|
317
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
318
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
319
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
320
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
321
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
322
|
+
# post-conversation. Beta feature.
|
|
323
|
+
post_conversation_settings: nil,
|
|
292
324
|
privacy_settings: nil,
|
|
293
325
|
telephony_settings: nil,
|
|
294
326
|
tool_ids: nil,
|
|
@@ -318,6 +350,8 @@ module Telnyx
|
|
|
318
350
|
model: String,
|
|
319
351
|
name: String,
|
|
320
352
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
353
|
+
post_conversation_settings:
|
|
354
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings,
|
|
321
355
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
322
356
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
323
357
|
tool_ids: T::Array[String],
|
|
@@ -344,6 +378,44 @@ module Telnyx
|
|
|
344
378
|
end
|
|
345
379
|
def to_hash
|
|
346
380
|
end
|
|
381
|
+
|
|
382
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
383
|
+
OrHash =
|
|
384
|
+
T.type_alias do
|
|
385
|
+
T.any(
|
|
386
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings,
|
|
387
|
+
Telnyx::Internal::AnyHash
|
|
388
|
+
)
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
392
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
393
|
+
# to false.
|
|
394
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
395
|
+
attr_reader :enabled
|
|
396
|
+
|
|
397
|
+
sig { params(enabled: T::Boolean).void }
|
|
398
|
+
attr_writer :enabled
|
|
399
|
+
|
|
400
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
401
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
402
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
403
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
404
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
405
|
+
# post-conversation. Beta feature.
|
|
406
|
+
sig { params(enabled: T::Boolean).returns(T.attached_class) }
|
|
407
|
+
def self.new(
|
|
408
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
409
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
410
|
+
# to false.
|
|
411
|
+
enabled: nil
|
|
412
|
+
)
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
sig { override.returns({ enabled: T::Boolean }) }
|
|
416
|
+
def to_hash
|
|
417
|
+
end
|
|
418
|
+
end
|
|
347
419
|
end
|
|
348
420
|
end
|
|
349
421
|
end
|
|
@@ -119,6 +119,27 @@ module Telnyx
|
|
|
119
119
|
end
|
|
120
120
|
attr_writer :observability_settings
|
|
121
121
|
|
|
122
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
123
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
124
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
125
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
126
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
127
|
+
# post-conversation. Beta feature.
|
|
128
|
+
sig do
|
|
129
|
+
returns(
|
|
130
|
+
T.nilable(Telnyx::AI::InferenceEmbedding::PostConversationSettings)
|
|
131
|
+
)
|
|
132
|
+
end
|
|
133
|
+
attr_reader :post_conversation_settings
|
|
134
|
+
|
|
135
|
+
sig do
|
|
136
|
+
params(
|
|
137
|
+
post_conversation_settings:
|
|
138
|
+
Telnyx::AI::InferenceEmbedding::PostConversationSettings::OrHash
|
|
139
|
+
).void
|
|
140
|
+
end
|
|
141
|
+
attr_writer :post_conversation_settings
|
|
142
|
+
|
|
122
143
|
sig { returns(T.nilable(Telnyx::AI::PrivacySettings)) }
|
|
123
144
|
attr_reader :privacy_settings
|
|
124
145
|
|
|
@@ -201,6 +222,8 @@ module Telnyx
|
|
|
201
222
|
llm_api_key_ref: String,
|
|
202
223
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
203
224
|
observability_settings: Telnyx::AI::Observability::OrHash,
|
|
225
|
+
post_conversation_settings:
|
|
226
|
+
Telnyx::AI::InferenceEmbedding::PostConversationSettings::OrHash,
|
|
204
227
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
205
228
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
206
229
|
tools:
|
|
@@ -260,6 +283,13 @@ module Telnyx
|
|
|
260
283
|
llm_api_key_ref: nil,
|
|
261
284
|
messaging_settings: nil,
|
|
262
285
|
observability_settings: nil,
|
|
286
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
287
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
288
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
289
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
290
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
291
|
+
# post-conversation. Beta feature.
|
|
292
|
+
post_conversation_settings: nil,
|
|
263
293
|
privacy_settings: nil,
|
|
264
294
|
telephony_settings: nil,
|
|
265
295
|
# The tools that the assistant can use. These may be templated with
|
|
@@ -291,6 +321,8 @@ module Telnyx
|
|
|
291
321
|
llm_api_key_ref: String,
|
|
292
322
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
293
323
|
observability_settings: Telnyx::AI::Observability,
|
|
324
|
+
post_conversation_settings:
|
|
325
|
+
Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
294
326
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
295
327
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
296
328
|
tools: T::Array[Telnyx::AI::AssistantTool::Variants],
|
|
@@ -302,6 +334,44 @@ module Telnyx
|
|
|
302
334
|
end
|
|
303
335
|
def to_hash
|
|
304
336
|
end
|
|
337
|
+
|
|
338
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
339
|
+
OrHash =
|
|
340
|
+
T.type_alias do
|
|
341
|
+
T.any(
|
|
342
|
+
Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
343
|
+
Telnyx::Internal::AnyHash
|
|
344
|
+
)
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
348
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
349
|
+
# to false.
|
|
350
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
351
|
+
attr_reader :enabled
|
|
352
|
+
|
|
353
|
+
sig { params(enabled: T::Boolean).void }
|
|
354
|
+
attr_writer :enabled
|
|
355
|
+
|
|
356
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
357
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
358
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
359
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
360
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
361
|
+
# post-conversation. Beta feature.
|
|
362
|
+
sig { params(enabled: T::Boolean).returns(T.attached_class) }
|
|
363
|
+
def self.new(
|
|
364
|
+
# Whether post-conversation processing is enabled. When true, the assistant will
|
|
365
|
+
# be invoked after the conversation ends to perform any final tool calls. Defaults
|
|
366
|
+
# to false.
|
|
367
|
+
enabled: nil
|
|
368
|
+
)
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
sig { override.returns({ enabled: T::Boolean }) }
|
|
372
|
+
def to_hash
|
|
373
|
+
end
|
|
374
|
+
end
|
|
305
375
|
end
|
|
306
376
|
end
|
|
307
377
|
end
|
|
@@ -37,6 +37,15 @@ module Telnyx
|
|
|
37
37
|
sig { params(eot_timeout_ms: Integer).void }
|
|
38
38
|
attr_writer :eot_timeout_ms
|
|
39
39
|
|
|
40
|
+
# Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
|
|
41
|
+
# key terms to boost for recognition during transcription. Helps improve accuracy
|
|
42
|
+
# for domain-specific terminology, proper nouns, or uncommon words.
|
|
43
|
+
sig { returns(T.nilable(String)) }
|
|
44
|
+
attr_reader :keyterm
|
|
45
|
+
|
|
46
|
+
sig { params(keyterm: String).void }
|
|
47
|
+
attr_writer :keyterm
|
|
48
|
+
|
|
40
49
|
sig { returns(T.nilable(T::Boolean)) }
|
|
41
50
|
attr_reader :numerals
|
|
42
51
|
|
|
@@ -54,6 +63,7 @@ module Telnyx
|
|
|
54
63
|
eager_eot_threshold: Float,
|
|
55
64
|
eot_threshold: Float,
|
|
56
65
|
eot_timeout_ms: Integer,
|
|
66
|
+
keyterm: String,
|
|
57
67
|
numerals: T::Boolean,
|
|
58
68
|
smart_format: T::Boolean
|
|
59
69
|
).returns(T.attached_class)
|
|
@@ -69,6 +79,10 @@ module Telnyx
|
|
|
69
79
|
# Available only for deepgram/flux. Maximum milliseconds of silence before forcing
|
|
70
80
|
# an end of turn, regardless of confidence.
|
|
71
81
|
eot_timeout_ms: nil,
|
|
82
|
+
# Available only for deepgram/nova-3 and deepgram/flux. A comma-separated list of
|
|
83
|
+
# key terms to boost for recognition during transcription. Helps improve accuracy
|
|
84
|
+
# for domain-specific terminology, proper nouns, or uncommon words.
|
|
85
|
+
keyterm: nil,
|
|
72
86
|
numerals: nil,
|
|
73
87
|
smart_format: nil
|
|
74
88
|
)
|
|
@@ -80,6 +94,7 @@ module Telnyx
|
|
|
80
94
|
eager_eot_threshold: Float,
|
|
81
95
|
eot_threshold: Float,
|
|
82
96
|
eot_timeout_ms: Integer,
|
|
97
|
+
keyterm: String,
|
|
83
98
|
numerals: T::Boolean,
|
|
84
99
|
smart_format: T::Boolean
|
|
85
100
|
}
|
|
@@ -44,6 +44,8 @@ module Telnyx
|
|
|
44
44
|
model: String,
|
|
45
45
|
name: String,
|
|
46
46
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
47
|
+
post_conversation_settings:
|
|
48
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings::OrHash,
|
|
47
49
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
48
50
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
49
51
|
tool_ids: T::Array[String],
|
|
@@ -112,6 +114,13 @@ module Telnyx
|
|
|
112
114
|
name: nil,
|
|
113
115
|
# Body param
|
|
114
116
|
observability_settings: nil,
|
|
117
|
+
# Body param: Configuration for post-conversation processing. When enabled, the
|
|
118
|
+
# assistant receives one additional LLM turn after the conversation ends, allowing
|
|
119
|
+
# it to execute tool calls such as logging to a CRM or sending a summary. The
|
|
120
|
+
# assistant can execute multiple parallel or sequential tools during this phase.
|
|
121
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
122
|
+
# post-conversation. Beta feature.
|
|
123
|
+
post_conversation_settings: nil,
|
|
115
124
|
# Body param
|
|
116
125
|
privacy_settings: nil,
|
|
117
126
|
# Body param
|
|
@@ -44,6 +44,8 @@ module Telnyx
|
|
|
44
44
|
llm_api_key_ref: String,
|
|
45
45
|
messaging_settings: Telnyx::AI::MessagingSettings::OrHash,
|
|
46
46
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
47
|
+
post_conversation_settings:
|
|
48
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings::OrHash,
|
|
47
49
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
48
50
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
49
51
|
tool_ids: T::Array[String],
|
|
@@ -102,6 +104,13 @@ module Telnyx
|
|
|
102
104
|
llm_api_key_ref: nil,
|
|
103
105
|
messaging_settings: nil,
|
|
104
106
|
observability_settings: nil,
|
|
107
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
108
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
109
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
110
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
111
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
112
|
+
# post-conversation. Beta feature.
|
|
113
|
+
post_conversation_settings: nil,
|
|
105
114
|
privacy_settings: nil,
|
|
106
115
|
telephony_settings: nil,
|
|
107
116
|
tool_ids: nil,
|
|
@@ -153,6 +162,8 @@ module Telnyx
|
|
|
153
162
|
model: String,
|
|
154
163
|
name: String,
|
|
155
164
|
observability_settings: Telnyx::AI::ObservabilityReq::OrHash,
|
|
165
|
+
post_conversation_settings:
|
|
166
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings::OrHash,
|
|
156
167
|
privacy_settings: Telnyx::AI::PrivacySettings::OrHash,
|
|
157
168
|
promote_to_main: T::Boolean,
|
|
158
169
|
telephony_settings: Telnyx::AI::TelephonySettings::OrHash,
|
|
@@ -213,6 +224,13 @@ module Telnyx
|
|
|
213
224
|
model: nil,
|
|
214
225
|
name: nil,
|
|
215
226
|
observability_settings: nil,
|
|
227
|
+
# Configuration for post-conversation processing. When enabled, the assistant
|
|
228
|
+
# receives one additional LLM turn after the conversation ends, allowing it to
|
|
229
|
+
# execute tool calls such as logging to a CRM or sending a summary. The assistant
|
|
230
|
+
# can execute multiple parallel or sequential tools during this phase.
|
|
231
|
+
# Telephony-control tools (e.g. hangup, transfer) are unavailable
|
|
232
|
+
# post-conversation. Beta feature.
|
|
233
|
+
post_conversation_settings: nil,
|
|
216
234
|
privacy_settings: nil,
|
|
217
235
|
# Indicates whether the assistant should be promoted to the main version. Defaults
|
|
218
236
|
# to true.
|
|
@@ -15,6 +15,7 @@ module Telnyx
|
|
|
15
15
|
llm_api_key_ref: String,
|
|
16
16
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
17
17
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
18
|
+
post_conversation_settings: Telnyx::AI::AssistantCreateParams::PostConversationSettings,
|
|
18
19
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
19
20
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
20
21
|
tool_ids: ::Array[String],
|
|
@@ -79,6 +80,12 @@ module Telnyx
|
|
|
79
80
|
Telnyx::AI::ObservabilityReq
|
|
80
81
|
) -> Telnyx::AI::ObservabilityReq
|
|
81
82
|
|
|
83
|
+
attr_reader post_conversation_settings: Telnyx::AI::AssistantCreateParams::PostConversationSettings?
|
|
84
|
+
|
|
85
|
+
def post_conversation_settings=: (
|
|
86
|
+
Telnyx::AI::AssistantCreateParams::PostConversationSettings
|
|
87
|
+
) -> Telnyx::AI::AssistantCreateParams::PostConversationSettings
|
|
88
|
+
|
|
82
89
|
attr_reader privacy_settings: Telnyx::AI::PrivacySettings?
|
|
83
90
|
|
|
84
91
|
def privacy_settings=: (
|
|
@@ -132,6 +139,7 @@ module Telnyx
|
|
|
132
139
|
?llm_api_key_ref: String,
|
|
133
140
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
134
141
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
142
|
+
?post_conversation_settings: Telnyx::AI::AssistantCreateParams::PostConversationSettings,
|
|
135
143
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
136
144
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
137
145
|
?tool_ids: ::Array[String],
|
|
@@ -155,6 +163,7 @@ module Telnyx
|
|
|
155
163
|
llm_api_key_ref: String,
|
|
156
164
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
157
165
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
166
|
+
post_conversation_settings: Telnyx::AI::AssistantCreateParams::PostConversationSettings,
|
|
158
167
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
159
168
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
160
169
|
tool_ids: ::Array[String],
|
|
@@ -164,6 +173,18 @@ module Telnyx
|
|
|
164
173
|
widget_settings: Telnyx::AI::WidgetSettings,
|
|
165
174
|
request_options: Telnyx::RequestOptions
|
|
166
175
|
}
|
|
176
|
+
|
|
177
|
+
type post_conversation_settings = { enabled: bool }
|
|
178
|
+
|
|
179
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
180
|
+
attr_reader enabled: bool?
|
|
181
|
+
|
|
182
|
+
def enabled=: (bool) -> bool
|
|
183
|
+
|
|
184
|
+
def initialize: (?enabled: bool) -> void
|
|
185
|
+
|
|
186
|
+
def to_hash: -> { enabled: bool }
|
|
187
|
+
end
|
|
167
188
|
end
|
|
168
189
|
end
|
|
169
190
|
end
|
|
@@ -16,6 +16,7 @@ module Telnyx
|
|
|
16
16
|
model: String,
|
|
17
17
|
name: String,
|
|
18
18
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
19
|
+
post_conversation_settings: Telnyx::AI::AssistantUpdateParams::PostConversationSettings,
|
|
19
20
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
20
21
|
promote_to_main: bool,
|
|
21
22
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -89,6 +90,12 @@ module Telnyx
|
|
|
89
90
|
Telnyx::AI::ObservabilityReq
|
|
90
91
|
) -> Telnyx::AI::ObservabilityReq
|
|
91
92
|
|
|
93
|
+
attr_reader post_conversation_settings: Telnyx::AI::AssistantUpdateParams::PostConversationSettings?
|
|
94
|
+
|
|
95
|
+
def post_conversation_settings=: (
|
|
96
|
+
Telnyx::AI::AssistantUpdateParams::PostConversationSettings
|
|
97
|
+
) -> Telnyx::AI::AssistantUpdateParams::PostConversationSettings
|
|
98
|
+
|
|
92
99
|
attr_reader privacy_settings: Telnyx::AI::PrivacySettings?
|
|
93
100
|
|
|
94
101
|
def privacy_settings=: (
|
|
@@ -147,6 +154,7 @@ module Telnyx
|
|
|
147
154
|
?model: String,
|
|
148
155
|
?name: String,
|
|
149
156
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
157
|
+
?post_conversation_settings: Telnyx::AI::AssistantUpdateParams::PostConversationSettings,
|
|
150
158
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
151
159
|
?promote_to_main: bool,
|
|
152
160
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -172,6 +180,7 @@ module Telnyx
|
|
|
172
180
|
model: String,
|
|
173
181
|
name: String,
|
|
174
182
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
183
|
+
post_conversation_settings: Telnyx::AI::AssistantUpdateParams::PostConversationSettings,
|
|
175
184
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
176
185
|
promote_to_main: bool,
|
|
177
186
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
@@ -182,6 +191,18 @@ module Telnyx
|
|
|
182
191
|
widget_settings: Telnyx::AI::WidgetSettings,
|
|
183
192
|
request_options: Telnyx::RequestOptions
|
|
184
193
|
}
|
|
194
|
+
|
|
195
|
+
type post_conversation_settings = { enabled: bool }
|
|
196
|
+
|
|
197
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
198
|
+
attr_reader enabled: bool?
|
|
199
|
+
|
|
200
|
+
def enabled=: (bool) -> bool
|
|
201
|
+
|
|
202
|
+
def initialize: (?enabled: bool) -> void
|
|
203
|
+
|
|
204
|
+
def to_hash: -> { enabled: bool }
|
|
205
|
+
end
|
|
185
206
|
end
|
|
186
207
|
end
|
|
187
208
|
end
|
|
@@ -18,6 +18,7 @@ module Telnyx
|
|
|
18
18
|
model: String,
|
|
19
19
|
name: String,
|
|
20
20
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
21
|
+
post_conversation_settings: Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings,
|
|
21
22
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
22
23
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
23
24
|
tool_ids: ::Array[String],
|
|
@@ -84,6 +85,12 @@ module Telnyx
|
|
|
84
85
|
Telnyx::AI::ObservabilityReq
|
|
85
86
|
) -> Telnyx::AI::ObservabilityReq
|
|
86
87
|
|
|
88
|
+
attr_reader post_conversation_settings: Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings?
|
|
89
|
+
|
|
90
|
+
def post_conversation_settings=: (
|
|
91
|
+
Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings
|
|
92
|
+
) -> Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings
|
|
93
|
+
|
|
87
94
|
attr_reader privacy_settings: Telnyx::AI::PrivacySettings?
|
|
88
95
|
|
|
89
96
|
def privacy_settings=: (
|
|
@@ -137,6 +144,7 @@ module Telnyx
|
|
|
137
144
|
?model: String,
|
|
138
145
|
?name: String,
|
|
139
146
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
147
|
+
?post_conversation_settings: Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings,
|
|
140
148
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
141
149
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
142
150
|
?tool_ids: ::Array[String],
|
|
@@ -159,6 +167,7 @@ module Telnyx
|
|
|
159
167
|
model: String,
|
|
160
168
|
name: String,
|
|
161
169
|
observability_settings: Telnyx::AI::ObservabilityReq,
|
|
170
|
+
post_conversation_settings: Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings,
|
|
162
171
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
163
172
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
164
173
|
tool_ids: ::Array[String],
|
|
@@ -167,6 +176,18 @@ module Telnyx
|
|
|
167
176
|
voice_settings: Telnyx::AI::VoiceSettings,
|
|
168
177
|
widget_settings: Telnyx::AI::WidgetSettings
|
|
169
178
|
}
|
|
179
|
+
|
|
180
|
+
type post_conversation_settings = { enabled: bool }
|
|
181
|
+
|
|
182
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
183
|
+
attr_reader enabled: bool?
|
|
184
|
+
|
|
185
|
+
def enabled=: (bool) -> bool
|
|
186
|
+
|
|
187
|
+
def initialize: (?enabled: bool) -> void
|
|
188
|
+
|
|
189
|
+
def to_hash: -> { enabled: bool }
|
|
190
|
+
end
|
|
170
191
|
end
|
|
171
192
|
end
|
|
172
193
|
end
|
|
@@ -18,6 +18,7 @@ module Telnyx
|
|
|
18
18
|
llm_api_key_ref: String,
|
|
19
19
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
20
20
|
observability_settings: Telnyx::AI::Observability,
|
|
21
|
+
post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
21
22
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
22
23
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
23
24
|
tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
@@ -87,6 +88,12 @@ module Telnyx
|
|
|
87
88
|
Telnyx::AI::Observability
|
|
88
89
|
) -> Telnyx::AI::Observability
|
|
89
90
|
|
|
91
|
+
attr_reader post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings?
|
|
92
|
+
|
|
93
|
+
def post_conversation_settings=: (
|
|
94
|
+
Telnyx::AI::InferenceEmbedding::PostConversationSettings
|
|
95
|
+
) -> Telnyx::AI::InferenceEmbedding::PostConversationSettings
|
|
96
|
+
|
|
90
97
|
attr_reader privacy_settings: Telnyx::AI::PrivacySettings?
|
|
91
98
|
|
|
92
99
|
def privacy_settings=: (
|
|
@@ -139,6 +146,7 @@ module Telnyx
|
|
|
139
146
|
?llm_api_key_ref: String,
|
|
140
147
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
141
148
|
?observability_settings: Telnyx::AI::Observability,
|
|
149
|
+
?post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
142
150
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
143
151
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
144
152
|
?tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
@@ -163,6 +171,7 @@ module Telnyx
|
|
|
163
171
|
llm_api_key_ref: String,
|
|
164
172
|
messaging_settings: Telnyx::AI::MessagingSettings,
|
|
165
173
|
observability_settings: Telnyx::AI::Observability,
|
|
174
|
+
post_conversation_settings: Telnyx::AI::InferenceEmbedding::PostConversationSettings,
|
|
166
175
|
privacy_settings: Telnyx::AI::PrivacySettings,
|
|
167
176
|
telephony_settings: Telnyx::AI::TelephonySettings,
|
|
168
177
|
tools: ::Array[Telnyx::Models::AI::assistant_tool],
|
|
@@ -170,6 +179,18 @@ module Telnyx
|
|
|
170
179
|
voice_settings: Telnyx::AI::VoiceSettings,
|
|
171
180
|
widget_settings: Telnyx::AI::WidgetSettings
|
|
172
181
|
}
|
|
182
|
+
|
|
183
|
+
type post_conversation_settings = { enabled: bool }
|
|
184
|
+
|
|
185
|
+
class PostConversationSettings < Telnyx::Internal::Type::BaseModel
|
|
186
|
+
attr_reader enabled: bool?
|
|
187
|
+
|
|
188
|
+
def enabled=: (bool) -> bool
|
|
189
|
+
|
|
190
|
+
def initialize: (?enabled: bool) -> void
|
|
191
|
+
|
|
192
|
+
def to_hash: -> { enabled: bool }
|
|
193
|
+
end
|
|
173
194
|
end
|
|
174
195
|
end
|
|
175
196
|
end
|
|
@@ -6,6 +6,7 @@ module Telnyx
|
|
|
6
6
|
eager_eot_threshold: Float,
|
|
7
7
|
eot_threshold: Float,
|
|
8
8
|
eot_timeout_ms: Integer,
|
|
9
|
+
keyterm: String,
|
|
9
10
|
numerals: bool,
|
|
10
11
|
smart_format: bool
|
|
11
12
|
}
|
|
@@ -23,6 +24,10 @@ module Telnyx
|
|
|
23
24
|
|
|
24
25
|
def eot_timeout_ms=: (Integer) -> Integer
|
|
25
26
|
|
|
27
|
+
attr_reader keyterm: String?
|
|
28
|
+
|
|
29
|
+
def keyterm=: (String) -> String
|
|
30
|
+
|
|
26
31
|
attr_reader numerals: bool?
|
|
27
32
|
|
|
28
33
|
def numerals=: (bool) -> bool
|
|
@@ -35,6 +40,7 @@ module Telnyx
|
|
|
35
40
|
?eager_eot_threshold: Float,
|
|
36
41
|
?eot_threshold: Float,
|
|
37
42
|
?eot_timeout_ms: Integer,
|
|
43
|
+
?keyterm: String,
|
|
38
44
|
?numerals: bool,
|
|
39
45
|
?smart_format: bool
|
|
40
46
|
) -> void
|
|
@@ -43,6 +49,7 @@ module Telnyx
|
|
|
43
49
|
eager_eot_threshold: Float,
|
|
44
50
|
eot_threshold: Float,
|
|
45
51
|
eot_timeout_ms: Integer,
|
|
52
|
+
keyterm: String,
|
|
46
53
|
numerals: bool,
|
|
47
54
|
smart_format: bool
|
|
48
55
|
}
|
|
@@ -25,6 +25,7 @@ module Telnyx
|
|
|
25
25
|
?model: String,
|
|
26
26
|
?name: String,
|
|
27
27
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
28
|
+
?post_conversation_settings: Telnyx::AI::Assistants::UpdateAssistant::PostConversationSettings,
|
|
28
29
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
29
30
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
30
31
|
?tool_ids: ::Array[String],
|
|
@@ -27,6 +27,7 @@ module Telnyx
|
|
|
27
27
|
?llm_api_key_ref: String,
|
|
28
28
|
?messaging_settings: Telnyx::AI::MessagingSettings,
|
|
29
29
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
30
|
+
?post_conversation_settings: Telnyx::AI::AssistantCreateParams::PostConversationSettings,
|
|
30
31
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
31
32
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
|
32
33
|
?tool_ids: ::Array[String],
|
|
@@ -60,6 +61,7 @@ module Telnyx
|
|
|
60
61
|
?model: String,
|
|
61
62
|
?name: String,
|
|
62
63
|
?observability_settings: Telnyx::AI::ObservabilityReq,
|
|
64
|
+
?post_conversation_settings: Telnyx::AI::AssistantUpdateParams::PostConversationSettings,
|
|
63
65
|
?privacy_settings: Telnyx::AI::PrivacySettings,
|
|
64
66
|
?promote_to_main: bool,
|
|
65
67
|
?telephony_settings: Telnyx::AI::TelephonySettings,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telnyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.80.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telnyx
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|