falaai-api 1.21.49 → 1.21.54
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/README.md +37 -38
- data/docs/AnalysisApi.md +2 -2
- data/docs/DiagnosticParticipant.md +1 -1
- data/docs/DiagnosticRequest.md +2 -2
- data/docs/DiagnosticResponse.md +3 -1
- data/docs/Participant.md +1 -1
- data/docs/ParticipantDiagnostic.md +1 -1
- data/docs/RiskAuditRequest.md +4 -6
- data/docs/SpeechApi.md +3 -3
- data/docs/WhatsappApi.md +95 -0
- data/docs/WhatsappConversation.md +32 -0
- data/docs/WhatsappConversationsResponse.md +28 -0
- data/docs/WhatsappMeta.md +50 -0
- data/docs/WhatsappSpeaker.md +20 -0
- data/docs/WhatsappUsage.md +34 -0
- data/docs/index.html +55 -51
- data/docs/llms.txt +18 -0
- data/docs/robots.txt +4 -0
- data/docs/sitemap.xml +8 -0
- data/lib/falaai-api/api/analysis_api.rb +1 -1
- data/lib/falaai-api/api/email_alerts_api.rb +1 -1
- data/lib/falaai-api/api/health_api.rb +1 -1
- data/lib/falaai-api/api/speech_api.rb +5 -5
- data/lib/falaai-api/api/usage_api.rb +1 -1
- data/lib/falaai-api/api/version_api.rb +1 -1
- data/lib/falaai-api/api/webhooks_api.rb +1 -1
- data/lib/falaai-api/api/whatsapp_api.rb +132 -0
- data/lib/falaai-api/api_client.rb +1 -1
- data/lib/falaai-api/api_error.rb +1 -1
- data/lib/falaai-api/api_model_base.rb +1 -1
- data/lib/falaai-api/configuration.rb +1 -1
- data/lib/falaai-api/models/audio_event.rb +1 -1
- data/lib/falaai-api/models/audio_input_meta.rb +1 -1
- data/lib/falaai-api/models/create_email_alert_request.rb +1 -1
- data/lib/falaai-api/models/create_webhook_request.rb +1 -1
- data/lib/falaai-api/models/diagnostic_analysis_map.rb +1 -1
- data/lib/falaai-api/models/diagnostic_audio_event.rb +1 -1
- data/lib/falaai-api/models/diagnostic_categorical_analysis.rb +1 -1
- data/lib/falaai-api/models/diagnostic_participant.rb +2 -9
- data/lib/falaai-api/models/diagnostic_request.rb +5 -12
- data/lib/falaai-api/models/diagnostic_response.rb +15 -5
- data/lib/falaai-api/models/diagnostic_text_analysis.rb +1 -1
- data/lib/falaai-api/models/diagnostic_usage.rb +1 -1
- data/lib/falaai-api/models/email_alert_item.rb +1 -1
- data/lib/falaai-api/models/email_alert_list_response.rb +1 -1
- data/lib/falaai-api/models/email_alert_message_response.rb +1 -1
- data/lib/falaai-api/models/email_event.rb +1 -1
- data/lib/falaai-api/models/health_response.rb +1 -1
- data/lib/falaai-api/models/http_validation_error.rb +1 -1
- data/lib/falaai-api/models/location_inner.rb +1 -1
- data/lib/falaai-api/models/message_response.rb +1 -1
- data/lib/falaai-api/models/participant.rb +2 -2
- data/lib/falaai-api/models/participant_diagnostic.rb +2 -19
- data/lib/falaai-api/models/risk_audit_analysis_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_applied_action_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_audio_event_model_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_audit_decisions_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_conversation_scores_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_detection_item_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_detections_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_indexer_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_meta_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_participant_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_participants_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_request.rb +19 -54
- data/lib/falaai-api/models/risk_audit_scores_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_scoring_explanation_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_summary_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_timeline_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_usage_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_v2_response.rb +1 -1
- data/lib/falaai-api/models/risk_audit_verdict_v2.rb +1 -1
- data/lib/falaai-api/models/transcription_response.rb +1 -1
- data/lib/falaai-api/models/transcription_usage.rb +1 -1
- data/lib/falaai-api/models/update_email_alert_request.rb +1 -1
- data/lib/falaai-api/models/update_webhook_request.rb +1 -1
- data/lib/falaai-api/models/usage_by_key_item.rb +1 -1
- data/lib/falaai-api/models/usage_log_item.rb +1 -1
- data/lib/falaai-api/models/usage_log_response.rb +1 -1
- data/lib/falaai-api/models/validation_error.rb +1 -1
- data/lib/falaai-api/models/version_response.rb +1 -1
- data/lib/falaai-api/models/webhook_event.rb +1 -1
- data/lib/falaai-api/models/webhook_item.rb +1 -1
- data/lib/falaai-api/models/webhook_list_response.rb +1 -1
- data/lib/falaai-api/models/whatsapp_conversation.rb +356 -0
- data/lib/falaai-api/models/whatsapp_conversations_response.rb +285 -0
- data/lib/falaai-api/models/whatsapp_meta.rb +597 -0
- data/lib/falaai-api/models/whatsapp_speaker.rb +192 -0
- data/lib/falaai-api/models/whatsapp_usage.rb +381 -0
- data/lib/falaai-api/version.rb +2 -2
- data/lib/falaai-api.rb +7 -1
- metadata +17 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -21,7 +21,7 @@ module FalaAI
|
|
|
21
21
|
# Participant name (humanizes report, does not affect logic)
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
24
|
-
# Role: agent (human operator), client (customer), bot (IVR/AI)
|
|
24
|
+
# Role: agent (human operator), client (customer), bot (IVR/AI). Required for risk audit.
|
|
25
25
|
attr_accessor :role
|
|
26
26
|
|
|
27
27
|
class EnumAttributeValidator
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -18,7 +18,7 @@ module FalaAI
|
|
|
18
18
|
# Exact speaker label from the dialog (e.g. 'Speaker 1')
|
|
19
19
|
attr_accessor :interlocutor
|
|
20
20
|
|
|
21
|
-
# Role: agent | client | bot | agent_requester | agent_custodian
|
|
21
|
+
# Role: agent | client | bot | agent_requester | agent_custodian (null when not informed/inferred)
|
|
22
22
|
attr_accessor :role
|
|
23
23
|
|
|
24
24
|
# Participant name if mentioned in the dialogue
|
|
@@ -92,8 +92,6 @@ module FalaAI
|
|
|
92
92
|
|
|
93
93
|
if attributes.key?(:'role')
|
|
94
94
|
self.role = attributes[:'role']
|
|
95
|
-
else
|
|
96
|
-
self.role = nil
|
|
97
95
|
end
|
|
98
96
|
|
|
99
97
|
if attributes.key?(:'name')
|
|
@@ -118,10 +116,6 @@ module FalaAI
|
|
|
118
116
|
invalid_properties.push('invalid value for "interlocutor", interlocutor cannot be nil.')
|
|
119
117
|
end
|
|
120
118
|
|
|
121
|
-
if @role.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "role", role cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
119
|
invalid_properties
|
|
126
120
|
end
|
|
127
121
|
|
|
@@ -130,7 +124,6 @@ module FalaAI
|
|
|
130
124
|
def valid?
|
|
131
125
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
132
126
|
return false if @interlocutor.nil?
|
|
133
|
-
return false if @role.nil?
|
|
134
127
|
true
|
|
135
128
|
end
|
|
136
129
|
|
|
@@ -144,16 +137,6 @@ module FalaAI
|
|
|
144
137
|
@interlocutor = interlocutor
|
|
145
138
|
end
|
|
146
139
|
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] role Value to be assigned
|
|
149
|
-
def role=(role)
|
|
150
|
-
if role.nil?
|
|
151
|
-
fail ArgumentError, 'role cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@role = role
|
|
155
|
-
end
|
|
156
|
-
|
|
157
140
|
# Checks equality by comparing each attribute.
|
|
158
141
|
# @param [Object] Object to be compared
|
|
159
142
|
def ==(o)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -18,16 +18,13 @@ module FalaAI
|
|
|
18
18
|
# Analysis model. Always 'falaai-risk-audit-1'
|
|
19
19
|
attr_accessor :model
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :text
|
|
23
|
-
|
|
24
|
-
# Diarized transcript with speaker turns. PRIMARY source. Speaker labels accepted (any case): 'Speaker N', 'Interlocutor N', 'Hablante N', 'Locutor N', 'Orador N' (space or underscore). Normalized internally to 'Speaker N' in the response. Max 300,000 characters
|
|
21
|
+
# Diarized transcript with speaker turns. REQUIRED — risk audit only accepts diarized conversations; plain 'text' is not accepted. Speaker labels accepted (any case): 'Speaker N', 'Interlocutor N', 'Hablante N', 'Locutor N', 'Orador N' (space or underscore). Normalized internally to 'Speaker N' in the response. Max 300,000 characters
|
|
25
22
|
attr_accessor :dialog
|
|
26
23
|
|
|
27
24
|
# Audio events with timestamps (correlated with turns when diarization is present)
|
|
28
25
|
attr_accessor :audio_events
|
|
29
26
|
|
|
30
|
-
# Total audio duration in seconds. Required. Max 3h (10800s).
|
|
27
|
+
# Total audio duration in seconds. Required. Must be >= last turn end. Max 3h (10800s).
|
|
31
28
|
attr_accessor :duration_seconds
|
|
32
29
|
|
|
33
30
|
# Language of the transcript being analyzed. Must match the dialog/text language. Accepted: pt-BR, en-US, es-ES.
|
|
@@ -42,10 +39,10 @@ module FalaAI
|
|
|
42
39
|
# Explicit participant roles. If omitted, LLM infers from dialog (Lei 17). When provided, used as ground truth — no inference.
|
|
43
40
|
attr_accessor :participants
|
|
44
41
|
|
|
45
|
-
# Response format version.
|
|
42
|
+
# Response format version. Only 'v2' (structured EN-US blocks) is available today.
|
|
46
43
|
attr_accessor :response_format
|
|
47
44
|
|
|
48
|
-
# Optional client-supplied ID echoed verbatim in the response. Use to correlate/sync with your system. Accepted charset: [A-Za-z0-9
|
|
45
|
+
# Optional client-supplied ID echoed verbatim in the response. Use to correlate/sync with your system. Accepted charset: [A-Za-z0-9 _/:.-], max 60 chars. Not idempotency.
|
|
49
46
|
attr_accessor :client_reference_id
|
|
50
47
|
|
|
51
48
|
class EnumAttributeValidator
|
|
@@ -74,7 +71,6 @@ module FalaAI
|
|
|
74
71
|
def self.attribute_map
|
|
75
72
|
{
|
|
76
73
|
:'model' => :'model',
|
|
77
|
-
:'text' => :'text',
|
|
78
74
|
:'dialog' => :'dialog',
|
|
79
75
|
:'audio_events' => :'audio_events',
|
|
80
76
|
:'duration_seconds' => :'duration_seconds',
|
|
@@ -101,7 +97,6 @@ module FalaAI
|
|
|
101
97
|
def self.openapi_types
|
|
102
98
|
{
|
|
103
99
|
:'model' => :'String',
|
|
104
|
-
:'text' => :'String',
|
|
105
100
|
:'dialog' => :'String',
|
|
106
101
|
:'audio_events' => :'Array<DiagnosticAudioEvent>',
|
|
107
102
|
:'duration_seconds' => :'Float',
|
|
@@ -142,16 +137,10 @@ module FalaAI
|
|
|
142
137
|
self.model = 'falaai-risk-audit-1'
|
|
143
138
|
end
|
|
144
139
|
|
|
145
|
-
if attributes.key?(:'text')
|
|
146
|
-
self.text = attributes[:'text']
|
|
147
|
-
else
|
|
148
|
-
self.text = ''
|
|
149
|
-
end
|
|
150
|
-
|
|
151
140
|
if attributes.key?(:'dialog')
|
|
152
141
|
self.dialog = attributes[:'dialog']
|
|
153
142
|
else
|
|
154
|
-
self.dialog =
|
|
143
|
+
self.dialog = nil
|
|
155
144
|
end
|
|
156
145
|
|
|
157
146
|
if attributes.key?(:'audio_events')
|
|
@@ -204,11 +193,11 @@ module FalaAI
|
|
|
204
193
|
def list_invalid_properties
|
|
205
194
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
206
195
|
invalid_properties = Array.new
|
|
207
|
-
if
|
|
208
|
-
invalid_properties.push('invalid value for "
|
|
196
|
+
if @dialog.nil?
|
|
197
|
+
invalid_properties.push('invalid value for "dialog", dialog cannot be nil.')
|
|
209
198
|
end
|
|
210
199
|
|
|
211
|
-
if
|
|
200
|
+
if @dialog.to_s.length > 300000
|
|
212
201
|
invalid_properties.push('invalid value for "dialog", the character length must be smaller than or equal to 300000.')
|
|
213
202
|
end
|
|
214
203
|
|
|
@@ -236,11 +225,6 @@ module FalaAI
|
|
|
236
225
|
invalid_properties.push('invalid value for "participants", number of items must be less than or equal to 10.')
|
|
237
226
|
end
|
|
238
227
|
|
|
239
|
-
pattern = Regexp.new(/^v[0-9]+$/)
|
|
240
|
-
if !@response_format.nil? && @response_format !~ pattern
|
|
241
|
-
invalid_properties.push("invalid value for \"response_format\", must conform to the pattern #{pattern}.")
|
|
242
|
-
end
|
|
243
|
-
|
|
244
228
|
invalid_properties
|
|
245
229
|
end
|
|
246
230
|
|
|
@@ -248,8 +232,8 @@ module FalaAI
|
|
|
248
232
|
# @return true if the model is valid
|
|
249
233
|
def valid?
|
|
250
234
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
251
|
-
return false if
|
|
252
|
-
return false if
|
|
235
|
+
return false if @dialog.nil?
|
|
236
|
+
return false if @dialog.to_s.length > 300000
|
|
253
237
|
return false if !@audio_events.nil? && @audio_events.length > 500
|
|
254
238
|
return false if @duration_seconds.nil?
|
|
255
239
|
return false if @duration_seconds < 1.0
|
|
@@ -258,24 +242,11 @@ module FalaAI
|
|
|
258
242
|
call_direction_validator = EnumAttributeValidator.new('String', ["inbound", "outbound"])
|
|
259
243
|
return false unless call_direction_validator.valid?(@call_direction)
|
|
260
244
|
return false if !@participants.nil? && @participants.length > 10
|
|
261
|
-
|
|
245
|
+
response_format_validator = EnumAttributeValidator.new('String', ["v2"])
|
|
246
|
+
return false unless response_format_validator.valid?(@response_format)
|
|
262
247
|
true
|
|
263
248
|
end
|
|
264
249
|
|
|
265
|
-
# Custom attribute writer method with validation
|
|
266
|
-
# @param [Object] text Value to be assigned
|
|
267
|
-
def text=(text)
|
|
268
|
-
if text.nil?
|
|
269
|
-
fail ArgumentError, 'text cannot be nil'
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
if text.to_s.length > 300000
|
|
273
|
-
fail ArgumentError, 'invalid value for "text", the character length must be smaller than or equal to 300000.'
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
@text = text
|
|
277
|
-
end
|
|
278
|
-
|
|
279
250
|
# Custom attribute writer method with validation
|
|
280
251
|
# @param [Object] dialog Value to be assigned
|
|
281
252
|
def dialog=(dialog)
|
|
@@ -362,18 +333,13 @@ module FalaAI
|
|
|
362
333
|
@participants = participants
|
|
363
334
|
end
|
|
364
335
|
|
|
365
|
-
# Custom attribute writer method
|
|
366
|
-
# @param [Object] response_format
|
|
336
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
337
|
+
# @param [Object] response_format Object to be assigned
|
|
367
338
|
def response_format=(response_format)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
pattern = Regexp.new(/^v[0-9]+$/)
|
|
373
|
-
if response_format !~ pattern
|
|
374
|
-
fail ArgumentError, "invalid value for \"response_format\", must conform to the pattern #{pattern}."
|
|
339
|
+
validator = EnumAttributeValidator.new('String', ["v2"])
|
|
340
|
+
unless validator.valid?(response_format)
|
|
341
|
+
fail ArgumentError, "invalid value for \"response_format\", must be one of #{validator.allowable_values}."
|
|
375
342
|
end
|
|
376
|
-
|
|
377
343
|
@response_format = response_format
|
|
378
344
|
end
|
|
379
345
|
|
|
@@ -383,7 +349,6 @@ module FalaAI
|
|
|
383
349
|
return true if self.equal?(o)
|
|
384
350
|
self.class == o.class &&
|
|
385
351
|
model == o.model &&
|
|
386
|
-
text == o.text &&
|
|
387
352
|
dialog == o.dialog &&
|
|
388
353
|
audio_events == o.audio_events &&
|
|
389
354
|
duration_seconds == o.duration_seconds &&
|
|
@@ -404,7 +369,7 @@ module FalaAI
|
|
|
404
369
|
# Calculates hash code according to all attributes.
|
|
405
370
|
# @return [Integer] Hash code
|
|
406
371
|
def hash
|
|
407
|
-
[model,
|
|
372
|
+
[model, dialog, audio_events, duration_seconds, language, response_language, call_direction, participants, response_format, client_reference_id].hash
|
|
408
373
|
end
|
|
409
374
|
|
|
410
375
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.21.
|
|
6
|
+
The version of the OpenAPI document: 1.21.54
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|