graphlit-client 1.0.20250306001__py3-none-any.whl → 1.0.20250313001__py3-none-any.whl
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.
- graphlit_api/__init__.py +105 -0
- graphlit_api/client.py +24 -0
- graphlit_api/create_workflow.py +72 -0
- graphlit_api/enums.py +17 -0
- graphlit_api/get_alert.py +7 -0
- graphlit_api/get_user.py +7 -0
- graphlit_api/get_workflow.py +62 -0
- graphlit_api/input_types.py +54 -0
- graphlit_api/lookup_credits.py +1 -0
- graphlit_api/operations.py +155 -0
- graphlit_api/query_alerts.py +7 -0
- graphlit_api/query_credits.py +1 -0
- graphlit_api/query_users.py +7 -0
- graphlit_api/query_workflows.py +72 -0
- graphlit_api/send_notification.py +21 -0
- graphlit_api/update_workflow.py +72 -0
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/RECORD +21 -20
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/WHEEL +1 -1
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/LICENSE +0 -0
- {graphlit_client-1.0.20250306001.dist-info → graphlit_client-1.0.20250313001.dist-info}/top_level.txt +0 -0
graphlit_api/get_workflow.py
CHANGED
@@ -10,6 +10,7 @@ from .enums import (
|
|
10
10
|
AssemblyAIModels,
|
11
11
|
AzureDocumentIntelligenceModels,
|
12
12
|
AzureDocumentIntelligenceVersions,
|
13
|
+
ContentClassificationServiceTypes,
|
13
14
|
ContentIndexingServiceTypes,
|
14
15
|
ContentTypes,
|
15
16
|
DeepgramModels,
|
@@ -21,6 +22,7 @@ from .enums import (
|
|
21
22
|
IntegrationServiceTypes,
|
22
23
|
LinkTypes,
|
23
24
|
ObservableTypes,
|
25
|
+
RegexSourceTypes,
|
24
26
|
StoragePolicyTypes,
|
25
27
|
SummarizationTypes,
|
26
28
|
)
|
@@ -41,6 +43,7 @@ class GetWorkflowWorkflow(BaseModel):
|
|
41
43
|
indexing: Optional["GetWorkflowWorkflowIndexing"]
|
42
44
|
preparation: Optional["GetWorkflowWorkflowPreparation"]
|
43
45
|
extraction: Optional["GetWorkflowWorkflowExtraction"]
|
46
|
+
classification: Optional["GetWorkflowWorkflowClassification"]
|
44
47
|
enrichment: Optional["GetWorkflowWorkflowEnrichment"]
|
45
48
|
storage: Optional["GetWorkflowWorkflowStorage"]
|
46
49
|
actions: Optional[List[Optional["GetWorkflowWorkflowActions"]]]
|
@@ -238,6 +241,53 @@ class GetWorkflowWorkflowExtractionJobsConnectorModelTextSpecification(BaseModel
|
|
238
241
|
id: str
|
239
242
|
|
240
243
|
|
244
|
+
class GetWorkflowWorkflowClassification(BaseModel):
|
245
|
+
jobs: Optional[List[Optional["GetWorkflowWorkflowClassificationJobs"]]]
|
246
|
+
|
247
|
+
|
248
|
+
class GetWorkflowWorkflowClassificationJobs(BaseModel):
|
249
|
+
connector: Optional["GetWorkflowWorkflowClassificationJobsConnector"]
|
250
|
+
|
251
|
+
|
252
|
+
class GetWorkflowWorkflowClassificationJobsConnector(BaseModel):
|
253
|
+
type: ContentClassificationServiceTypes
|
254
|
+
content_type: Optional[ContentTypes] = Field(alias="contentType")
|
255
|
+
file_type: Optional[FileTypes] = Field(alias="fileType")
|
256
|
+
model: Optional["GetWorkflowWorkflowClassificationJobsConnectorModel"]
|
257
|
+
regex: Optional["GetWorkflowWorkflowClassificationJobsConnectorRegex"]
|
258
|
+
|
259
|
+
|
260
|
+
class GetWorkflowWorkflowClassificationJobsConnectorModel(BaseModel):
|
261
|
+
specification: Optional[
|
262
|
+
"GetWorkflowWorkflowClassificationJobsConnectorModelSpecification"
|
263
|
+
]
|
264
|
+
rules: Optional[
|
265
|
+
List[Optional["GetWorkflowWorkflowClassificationJobsConnectorModelRules"]]
|
266
|
+
]
|
267
|
+
|
268
|
+
|
269
|
+
class GetWorkflowWorkflowClassificationJobsConnectorModelSpecification(BaseModel):
|
270
|
+
id: str
|
271
|
+
|
272
|
+
|
273
|
+
class GetWorkflowWorkflowClassificationJobsConnectorModelRules(BaseModel):
|
274
|
+
then: Optional[str]
|
275
|
+
if_: Optional[str] = Field(alias="if")
|
276
|
+
|
277
|
+
|
278
|
+
class GetWorkflowWorkflowClassificationJobsConnectorRegex(BaseModel):
|
279
|
+
rules: Optional[
|
280
|
+
List[Optional["GetWorkflowWorkflowClassificationJobsConnectorRegexRules"]]
|
281
|
+
]
|
282
|
+
|
283
|
+
|
284
|
+
class GetWorkflowWorkflowClassificationJobsConnectorRegexRules(BaseModel):
|
285
|
+
then: Optional[str]
|
286
|
+
type: Optional[RegexSourceTypes]
|
287
|
+
path: Optional[str]
|
288
|
+
matches: Optional[str]
|
289
|
+
|
290
|
+
|
241
291
|
class GetWorkflowWorkflowEnrichment(BaseModel):
|
242
292
|
link: Optional["GetWorkflowWorkflowEnrichmentLink"]
|
243
293
|
jobs: Optional[List[Optional["GetWorkflowWorkflowEnrichmentJobs"]]]
|
@@ -295,6 +345,7 @@ class GetWorkflowWorkflowActionsConnector(BaseModel):
|
|
295
345
|
type: IntegrationServiceTypes
|
296
346
|
uri: Optional[str]
|
297
347
|
slack: Optional["GetWorkflowWorkflowActionsConnectorSlack"]
|
348
|
+
email: Optional["GetWorkflowWorkflowActionsConnectorEmail"]
|
298
349
|
|
299
350
|
|
300
351
|
class GetWorkflowWorkflowActionsConnectorSlack(BaseModel):
|
@@ -302,6 +353,12 @@ class GetWorkflowWorkflowActionsConnectorSlack(BaseModel):
|
|
302
353
|
channel: str
|
303
354
|
|
304
355
|
|
356
|
+
class GetWorkflowWorkflowActionsConnectorEmail(BaseModel):
|
357
|
+
from_: str = Field(alias="from")
|
358
|
+
subject: str
|
359
|
+
to: List[str]
|
360
|
+
|
361
|
+
|
305
362
|
GetWorkflow.model_rebuild()
|
306
363
|
GetWorkflowWorkflow.model_rebuild()
|
307
364
|
GetWorkflowWorkflowIngestion.model_rebuild()
|
@@ -318,6 +375,11 @@ GetWorkflowWorkflowExtractionJobs.model_rebuild()
|
|
318
375
|
GetWorkflowWorkflowExtractionJobsConnector.model_rebuild()
|
319
376
|
GetWorkflowWorkflowExtractionJobsConnectorModelImage.model_rebuild()
|
320
377
|
GetWorkflowWorkflowExtractionJobsConnectorModelText.model_rebuild()
|
378
|
+
GetWorkflowWorkflowClassification.model_rebuild()
|
379
|
+
GetWorkflowWorkflowClassificationJobs.model_rebuild()
|
380
|
+
GetWorkflowWorkflowClassificationJobsConnector.model_rebuild()
|
381
|
+
GetWorkflowWorkflowClassificationJobsConnectorModel.model_rebuild()
|
382
|
+
GetWorkflowWorkflowClassificationJobsConnectorRegex.model_rebuild()
|
321
383
|
GetWorkflowWorkflowEnrichment.model_rebuild()
|
322
384
|
GetWorkflowWorkflowEnrichmentJobs.model_rebuild()
|
323
385
|
GetWorkflowWorkflowEnrichmentJobsConnector.model_rebuild()
|
graphlit_api/input_types.py
CHANGED
@@ -19,6 +19,7 @@ from .enums import (
|
|
19
19
|
CohereModels,
|
20
20
|
CollectionTypes,
|
21
21
|
ConnectorTypes,
|
22
|
+
ContentClassificationServiceTypes,
|
22
23
|
ContentFacetTypes,
|
23
24
|
ContentIndexingServiceTypes,
|
24
25
|
ContentPublishingFormats,
|
@@ -84,6 +85,7 @@ from .enums import (
|
|
84
85
|
PolicyTimeTypes,
|
85
86
|
ProductFacetTypes,
|
86
87
|
PromptStrategyTypes,
|
88
|
+
RegexSourceTypes,
|
87
89
|
ReplicateModels,
|
88
90
|
RepoFacetTypes,
|
89
91
|
RerankingModelServiceTypes,
|
@@ -359,6 +361,10 @@ class MedicalTherapyFacetInput(BaseModel):
|
|
359
361
|
facet: Optional[MedicalTherapyFacetTypes] = None
|
360
362
|
|
361
363
|
|
364
|
+
class RegexContentClassificationPropertiesInput(BaseModel):
|
365
|
+
rules: Optional[List[Optional["RegexClassificationRuleInput"]]] = None
|
366
|
+
|
367
|
+
|
362
368
|
class ProductFilter(BaseModel):
|
363
369
|
search: Optional[str] = None
|
364
370
|
order_by: Optional[OrderByTypes] = Field(alias="orderBy", default=None)
|
@@ -766,6 +772,10 @@ class H3IndexFilter(BaseModel):
|
|
766
772
|
key: Optional[str] = None
|
767
773
|
|
768
774
|
|
775
|
+
class ClassificationWorkflowJobInput(BaseModel):
|
776
|
+
connector: Optional["ContentClassificationConnectorInput"] = None
|
777
|
+
|
778
|
+
|
769
779
|
class ModelFilter(BaseModel):
|
770
780
|
types: Optional[List[Optional[ModelTypes]]] = None
|
771
781
|
service_types: Optional[List[Optional[ModelServiceTypes]]] = Field(
|
@@ -986,6 +996,7 @@ class GoogleDriveFeedPropertiesInput(BaseModel):
|
|
986
996
|
class IntegrationConnectorUpdateInput(BaseModel):
|
987
997
|
uri: Optional[str] = None
|
988
998
|
slack: Optional["SlackIntegrationPropertiesInput"] = None
|
999
|
+
email: Optional["EmailIntegrationPropertiesInput"] = None
|
989
1000
|
|
990
1001
|
|
991
1002
|
class MedicalDeviceFilter(BaseModel):
|
@@ -1051,6 +1062,11 @@ class AzureFileFeedPropertiesUpdateInput(BaseModel):
|
|
1051
1062
|
prefix: Optional[str] = None
|
1052
1063
|
|
1053
1064
|
|
1065
|
+
class PromptClassificationRuleInput(BaseModel):
|
1066
|
+
if_: Optional[str] = Field(alias="if", default=None)
|
1067
|
+
then: Optional[str] = None
|
1068
|
+
|
1069
|
+
|
1054
1070
|
class ProjectInput(BaseModel):
|
1055
1071
|
name: str
|
1056
1072
|
environment_type: EnvironmentTypes = Field(alias="environmentType")
|
@@ -1155,6 +1171,7 @@ class IntegrationConnectorInput(BaseModel):
|
|
1155
1171
|
type: IntegrationServiceTypes
|
1156
1172
|
uri: Optional[str] = None
|
1157
1173
|
slack: Optional["SlackIntegrationPropertiesInput"] = None
|
1174
|
+
email: Optional["EmailIntegrationPropertiesInput"] = None
|
1158
1175
|
|
1159
1176
|
|
1160
1177
|
class SummarizationStrategyInput(BaseModel):
|
@@ -1266,6 +1283,13 @@ class PointInput(BaseModel):
|
|
1266
1283
|
distance: Optional[float] = None
|
1267
1284
|
|
1268
1285
|
|
1286
|
+
class RegexClassificationRuleInput(BaseModel):
|
1287
|
+
type: Optional[RegexSourceTypes] = None
|
1288
|
+
path: Optional[str] = None
|
1289
|
+
matches: Optional[str] = None
|
1290
|
+
then: Optional[str] = None
|
1291
|
+
|
1292
|
+
|
1269
1293
|
class ContentPublishingConnectorInput(BaseModel):
|
1270
1294
|
type: ContentPublishingServiceTypes
|
1271
1295
|
format: ContentPublishingFormats
|
@@ -1464,6 +1488,10 @@ class EventFilter(BaseModel):
|
|
1464
1488
|
events: Optional[List["EntityReferenceFilter"]] = None
|
1465
1489
|
|
1466
1490
|
|
1491
|
+
class ClassificationWorkflowStageInput(BaseModel):
|
1492
|
+
jobs: Optional[List[Optional["ClassificationWorkflowJobInput"]]] = None
|
1493
|
+
|
1494
|
+
|
1467
1495
|
class RepoInput(BaseModel):
|
1468
1496
|
name: str
|
1469
1497
|
uri: Optional[Any] = None
|
@@ -2162,6 +2190,11 @@ class SiteFeedPropertiesInput(BaseModel):
|
|
2162
2190
|
read_limit: Optional[int] = Field(alias="readLimit", default=None)
|
2163
2191
|
|
2164
2192
|
|
2193
|
+
class ModelContentClassificationPropertiesInput(BaseModel):
|
2194
|
+
specification: Optional["EntityReferenceInput"] = None
|
2195
|
+
rules: Optional[List[Optional["PromptClassificationRuleInput"]]] = None
|
2196
|
+
|
2197
|
+
|
2165
2198
|
class DropboxFeedPropertiesUpdateInput(BaseModel):
|
2166
2199
|
path: Optional[str] = None
|
2167
2200
|
app_key: Optional[str] = Field(alias="appKey", default=None)
|
@@ -2178,6 +2211,14 @@ class RepoFacetInput(BaseModel):
|
|
2178
2211
|
facet: Optional[RepoFacetTypes] = None
|
2179
2212
|
|
2180
2213
|
|
2214
|
+
class ContentClassificationConnectorInput(BaseModel):
|
2215
|
+
type: Optional[ContentClassificationServiceTypes] = None
|
2216
|
+
content_type: Optional[ContentTypes] = Field(alias="contentType", default=None)
|
2217
|
+
file_type: Optional[FileTypes] = Field(alias="fileType", default=None)
|
2218
|
+
model: Optional["ModelContentClassificationPropertiesInput"] = None
|
2219
|
+
regex: Optional["RegexContentClassificationPropertiesInput"] = None
|
2220
|
+
|
2221
|
+
|
2181
2222
|
class EnrichmentWorkflowStageInput(BaseModel):
|
2182
2223
|
link: Optional["LinkStrategyInput"] = None
|
2183
2224
|
jobs: Optional[List[Optional["EnrichmentWorkflowJobInput"]]] = None
|
@@ -2623,6 +2664,12 @@ class RevisionStrategyInput(BaseModel):
|
|
2623
2664
|
count: Optional[int] = None
|
2624
2665
|
|
2625
2666
|
|
2667
|
+
class EmailIntegrationPropertiesInput(BaseModel):
|
2668
|
+
subject: str
|
2669
|
+
from_: str = Field(alias="from")
|
2670
|
+
to: List[str]
|
2671
|
+
|
2672
|
+
|
2626
2673
|
class ConversationUpdateInput(BaseModel):
|
2627
2674
|
id: str
|
2628
2675
|
name: Optional[str] = None
|
@@ -2667,6 +2714,7 @@ class WorkflowUpdateInput(BaseModel):
|
|
2667
2714
|
preparation: Optional["PreparationWorkflowStageInput"] = None
|
2668
2715
|
extraction: Optional["ExtractionWorkflowStageInput"] = None
|
2669
2716
|
enrichment: Optional["EnrichmentWorkflowStageInput"] = None
|
2717
|
+
classification: Optional["ClassificationWorkflowStageInput"] = None
|
2670
2718
|
storage: Optional["StorageWorkflowStageInput"] = None
|
2671
2719
|
actions: Optional[List[Optional["WorkflowActionInput"]]] = None
|
2672
2720
|
|
@@ -2876,6 +2924,7 @@ class WorkflowInput(BaseModel):
|
|
2876
2924
|
preparation: Optional["PreparationWorkflowStageInput"] = None
|
2877
2925
|
extraction: Optional["ExtractionWorkflowStageInput"] = None
|
2878
2926
|
enrichment: Optional["EnrichmentWorkflowStageInput"] = None
|
2927
|
+
classification: Optional["ClassificationWorkflowStageInput"] = None
|
2879
2928
|
storage: Optional["StorageWorkflowStageInput"] = None
|
2880
2929
|
actions: Optional[List[Optional["WorkflowActionInput"]]] = None
|
2881
2930
|
|
@@ -3459,6 +3508,7 @@ StorageWorkflowStageInput.model_rebuild()
|
|
3459
3508
|
WorkflowFilter.model_rebuild()
|
3460
3509
|
MedicalIndicationInput.model_rebuild()
|
3461
3510
|
UserFilter.model_rebuild()
|
3511
|
+
RegexContentClassificationPropertiesInput.model_rebuild()
|
3462
3512
|
ProductFilter.model_rebuild()
|
3463
3513
|
EnrichmentWorkflowJobInput.model_rebuild()
|
3464
3514
|
ContentUpdateInput.model_rebuild()
|
@@ -3472,6 +3522,7 @@ EmbeddingsStrategyInput.model_rebuild()
|
|
3472
3522
|
ConnectorFilter.model_rebuild()
|
3473
3523
|
ProjectUpdateInput.model_rebuild()
|
3474
3524
|
MedicalStudyFilter.model_rebuild()
|
3525
|
+
ClassificationWorkflowJobInput.model_rebuild()
|
3475
3526
|
CollectionUpdateInput.model_rebuild()
|
3476
3527
|
SpecificationInput.model_rebuild()
|
3477
3528
|
PackageMetadataInput.model_rebuild()
|
@@ -3503,6 +3554,7 @@ AudioMetadataInput.model_rebuild()
|
|
3503
3554
|
SpecificationUpdateInput.model_rebuild()
|
3504
3555
|
ContentPublishingConnectorUpdateInput.model_rebuild()
|
3505
3556
|
EventFilter.model_rebuild()
|
3557
|
+
ClassificationWorkflowStageInput.model_rebuild()
|
3506
3558
|
ObservationReferenceFilter.model_rebuild()
|
3507
3559
|
MedicalGuidelineFilter.model_rebuild()
|
3508
3560
|
EmailFeedPropertiesInput.model_rebuild()
|
@@ -3531,6 +3583,8 @@ MedicalDrugUpdateInput.model_rebuild()
|
|
3531
3583
|
PersonInput.model_rebuild()
|
3532
3584
|
SoftwareFilter.model_rebuild()
|
3533
3585
|
SiteFeedPropertiesInput.model_rebuild()
|
3586
|
+
ModelContentClassificationPropertiesInput.model_rebuild()
|
3587
|
+
ContentClassificationConnectorInput.model_rebuild()
|
3534
3588
|
EnrichmentWorkflowStageInput.model_rebuild()
|
3535
3589
|
PersonFilter.model_rebuild()
|
3536
3590
|
FeedFilter.model_rebuild()
|
graphlit_api/lookup_credits.py
CHANGED
@@ -26,6 +26,7 @@ class LookupCreditsLookupCredits(BaseModel):
|
|
26
26
|
indexing_ratio: Optional[Any] = Field(alias="indexingRatio")
|
27
27
|
preparation_ratio: Optional[Any] = Field(alias="preparationRatio")
|
28
28
|
extraction_ratio: Optional[Any] = Field(alias="extractionRatio")
|
29
|
+
classification_ratio: Optional[Any] = Field(alias="classificationRatio")
|
29
30
|
enrichment_ratio: Optional[Any] = Field(alias="enrichmentRatio")
|
30
31
|
publishing_ratio: Optional[Any] = Field(alias="publishingRatio")
|
31
32
|
search_ratio: Optional[Any] = Field(alias="searchRatio")
|
graphlit_api/operations.py
CHANGED
@@ -252,6 +252,7 @@ __all__ = [
|
|
252
252
|
"REVISE_TEXT_GQL",
|
253
253
|
"SCREENSHOT_PAGE_GQL",
|
254
254
|
"SEARCH_WEB_GQL",
|
255
|
+
"SEND_NOTIFICATION_GQL",
|
255
256
|
"SUGGEST_CONVERSATION_GQL",
|
256
257
|
"SUMMARIZE_CONTENTS_GQL",
|
257
258
|
"SUMMARIZE_TEXT_GQL",
|
@@ -455,6 +456,11 @@ query GetAlert($id: ID!, $correlationId: String) {
|
|
455
456
|
token
|
456
457
|
channel
|
457
458
|
}
|
459
|
+
email {
|
460
|
+
from
|
461
|
+
subject
|
462
|
+
to
|
463
|
+
}
|
458
464
|
}
|
459
465
|
publishing {
|
460
466
|
type
|
@@ -575,6 +581,11 @@ query QueryAlerts($filter: AlertFilter, $correlationId: String) {
|
|
575
581
|
token
|
576
582
|
channel
|
577
583
|
}
|
584
|
+
email {
|
585
|
+
from
|
586
|
+
subject
|
587
|
+
to
|
588
|
+
}
|
578
589
|
}
|
579
590
|
publishing {
|
580
591
|
type
|
@@ -7470,6 +7481,14 @@ mutation UpdateMedicalTherapy($medicalTherapy: MedicalTherapyUpdateInput!) {
|
|
7470
7481
|
}
|
7471
7482
|
"""
|
7472
7483
|
|
7484
|
+
SEND_NOTIFICATION_GQL = """
|
7485
|
+
mutation SendNotification($connector: IntegrationConnectorInput!, $text: String!, $textType: TextTypes) {
|
7486
|
+
sendNotification(connector: $connector, text: $text, textType: $textType) {
|
7487
|
+
result
|
7488
|
+
}
|
7489
|
+
}
|
7490
|
+
"""
|
7491
|
+
|
7473
7492
|
CREATE_OBSERVATION_GQL = """
|
7474
7493
|
mutation CreateObservation($observation: ObservationInput!) {
|
7475
7494
|
createObservation(observation: $observation) {
|
@@ -8015,6 +8034,7 @@ query LookupCredits($correlationId: String!) {
|
|
8015
8034
|
indexingRatio
|
8016
8035
|
preparationRatio
|
8017
8036
|
extractionRatio
|
8037
|
+
classificationRatio
|
8018
8038
|
enrichmentRatio
|
8019
8039
|
publishingRatio
|
8020
8040
|
searchRatio
|
@@ -8074,6 +8094,7 @@ query QueryCredits($startDate: DateTime!, $duration: TimeSpan!) {
|
|
8074
8094
|
indexingRatio
|
8075
8095
|
preparationRatio
|
8076
8096
|
extractionRatio
|
8097
|
+
classificationRatio
|
8077
8098
|
enrichmentRatio
|
8078
8099
|
publishingRatio
|
8079
8100
|
searchRatio
|
@@ -9023,6 +9044,11 @@ query GetUser {
|
|
9023
9044
|
token
|
9024
9045
|
channel
|
9025
9046
|
}
|
9047
|
+
email {
|
9048
|
+
from
|
9049
|
+
subject
|
9050
|
+
to
|
9051
|
+
}
|
9026
9052
|
}
|
9027
9053
|
}
|
9028
9054
|
}
|
@@ -9067,6 +9093,11 @@ query QueryUsers($filter: UserFilter, $correlationId: String) {
|
|
9067
9093
|
token
|
9068
9094
|
channel
|
9069
9095
|
}
|
9096
|
+
email {
|
9097
|
+
from
|
9098
|
+
subject
|
9099
|
+
to
|
9100
|
+
}
|
9070
9101
|
}
|
9071
9102
|
}
|
9072
9103
|
}
|
@@ -9210,6 +9241,32 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
|
|
9210
9241
|
}
|
9211
9242
|
}
|
9212
9243
|
}
|
9244
|
+
classification {
|
9245
|
+
jobs {
|
9246
|
+
connector {
|
9247
|
+
type
|
9248
|
+
contentType
|
9249
|
+
fileType
|
9250
|
+
model {
|
9251
|
+
specification {
|
9252
|
+
id
|
9253
|
+
}
|
9254
|
+
rules {
|
9255
|
+
then
|
9256
|
+
if
|
9257
|
+
}
|
9258
|
+
}
|
9259
|
+
regex {
|
9260
|
+
rules {
|
9261
|
+
then
|
9262
|
+
type
|
9263
|
+
path
|
9264
|
+
matches
|
9265
|
+
}
|
9266
|
+
}
|
9267
|
+
}
|
9268
|
+
}
|
9269
|
+
}
|
9213
9270
|
enrichment {
|
9214
9271
|
link {
|
9215
9272
|
enableCrawling
|
@@ -9251,6 +9308,11 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
|
|
9251
9308
|
token
|
9252
9309
|
channel
|
9253
9310
|
}
|
9311
|
+
email {
|
9312
|
+
from
|
9313
|
+
subject
|
9314
|
+
to
|
9315
|
+
}
|
9254
9316
|
}
|
9255
9317
|
}
|
9256
9318
|
}
|
@@ -9409,6 +9471,32 @@ query GetWorkflow($id: ID!, $correlationId: String) {
|
|
9409
9471
|
}
|
9410
9472
|
}
|
9411
9473
|
}
|
9474
|
+
classification {
|
9475
|
+
jobs {
|
9476
|
+
connector {
|
9477
|
+
type
|
9478
|
+
contentType
|
9479
|
+
fileType
|
9480
|
+
model {
|
9481
|
+
specification {
|
9482
|
+
id
|
9483
|
+
}
|
9484
|
+
rules {
|
9485
|
+
then
|
9486
|
+
if
|
9487
|
+
}
|
9488
|
+
}
|
9489
|
+
regex {
|
9490
|
+
rules {
|
9491
|
+
then
|
9492
|
+
type
|
9493
|
+
path
|
9494
|
+
matches
|
9495
|
+
}
|
9496
|
+
}
|
9497
|
+
}
|
9498
|
+
}
|
9499
|
+
}
|
9412
9500
|
enrichment {
|
9413
9501
|
link {
|
9414
9502
|
enableCrawling
|
@@ -9450,6 +9538,11 @@ query GetWorkflow($id: ID!, $correlationId: String) {
|
|
9450
9538
|
token
|
9451
9539
|
channel
|
9452
9540
|
}
|
9541
|
+
email {
|
9542
|
+
from
|
9543
|
+
subject
|
9544
|
+
to
|
9545
|
+
}
|
9453
9546
|
}
|
9454
9547
|
}
|
9455
9548
|
}
|
@@ -9578,6 +9671,32 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
|
9578
9671
|
}
|
9579
9672
|
}
|
9580
9673
|
}
|
9674
|
+
classification {
|
9675
|
+
jobs {
|
9676
|
+
connector {
|
9677
|
+
type
|
9678
|
+
contentType
|
9679
|
+
fileType
|
9680
|
+
model {
|
9681
|
+
specification {
|
9682
|
+
id
|
9683
|
+
}
|
9684
|
+
rules {
|
9685
|
+
then
|
9686
|
+
if
|
9687
|
+
}
|
9688
|
+
}
|
9689
|
+
regex {
|
9690
|
+
rules {
|
9691
|
+
then
|
9692
|
+
type
|
9693
|
+
path
|
9694
|
+
matches
|
9695
|
+
}
|
9696
|
+
}
|
9697
|
+
}
|
9698
|
+
}
|
9699
|
+
}
|
9581
9700
|
enrichment {
|
9582
9701
|
link {
|
9583
9702
|
enableCrawling
|
@@ -9619,6 +9738,11 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
|
9619
9738
|
token
|
9620
9739
|
channel
|
9621
9740
|
}
|
9741
|
+
email {
|
9742
|
+
from
|
9743
|
+
subject
|
9744
|
+
to
|
9745
|
+
}
|
9622
9746
|
}
|
9623
9747
|
}
|
9624
9748
|
}
|
@@ -9742,6 +9866,32 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
|
|
9742
9866
|
}
|
9743
9867
|
}
|
9744
9868
|
}
|
9869
|
+
classification {
|
9870
|
+
jobs {
|
9871
|
+
connector {
|
9872
|
+
type
|
9873
|
+
contentType
|
9874
|
+
fileType
|
9875
|
+
model {
|
9876
|
+
specification {
|
9877
|
+
id
|
9878
|
+
}
|
9879
|
+
rules {
|
9880
|
+
then
|
9881
|
+
if
|
9882
|
+
}
|
9883
|
+
}
|
9884
|
+
regex {
|
9885
|
+
rules {
|
9886
|
+
then
|
9887
|
+
type
|
9888
|
+
path
|
9889
|
+
matches
|
9890
|
+
}
|
9891
|
+
}
|
9892
|
+
}
|
9893
|
+
}
|
9894
|
+
}
|
9745
9895
|
enrichment {
|
9746
9896
|
link {
|
9747
9897
|
enableCrawling
|
@@ -9783,6 +9933,11 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
|
|
9783
9933
|
token
|
9784
9934
|
channel
|
9785
9935
|
}
|
9936
|
+
email {
|
9937
|
+
from
|
9938
|
+
subject
|
9939
|
+
to
|
9940
|
+
}
|
9786
9941
|
}
|
9787
9942
|
}
|
9788
9943
|
}
|
graphlit_api/query_alerts.py
CHANGED
@@ -186,6 +186,7 @@ class QueryAlertsAlertsResultsIntegration(BaseModel):
|
|
186
186
|
type: IntegrationServiceTypes
|
187
187
|
uri: Optional[str]
|
188
188
|
slack: Optional["QueryAlertsAlertsResultsIntegrationSlack"]
|
189
|
+
email: Optional["QueryAlertsAlertsResultsIntegrationEmail"]
|
189
190
|
|
190
191
|
|
191
192
|
class QueryAlertsAlertsResultsIntegrationSlack(BaseModel):
|
@@ -193,6 +194,12 @@ class QueryAlertsAlertsResultsIntegrationSlack(BaseModel):
|
|
193
194
|
channel: str
|
194
195
|
|
195
196
|
|
197
|
+
class QueryAlertsAlertsResultsIntegrationEmail(BaseModel):
|
198
|
+
from_: str = Field(alias="from")
|
199
|
+
subject: str
|
200
|
+
to: List[str]
|
201
|
+
|
202
|
+
|
196
203
|
class QueryAlertsAlertsResultsPublishing(BaseModel):
|
197
204
|
type: ContentPublishingServiceTypes
|
198
205
|
eleven_labs: Optional["QueryAlertsAlertsResultsPublishingElevenLabs"] = Field(
|
graphlit_api/query_credits.py
CHANGED
@@ -24,6 +24,7 @@ class QueryCreditsCredits(BaseModel):
|
|
24
24
|
indexing_ratio: Optional[Any] = Field(alias="indexingRatio")
|
25
25
|
preparation_ratio: Optional[Any] = Field(alias="preparationRatio")
|
26
26
|
extraction_ratio: Optional[Any] = Field(alias="extractionRatio")
|
27
|
+
classification_ratio: Optional[Any] = Field(alias="classificationRatio")
|
27
28
|
enrichment_ratio: Optional[Any] = Field(alias="enrichmentRatio")
|
28
29
|
publishing_ratio: Optional[Any] = Field(alias="publishingRatio")
|
29
30
|
search_ratio: Optional[Any] = Field(alias="searchRatio")
|
graphlit_api/query_users.py
CHANGED
@@ -69,6 +69,7 @@ class QueryUsersUsersResultsConnectorsIntegration(BaseModel):
|
|
69
69
|
type: IntegrationServiceTypes
|
70
70
|
uri: Optional[str]
|
71
71
|
slack: Optional["QueryUsersUsersResultsConnectorsIntegrationSlack"]
|
72
|
+
email: Optional["QueryUsersUsersResultsConnectorsIntegrationEmail"]
|
72
73
|
|
73
74
|
|
74
75
|
class QueryUsersUsersResultsConnectorsIntegrationSlack(BaseModel):
|
@@ -76,6 +77,12 @@ class QueryUsersUsersResultsConnectorsIntegrationSlack(BaseModel):
|
|
76
77
|
channel: str
|
77
78
|
|
78
79
|
|
80
|
+
class QueryUsersUsersResultsConnectorsIntegrationEmail(BaseModel):
|
81
|
+
from_: str = Field(alias="from")
|
82
|
+
subject: str
|
83
|
+
to: List[str]
|
84
|
+
|
85
|
+
|
79
86
|
QueryUsers.model_rebuild()
|
80
87
|
QueryUsersUsers.model_rebuild()
|
81
88
|
QueryUsersUsersResults.model_rebuild()
|