falaai-api 1.21.51 → 1.21.67
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 +13 -6
- data/docs/AnalysisApi.md +6 -2
- data/docs/DiagnosticParticipant.md +1 -1
- data/docs/DiagnosticRequest.md +2 -2
- data/docs/DiagnosticResponse.md +3 -1
- data/docs/DiagnosticUsage.md +1 -1
- data/docs/Participant.md +1 -1
- data/docs/ParticipantDiagnostic.md +1 -1
- data/docs/ResponseExtractConversationsV1WhatsappExtractconversationsPost.md +42 -0
- data/docs/RiskAuditAppliedActionV2.md +0 -4
- data/docs/RiskAuditAuditDecisionsV2.md +1 -3
- data/docs/RiskAuditConversationScoresV2.md +0 -2
- data/docs/RiskAuditDetectionItemV2.md +5 -75
- data/docs/RiskAuditRequest.md +3 -5
- data/docs/RiskAuditSummaryV2.md +0 -4
- data/docs/RiskAuditUsageV2.md +1 -1
- data/docs/RiskAuditVerdictV2.md +1 -7
- data/docs/SpeechApi.md +5 -3
- data/docs/TranscriptionUsage.md +1 -1
- data/docs/WhatsappApi.md +20 -12
- data/docs/WhatsappConversation.md +1 -1
- data/docs/WhatsappMeta.md +7 -3
- data/docs/WhatsappPreviewItem.md +32 -0
- data/docs/WhatsappPreviewItemBreakdown.md +26 -0
- data/docs/WhatsappPreviewItemCredits.md +20 -0
- data/docs/WhatsappPreviewItemMedia.md +30 -0
- data/docs/WhatsappPreviewParams.md +32 -0
- data/docs/WhatsappPreviewResponse.md +32 -0
- data/docs/WhatsappPreviewWindow.md +22 -0
- data/docs/WhatsappUsage.md +17 -1
- data/docs/index.html +58 -29
- data/lib/falaai-api/api/analysis_api.rb +5 -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 +7 -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 +27 -24
- 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 +3 -3
- 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/response_extract_conversations_v1_whatsapp_extractconversations_post.rb +103 -0
- data/lib/falaai-api/models/risk_audit_analysis_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_applied_action_v2.rb +2 -26
- 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 +5 -17
- data/lib/falaai-api/models/risk_audit_conversation_scores_v2.rb +2 -12
- data/lib/falaai-api/models/risk_audit_detection_item_v2.rb +19 -393
- 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 +11 -37
- 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 +2 -24
- data/lib/falaai-api/models/risk_audit_timeline_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_usage_v2.rb +2 -2
- 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 +5 -36
- data/lib/falaai-api/models/transcription_response.rb +1 -1
- data/lib/falaai-api/models/transcription_usage.rb +2 -2
- 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 +2 -2
- data/lib/falaai-api/models/whatsapp_conversations_response.rb +30 -6
- data/lib/falaai-api/models/whatsapp_meta.rb +86 -32
- data/lib/falaai-api/models/whatsapp_preview_item.rb +354 -0
- data/lib/falaai-api/models/whatsapp_preview_item_breakdown.rb +273 -0
- data/lib/falaai-api/models/whatsapp_preview_item_credits.rb +192 -0
- data/lib/falaai-api/models/whatsapp_preview_item_media.rb +329 -0
- data/lib/falaai-api/models/whatsapp_preview_params.rb +354 -0
- data/lib/falaai-api/models/whatsapp_preview_response.rb +384 -0
- data/lib/falaai-api/models/whatsapp_preview_window.rb +219 -0
- data/lib/falaai-api/models/whatsapp_speaker.rb +1 -1
- data/lib/falaai-api/models/whatsapp_usage.rb +220 -4
- data/lib/falaai-api/version.rb +15 -15
- data/lib/falaai-api.rb +9 -1
- metadata +18 -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.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -24,188 +24,48 @@ module FalaAI
|
|
|
24
24
|
# Role
|
|
25
25
|
attr_accessor :role
|
|
26
26
|
|
|
27
|
-
# Start (s)
|
|
28
|
-
attr_accessor :timestamp_start_s
|
|
29
|
-
|
|
30
|
-
# End (s)
|
|
31
|
-
attr_accessor :timestamp_end_s
|
|
32
|
-
|
|
33
27
|
# Formatted timestamp
|
|
34
28
|
attr_accessor :timestamp_formatted
|
|
35
29
|
|
|
36
30
|
# Detected term
|
|
37
31
|
attr_accessor :term_text
|
|
38
32
|
|
|
39
|
-
# Suggested term for bank
|
|
40
|
-
attr_accessor :suggested_term_for_bank
|
|
41
|
-
|
|
42
|
-
# Category code
|
|
43
|
-
attr_accessor :category
|
|
44
|
-
|
|
45
33
|
# Category label (i18n)
|
|
46
34
|
attr_accessor :category_label
|
|
47
35
|
|
|
48
|
-
#
|
|
49
|
-
attr_accessor :
|
|
50
|
-
|
|
51
|
-
# Category icon
|
|
52
|
-
attr_accessor :category_icon
|
|
36
|
+
# Subcategory label (i18n)
|
|
37
|
+
attr_accessor :subcategory_label
|
|
53
38
|
|
|
54
39
|
# Criticality
|
|
55
40
|
attr_accessor :criticality
|
|
56
41
|
|
|
57
|
-
#
|
|
58
|
-
attr_accessor :
|
|
59
|
-
|
|
60
|
-
# Category type
|
|
61
|
-
attr_accessor :category_type
|
|
62
|
-
|
|
63
|
-
# Category group label (i18n)
|
|
64
|
-
attr_accessor :category_group
|
|
65
|
-
|
|
66
|
-
# Nature
|
|
67
|
-
attr_accessor :nature
|
|
68
|
-
|
|
69
|
-
# LLM confidence
|
|
70
|
-
attr_accessor :llm_confidence
|
|
42
|
+
# Status
|
|
43
|
+
attr_accessor :status
|
|
71
44
|
|
|
72
45
|
# Reason
|
|
73
46
|
attr_accessor :reason
|
|
74
47
|
|
|
75
|
-
# Valid context
|
|
76
|
-
attr_accessor :is_valid_context
|
|
77
|
-
|
|
78
|
-
# Risk probability
|
|
79
|
-
attr_accessor :risk_probability
|
|
80
|
-
|
|
81
|
-
# Risk impact
|
|
82
|
-
attr_accessor :risk_impact
|
|
83
|
-
|
|
84
|
-
# Category weight
|
|
85
|
-
attr_accessor :category_weight
|
|
86
|
-
|
|
87
|
-
# Turn sentiment
|
|
88
|
-
attr_accessor :turn_sentiment
|
|
89
|
-
|
|
90
|
-
# Intensity
|
|
91
|
-
attr_accessor :intensity
|
|
92
|
-
|
|
93
|
-
# Total modifier applied
|
|
94
|
-
attr_accessor :mod_applied
|
|
95
|
-
|
|
96
|
-
# Audio modifier applied
|
|
97
|
-
attr_accessor :mac_applied
|
|
98
|
-
|
|
99
|
-
# Intensity modifier applied
|
|
100
|
-
attr_accessor :mvad_applied
|
|
101
|
-
|
|
102
|
-
# Modifier formula
|
|
103
|
-
attr_accessor :mod_formula
|
|
104
|
-
|
|
105
|
-
# MAC details
|
|
106
|
-
attr_accessor :mac_details
|
|
107
|
-
|
|
108
|
-
# Calibration reason
|
|
109
|
-
attr_accessor :calibration_reason
|
|
110
|
-
|
|
111
48
|
# Final score
|
|
112
49
|
attr_accessor :final_score
|
|
113
50
|
|
|
114
|
-
# Final score formula
|
|
115
|
-
attr_accessor :final_score_formula
|
|
116
|
-
|
|
117
|
-
# Conversation limit
|
|
118
|
-
attr_accessor :conversation_limit
|
|
119
|
-
|
|
120
|
-
# Apply saturation
|
|
121
|
-
attr_accessor :apply_saturation
|
|
122
|
-
|
|
123
|
-
# Block repetition
|
|
124
|
-
attr_accessor :block_repetition
|
|
125
|
-
|
|
126
|
-
# Status
|
|
127
|
-
attr_accessor :status
|
|
128
|
-
|
|
129
|
-
# Effective impact
|
|
130
|
-
attr_accessor :effective_impact
|
|
131
|
-
|
|
132
|
-
# Saturation factor
|
|
133
|
-
attr_accessor :saturation_factor
|
|
134
|
-
|
|
135
|
-
# Saturation formula
|
|
136
|
-
attr_accessor :saturation_formula
|
|
137
|
-
|
|
138
|
-
# Threshold formula
|
|
139
|
-
attr_accessor :threshold_formula
|
|
140
|
-
|
|
141
|
-
# Blocked formula
|
|
142
|
-
attr_accessor :blocked_formula
|
|
143
|
-
|
|
144
|
-
# Reconciliation note
|
|
145
|
-
attr_accessor :reconciliation_note
|
|
146
|
-
|
|
147
51
|
# Violated frameworks
|
|
148
52
|
attr_accessor :violated_frameworks
|
|
149
53
|
|
|
150
|
-
# Citation fidelity
|
|
151
|
-
attr_accessor :citation_fidelity
|
|
152
|
-
|
|
153
|
-
# Subcategory code
|
|
154
|
-
attr_accessor :subcategory
|
|
155
|
-
|
|
156
|
-
# Subcategory label (i18n)
|
|
157
|
-
attr_accessor :subcategory_label
|
|
158
|
-
|
|
159
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
160
55
|
def self.attribute_map
|
|
161
56
|
{
|
|
162
57
|
:'turn' => :'turn',
|
|
163
58
|
:'interlocutor' => :'interlocutor',
|
|
164
59
|
:'role' => :'role',
|
|
165
|
-
:'timestamp_start_s' => :'timestamp_start_s',
|
|
166
|
-
:'timestamp_end_s' => :'timestamp_end_s',
|
|
167
60
|
:'timestamp_formatted' => :'timestamp_formatted',
|
|
168
61
|
:'term_text' => :'term_text',
|
|
169
|
-
:'suggested_term_for_bank' => :'suggested_term_for_bank',
|
|
170
|
-
:'category' => :'category',
|
|
171
62
|
:'category_label' => :'category_label',
|
|
172
|
-
:'
|
|
173
|
-
:'category_icon' => :'category_icon',
|
|
63
|
+
:'subcategory_label' => :'subcategory_label',
|
|
174
64
|
:'criticality' => :'criticality',
|
|
175
|
-
:'
|
|
176
|
-
:'category_type' => :'category_type',
|
|
177
|
-
:'category_group' => :'category_group',
|
|
178
|
-
:'nature' => :'nature',
|
|
179
|
-
:'llm_confidence' => :'llm_confidence',
|
|
65
|
+
:'status' => :'status',
|
|
180
66
|
:'reason' => :'reason',
|
|
181
|
-
:'is_valid_context' => :'is_valid_context',
|
|
182
|
-
:'risk_probability' => :'risk_probability',
|
|
183
|
-
:'risk_impact' => :'risk_impact',
|
|
184
|
-
:'category_weight' => :'category_weight',
|
|
185
|
-
:'turn_sentiment' => :'turn_sentiment',
|
|
186
|
-
:'intensity' => :'intensity',
|
|
187
|
-
:'mod_applied' => :'mod_applied',
|
|
188
|
-
:'mac_applied' => :'mac_applied',
|
|
189
|
-
:'mvad_applied' => :'mvad_applied',
|
|
190
|
-
:'mod_formula' => :'mod_formula',
|
|
191
|
-
:'mac_details' => :'mac_details',
|
|
192
|
-
:'calibration_reason' => :'calibration_reason',
|
|
193
67
|
:'final_score' => :'final_score',
|
|
194
|
-
:'
|
|
195
|
-
:'conversation_limit' => :'conversation_limit',
|
|
196
|
-
:'apply_saturation' => :'apply_saturation',
|
|
197
|
-
:'block_repetition' => :'block_repetition',
|
|
198
|
-
:'status' => :'status',
|
|
199
|
-
:'effective_impact' => :'effective_impact',
|
|
200
|
-
:'saturation_factor' => :'saturation_factor',
|
|
201
|
-
:'saturation_formula' => :'saturation_formula',
|
|
202
|
-
:'threshold_formula' => :'threshold_formula',
|
|
203
|
-
:'blocked_formula' => :'blocked_formula',
|
|
204
|
-
:'reconciliation_note' => :'reconciliation_note',
|
|
205
|
-
:'violated_frameworks' => :'violated_frameworks',
|
|
206
|
-
:'citation_fidelity' => :'citation_fidelity',
|
|
207
|
-
:'subcategory' => :'subcategory',
|
|
208
|
-
:'subcategory_label' => :'subcategory_label'
|
|
68
|
+
:'violated_frameworks' => :'violated_frameworks'
|
|
209
69
|
}
|
|
210
70
|
end
|
|
211
71
|
|
|
@@ -225,59 +85,21 @@ module FalaAI
|
|
|
225
85
|
:'turn' => :'Integer',
|
|
226
86
|
:'interlocutor' => :'String',
|
|
227
87
|
:'role' => :'String',
|
|
228
|
-
:'timestamp_start_s' => :'Float',
|
|
229
|
-
:'timestamp_end_s' => :'Float',
|
|
230
88
|
:'timestamp_formatted' => :'String',
|
|
231
89
|
:'term_text' => :'String',
|
|
232
|
-
:'suggested_term_for_bank' => :'Object',
|
|
233
|
-
:'category' => :'String',
|
|
234
90
|
:'category_label' => :'String',
|
|
235
|
-
:'
|
|
236
|
-
:'category_icon' => :'String',
|
|
91
|
+
:'subcategory_label' => :'String',
|
|
237
92
|
:'criticality' => :'String',
|
|
238
|
-
:'
|
|
239
|
-
:'category_type' => :'String',
|
|
240
|
-
:'category_group' => :'String',
|
|
241
|
-
:'nature' => :'String',
|
|
242
|
-
:'llm_confidence' => :'Float',
|
|
93
|
+
:'status' => :'String',
|
|
243
94
|
:'reason' => :'String',
|
|
244
|
-
:'is_valid_context' => :'Boolean',
|
|
245
|
-
:'risk_probability' => :'Float',
|
|
246
|
-
:'risk_impact' => :'Float',
|
|
247
|
-
:'category_weight' => :'Float',
|
|
248
|
-
:'turn_sentiment' => :'String',
|
|
249
|
-
:'intensity' => :'Object',
|
|
250
|
-
:'mod_applied' => :'Float',
|
|
251
|
-
:'mac_applied' => :'Float',
|
|
252
|
-
:'mvad_applied' => :'Float',
|
|
253
|
-
:'mod_formula' => :'String',
|
|
254
|
-
:'mac_details' => :'Array<Hash<String, Object>>',
|
|
255
|
-
:'calibration_reason' => :'String',
|
|
256
95
|
:'final_score' => :'Float',
|
|
257
|
-
:'
|
|
258
|
-
:'conversation_limit' => :'Object',
|
|
259
|
-
:'apply_saturation' => :'Boolean',
|
|
260
|
-
:'block_repetition' => :'Boolean',
|
|
261
|
-
:'status' => :'String',
|
|
262
|
-
:'effective_impact' => :'Float',
|
|
263
|
-
:'saturation_factor' => :'Float',
|
|
264
|
-
:'saturation_formula' => :'String',
|
|
265
|
-
:'threshold_formula' => :'String',
|
|
266
|
-
:'blocked_formula' => :'String',
|
|
267
|
-
:'reconciliation_note' => :'String',
|
|
268
|
-
:'violated_frameworks' => :'Array<Object>',
|
|
269
|
-
:'citation_fidelity' => :'Boolean',
|
|
270
|
-
:'subcategory' => :'String',
|
|
271
|
-
:'subcategory_label' => :'String'
|
|
96
|
+
:'violated_frameworks' => :'Array<Object>'
|
|
272
97
|
}
|
|
273
98
|
end
|
|
274
99
|
|
|
275
100
|
# List of attributes with nullable: true
|
|
276
101
|
def self.openapi_nullable
|
|
277
102
|
Set.new([
|
|
278
|
-
:'suggested_term_for_bank',
|
|
279
|
-
:'intensity',
|
|
280
|
-
:'conversation_limit',
|
|
281
103
|
])
|
|
282
104
|
end
|
|
283
105
|
|
|
@@ -309,14 +131,6 @@ module FalaAI
|
|
|
309
131
|
self.role = attributes[:'role']
|
|
310
132
|
end
|
|
311
133
|
|
|
312
|
-
if attributes.key?(:'timestamp_start_s')
|
|
313
|
-
self.timestamp_start_s = attributes[:'timestamp_start_s']
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
if attributes.key?(:'timestamp_end_s')
|
|
317
|
-
self.timestamp_end_s = attributes[:'timestamp_end_s']
|
|
318
|
-
end
|
|
319
|
-
|
|
320
134
|
if attributes.key?(:'timestamp_formatted')
|
|
321
135
|
self.timestamp_formatted = attributes[:'timestamp_formatted']
|
|
322
136
|
end
|
|
@@ -325,175 +139,37 @@ module FalaAI
|
|
|
325
139
|
self.term_text = attributes[:'term_text']
|
|
326
140
|
end
|
|
327
141
|
|
|
328
|
-
if attributes.key?(:'suggested_term_for_bank')
|
|
329
|
-
self.suggested_term_for_bank = attributes[:'suggested_term_for_bank']
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
if attributes.key?(:'category')
|
|
333
|
-
self.category = attributes[:'category']
|
|
334
|
-
end
|
|
335
|
-
|
|
336
142
|
if attributes.key?(:'category_label')
|
|
337
143
|
self.category_label = attributes[:'category_label']
|
|
338
144
|
else
|
|
339
145
|
self.category_label = nil
|
|
340
146
|
end
|
|
341
147
|
|
|
342
|
-
if attributes.key?(:'
|
|
343
|
-
self.
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
if attributes.key?(:'category_icon')
|
|
347
|
-
self.category_icon = attributes[:'category_icon']
|
|
148
|
+
if attributes.key?(:'subcategory_label')
|
|
149
|
+
self.subcategory_label = attributes[:'subcategory_label']
|
|
348
150
|
end
|
|
349
151
|
|
|
350
152
|
if attributes.key?(:'criticality')
|
|
351
153
|
self.criticality = attributes[:'criticality']
|
|
352
154
|
end
|
|
353
155
|
|
|
354
|
-
if attributes.key?(:'
|
|
355
|
-
self.
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
if attributes.key?(:'category_type')
|
|
359
|
-
self.category_type = attributes[:'category_type']
|
|
360
|
-
end
|
|
361
|
-
|
|
362
|
-
if attributes.key?(:'category_group')
|
|
363
|
-
self.category_group = attributes[:'category_group']
|
|
364
|
-
else
|
|
365
|
-
self.category_group = nil
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
if attributes.key?(:'nature')
|
|
369
|
-
self.nature = attributes[:'nature']
|
|
370
|
-
end
|
|
371
|
-
|
|
372
|
-
if attributes.key?(:'llm_confidence')
|
|
373
|
-
self.llm_confidence = attributes[:'llm_confidence']
|
|
156
|
+
if attributes.key?(:'status')
|
|
157
|
+
self.status = attributes[:'status']
|
|
374
158
|
end
|
|
375
159
|
|
|
376
160
|
if attributes.key?(:'reason')
|
|
377
161
|
self.reason = attributes[:'reason']
|
|
378
162
|
end
|
|
379
163
|
|
|
380
|
-
if attributes.key?(:'is_valid_context')
|
|
381
|
-
self.is_valid_context = attributes[:'is_valid_context']
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
if attributes.key?(:'risk_probability')
|
|
385
|
-
self.risk_probability = attributes[:'risk_probability']
|
|
386
|
-
end
|
|
387
|
-
|
|
388
|
-
if attributes.key?(:'risk_impact')
|
|
389
|
-
self.risk_impact = attributes[:'risk_impact']
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
if attributes.key?(:'category_weight')
|
|
393
|
-
self.category_weight = attributes[:'category_weight']
|
|
394
|
-
end
|
|
395
|
-
|
|
396
|
-
if attributes.key?(:'turn_sentiment')
|
|
397
|
-
self.turn_sentiment = attributes[:'turn_sentiment']
|
|
398
|
-
end
|
|
399
|
-
|
|
400
|
-
if attributes.key?(:'intensity')
|
|
401
|
-
self.intensity = attributes[:'intensity']
|
|
402
|
-
end
|
|
403
|
-
|
|
404
|
-
if attributes.key?(:'mod_applied')
|
|
405
|
-
self.mod_applied = attributes[:'mod_applied']
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
if attributes.key?(:'mac_applied')
|
|
409
|
-
self.mac_applied = attributes[:'mac_applied']
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
if attributes.key?(:'mvad_applied')
|
|
413
|
-
self.mvad_applied = attributes[:'mvad_applied']
|
|
414
|
-
end
|
|
415
|
-
|
|
416
|
-
if attributes.key?(:'mod_formula')
|
|
417
|
-
self.mod_formula = attributes[:'mod_formula']
|
|
418
|
-
end
|
|
419
|
-
|
|
420
|
-
if attributes.key?(:'mac_details')
|
|
421
|
-
if (value = attributes[:'mac_details']).is_a?(Array)
|
|
422
|
-
self.mac_details = value
|
|
423
|
-
end
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
if attributes.key?(:'calibration_reason')
|
|
427
|
-
self.calibration_reason = attributes[:'calibration_reason']
|
|
428
|
-
end
|
|
429
|
-
|
|
430
164
|
if attributes.key?(:'final_score')
|
|
431
165
|
self.final_score = attributes[:'final_score']
|
|
432
166
|
end
|
|
433
167
|
|
|
434
|
-
if attributes.key?(:'final_score_formula')
|
|
435
|
-
self.final_score_formula = attributes[:'final_score_formula']
|
|
436
|
-
end
|
|
437
|
-
|
|
438
|
-
if attributes.key?(:'conversation_limit')
|
|
439
|
-
self.conversation_limit = attributes[:'conversation_limit']
|
|
440
|
-
end
|
|
441
|
-
|
|
442
|
-
if attributes.key?(:'apply_saturation')
|
|
443
|
-
self.apply_saturation = attributes[:'apply_saturation']
|
|
444
|
-
end
|
|
445
|
-
|
|
446
|
-
if attributes.key?(:'block_repetition')
|
|
447
|
-
self.block_repetition = attributes[:'block_repetition']
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
if attributes.key?(:'status')
|
|
451
|
-
self.status = attributes[:'status']
|
|
452
|
-
end
|
|
453
|
-
|
|
454
|
-
if attributes.key?(:'effective_impact')
|
|
455
|
-
self.effective_impact = attributes[:'effective_impact']
|
|
456
|
-
end
|
|
457
|
-
|
|
458
|
-
if attributes.key?(:'saturation_factor')
|
|
459
|
-
self.saturation_factor = attributes[:'saturation_factor']
|
|
460
|
-
end
|
|
461
|
-
|
|
462
|
-
if attributes.key?(:'saturation_formula')
|
|
463
|
-
self.saturation_formula = attributes[:'saturation_formula']
|
|
464
|
-
end
|
|
465
|
-
|
|
466
|
-
if attributes.key?(:'threshold_formula')
|
|
467
|
-
self.threshold_formula = attributes[:'threshold_formula']
|
|
468
|
-
end
|
|
469
|
-
|
|
470
|
-
if attributes.key?(:'blocked_formula')
|
|
471
|
-
self.blocked_formula = attributes[:'blocked_formula']
|
|
472
|
-
end
|
|
473
|
-
|
|
474
|
-
if attributes.key?(:'reconciliation_note')
|
|
475
|
-
self.reconciliation_note = attributes[:'reconciliation_note']
|
|
476
|
-
end
|
|
477
|
-
|
|
478
168
|
if attributes.key?(:'violated_frameworks')
|
|
479
169
|
if (value = attributes[:'violated_frameworks']).is_a?(Array)
|
|
480
170
|
self.violated_frameworks = value
|
|
481
171
|
end
|
|
482
172
|
end
|
|
483
|
-
|
|
484
|
-
if attributes.key?(:'citation_fidelity')
|
|
485
|
-
self.citation_fidelity = attributes[:'citation_fidelity']
|
|
486
|
-
else
|
|
487
|
-
self.citation_fidelity = true
|
|
488
|
-
end
|
|
489
|
-
|
|
490
|
-
if attributes.key?(:'subcategory')
|
|
491
|
-
self.subcategory = attributes[:'subcategory']
|
|
492
|
-
end
|
|
493
|
-
|
|
494
|
-
if attributes.key?(:'subcategory_label')
|
|
495
|
-
self.subcategory_label = attributes[:'subcategory_label']
|
|
496
|
-
end
|
|
497
173
|
end
|
|
498
174
|
|
|
499
175
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -505,10 +181,6 @@ module FalaAI
|
|
|
505
181
|
invalid_properties.push('invalid value for "category_label", category_label cannot be nil.')
|
|
506
182
|
end
|
|
507
183
|
|
|
508
|
-
if @category_group.nil?
|
|
509
|
-
invalid_properties.push('invalid value for "category_group", category_group cannot be nil.')
|
|
510
|
-
end
|
|
511
|
-
|
|
512
184
|
invalid_properties
|
|
513
185
|
end
|
|
514
186
|
|
|
@@ -517,7 +189,6 @@ module FalaAI
|
|
|
517
189
|
def valid?
|
|
518
190
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
519
191
|
return false if @category_label.nil?
|
|
520
|
-
return false if @category_group.nil?
|
|
521
192
|
true
|
|
522
193
|
end
|
|
523
194
|
|
|
@@ -531,16 +202,6 @@ module FalaAI
|
|
|
531
202
|
@category_label = category_label
|
|
532
203
|
end
|
|
533
204
|
|
|
534
|
-
# Custom attribute writer method with validation
|
|
535
|
-
# @param [Object] category_group Value to be assigned
|
|
536
|
-
def category_group=(category_group)
|
|
537
|
-
if category_group.nil?
|
|
538
|
-
fail ArgumentError, 'category_group cannot be nil'
|
|
539
|
-
end
|
|
540
|
-
|
|
541
|
-
@category_group = category_group
|
|
542
|
-
end
|
|
543
|
-
|
|
544
205
|
# Checks equality by comparing each attribute.
|
|
545
206
|
# @param [Object] Object to be compared
|
|
546
207
|
def ==(o)
|
|
@@ -549,50 +210,15 @@ module FalaAI
|
|
|
549
210
|
turn == o.turn &&
|
|
550
211
|
interlocutor == o.interlocutor &&
|
|
551
212
|
role == o.role &&
|
|
552
|
-
timestamp_start_s == o.timestamp_start_s &&
|
|
553
|
-
timestamp_end_s == o.timestamp_end_s &&
|
|
554
213
|
timestamp_formatted == o.timestamp_formatted &&
|
|
555
214
|
term_text == o.term_text &&
|
|
556
|
-
suggested_term_for_bank == o.suggested_term_for_bank &&
|
|
557
|
-
category == o.category &&
|
|
558
215
|
category_label == o.category_label &&
|
|
559
|
-
|
|
560
|
-
category_icon == o.category_icon &&
|
|
216
|
+
subcategory_label == o.subcategory_label &&
|
|
561
217
|
criticality == o.criticality &&
|
|
562
|
-
|
|
563
|
-
category_type == o.category_type &&
|
|
564
|
-
category_group == o.category_group &&
|
|
565
|
-
nature == o.nature &&
|
|
566
|
-
llm_confidence == o.llm_confidence &&
|
|
218
|
+
status == o.status &&
|
|
567
219
|
reason == o.reason &&
|
|
568
|
-
is_valid_context == o.is_valid_context &&
|
|
569
|
-
risk_probability == o.risk_probability &&
|
|
570
|
-
risk_impact == o.risk_impact &&
|
|
571
|
-
category_weight == o.category_weight &&
|
|
572
|
-
turn_sentiment == o.turn_sentiment &&
|
|
573
|
-
intensity == o.intensity &&
|
|
574
|
-
mod_applied == o.mod_applied &&
|
|
575
|
-
mac_applied == o.mac_applied &&
|
|
576
|
-
mvad_applied == o.mvad_applied &&
|
|
577
|
-
mod_formula == o.mod_formula &&
|
|
578
|
-
mac_details == o.mac_details &&
|
|
579
|
-
calibration_reason == o.calibration_reason &&
|
|
580
220
|
final_score == o.final_score &&
|
|
581
|
-
|
|
582
|
-
conversation_limit == o.conversation_limit &&
|
|
583
|
-
apply_saturation == o.apply_saturation &&
|
|
584
|
-
block_repetition == o.block_repetition &&
|
|
585
|
-
status == o.status &&
|
|
586
|
-
effective_impact == o.effective_impact &&
|
|
587
|
-
saturation_factor == o.saturation_factor &&
|
|
588
|
-
saturation_formula == o.saturation_formula &&
|
|
589
|
-
threshold_formula == o.threshold_formula &&
|
|
590
|
-
blocked_formula == o.blocked_formula &&
|
|
591
|
-
reconciliation_note == o.reconciliation_note &&
|
|
592
|
-
violated_frameworks == o.violated_frameworks &&
|
|
593
|
-
citation_fidelity == o.citation_fidelity &&
|
|
594
|
-
subcategory == o.subcategory &&
|
|
595
|
-
subcategory_label == o.subcategory_label
|
|
221
|
+
violated_frameworks == o.violated_frameworks
|
|
596
222
|
end
|
|
597
223
|
|
|
598
224
|
# @see the `==` method
|
|
@@ -604,7 +230,7 @@ module FalaAI
|
|
|
604
230
|
# Calculates hash code according to all attributes.
|
|
605
231
|
# @return [Integer] Hash code
|
|
606
232
|
def hash
|
|
607
|
-
[turn, interlocutor, role,
|
|
233
|
+
[turn, interlocutor, role, timestamp_formatted, term_text, category_label, subcategory_label, criticality, status, reason, final_score, violated_frameworks].hash
|
|
608
234
|
end
|
|
609
235
|
|
|
610
236
|
# 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.67
|
|
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.67
|
|
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.67
|
|
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.67
|
|
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.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|