graphlit-client 1.0.20250531003__py3-none-any.whl → 1.0.20250612001__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.
Files changed (41) hide show
  1. graphlit_api/__init__.py +30 -0
  2. graphlit_api/ask_graphlit.py +1 -0
  3. graphlit_api/branch_conversation.py +25 -0
  4. graphlit_api/client.py +15 -0
  5. graphlit_api/complete_conversation.py +2 -0
  6. graphlit_api/continue_conversation.py +2 -0
  7. graphlit_api/create_workflow.py +14 -0
  8. graphlit_api/describe_encoded_image.py +1 -0
  9. graphlit_api/describe_image.py +1 -0
  10. graphlit_api/enums.py +27 -0
  11. graphlit_api/format_conversation.py +2 -0
  12. graphlit_api/get_content.py +24 -0
  13. graphlit_api/get_conversation.py +1 -0
  14. graphlit_api/get_workflow.py +14 -0
  15. graphlit_api/input_types.py +22 -0
  16. graphlit_api/operations.py +99 -1
  17. graphlit_api/prompt.py +1 -0
  18. graphlit_api/prompt_conversation.py +2 -0
  19. graphlit_api/prompt_specifications.py +1 -0
  20. graphlit_api/publish_contents.py +1 -0
  21. graphlit_api/publish_conversation.py +1 -0
  22. graphlit_api/publish_text.py +1 -0
  23. graphlit_api/query_alerts.py +1 -1
  24. graphlit_api/query_collections.py +1 -1
  25. graphlit_api/query_contents.py +1 -0
  26. graphlit_api/query_conversations.py +2 -1
  27. graphlit_api/query_feeds.py +1 -1
  28. graphlit_api/query_specifications.py +1 -1
  29. graphlit_api/query_users.py +1 -1
  30. graphlit_api/query_workflows.py +15 -1
  31. graphlit_api/revise_content.py +1 -0
  32. graphlit_api/revise_encoded_image.py +1 -0
  33. graphlit_api/revise_image.py +1 -0
  34. graphlit_api/revise_text.py +1 -0
  35. graphlit_api/update_workflow.py +14 -0
  36. graphlit_api/upsert_workflow.py +14 -0
  37. {graphlit_client-1.0.20250531003.dist-info → graphlit_client-1.0.20250612001.dist-info}/METADATA +1 -1
  38. {graphlit_client-1.0.20250531003.dist-info → graphlit_client-1.0.20250612001.dist-info}/RECORD +41 -40
  39. {graphlit_client-1.0.20250531003.dist-info → graphlit_client-1.0.20250612001.dist-info}/WHEEL +0 -0
  40. {graphlit_client-1.0.20250531003.dist-info → graphlit_client-1.0.20250612001.dist-info}/licenses/LICENSE +0 -0
  41. {graphlit_client-1.0.20250531003.dist-info → graphlit_client-1.0.20250612001.dist-info}/top_level.txt +0 -0
@@ -4,6 +4,7 @@
4
4
  __all__ = [
5
5
  "ADD_CONTENTS_TO_COLLECTIONS_GQL",
6
6
  "ASK_GRAPHLIT_GQL",
7
+ "BRANCH_CONVERSATION_GQL",
7
8
  "CLEAR_CONVERSATION_GQL",
8
9
  "CLOSE_CONVERSATION_GQL",
9
10
  "COMPLETE_CONVERSATION_GQL",
@@ -971,6 +972,7 @@ mutation DescribeEncodedImage($prompt: String!, $mimeType: String!, $data: Strin
971
972
  posts
972
973
  chapters
973
974
  questions
975
+ quotes
974
976
  video {
975
977
  width
976
978
  height
@@ -1106,6 +1108,7 @@ mutation DescribeImage($prompt: String!, $uri: URL!, $specification: EntityRefer
1106
1108
  posts
1107
1109
  chapters
1108
1110
  questions
1111
+ quotes
1109
1112
  video {
1110
1113
  width
1111
1114
  height
@@ -1282,6 +1285,28 @@ query GetContent($id: ID!, $correlationId: String) {
1282
1285
  latitude
1283
1286
  longitude
1284
1287
  }
1288
+ h3 {
1289
+ h3r0
1290
+ h3r1
1291
+ h3r2
1292
+ h3r3
1293
+ h3r4
1294
+ h3r5
1295
+ h3r6
1296
+ h3r7
1297
+ h3r8
1298
+ h3r9
1299
+ h3r10
1300
+ h3r11
1301
+ h3r12
1302
+ h3r13
1303
+ h3r14
1304
+ h3r15
1305
+ }
1306
+ boundary
1307
+ epsgCode
1308
+ path
1309
+ features
1285
1310
  c4id
1286
1311
  type
1287
1312
  fileType
@@ -1951,6 +1976,7 @@ mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $conne
1951
1976
  posts
1952
1977
  chapters
1953
1978
  questions
1979
+ quotes
1954
1980
  video {
1955
1981
  width
1956
1982
  height
@@ -2076,6 +2102,7 @@ mutation PublishText($text: String!, $textType: TextTypes, $connector: ContentPu
2076
2102
  posts
2077
2103
  chapters
2078
2104
  questions
2105
+ quotes
2079
2106
  video {
2080
2107
  width
2081
2108
  height
@@ -2208,6 +2235,7 @@ query QueryContents($filter: ContentFilter, $correlationId: String) {
2208
2235
  posts
2209
2236
  chapters
2210
2237
  questions
2238
+ quotes
2211
2239
  video {
2212
2240
  width
2213
2241
  height
@@ -2651,6 +2679,7 @@ mutation AskGraphlit($prompt: String!, $type: SdkTypes, $id: ID, $specification:
2651
2679
  posts
2652
2680
  chapters
2653
2681
  questions
2682
+ quotes
2654
2683
  video {
2655
2684
  width
2656
2685
  height
@@ -2748,6 +2777,17 @@ mutation AskGraphlit($prompt: String!, $type: SdkTypes, $id: ID, $specification:
2748
2777
  }
2749
2778
  """
2750
2779
 
2780
+ BRANCH_CONVERSATION_GQL = """
2781
+ mutation BranchConversation($id: ID!) {
2782
+ branchConversation(id: $id) {
2783
+ id
2784
+ name
2785
+ state
2786
+ type
2787
+ }
2788
+ }
2789
+ """
2790
+
2751
2791
  CLEAR_CONVERSATION_GQL = """
2752
2792
  mutation ClearConversation($id: ID!) {
2753
2793
  clearConversation(id: $id) {
@@ -2813,6 +2853,7 @@ mutation CompleteConversation($completion: String!, $id: ID!, $correlationId: St
2813
2853
  posts
2814
2854
  chapters
2815
2855
  questions
2856
+ quotes
2816
2857
  video {
2817
2858
  width
2818
2859
  height
@@ -2990,6 +3031,7 @@ mutation CompleteConversation($completion: String!, $id: ID!, $correlationId: St
2990
3031
  posts
2991
3032
  chapters
2992
3033
  questions
3034
+ quotes
2993
3035
  video {
2994
3036
  width
2995
3037
  height
@@ -3130,6 +3172,7 @@ mutation ContinueConversation($id: ID!, $responses: [ConversationToolResponseInp
3130
3172
  posts
3131
3173
  chapters
3132
3174
  questions
3175
+ quotes
3133
3176
  video {
3134
3177
  width
3135
3178
  height
@@ -3307,6 +3350,7 @@ mutation ContinueConversation($id: ID!, $responses: [ConversationToolResponseInp
3307
3350
  posts
3308
3351
  chapters
3309
3352
  questions
3353
+ quotes
3310
3354
  video {
3311
3355
  width
3312
3356
  height
@@ -3455,11 +3499,12 @@ mutation DeleteConversations($ids: [ID!]!, $isSynchronous: Boolean) {
3455
3499
  """
3456
3500
 
3457
3501
  FORMAT_CONVERSATION_GQL = """
3458
- mutation FormatConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $includeDetails: Boolean, $correlationId: String) {
3502
+ mutation FormatConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $includeDetails: Boolean, $correlationId: String) {
3459
3503
  formatConversation(
3460
3504
  prompt: $prompt
3461
3505
  id: $id
3462
3506
  specification: $specification
3507
+ tools: $tools
3463
3508
  includeDetails: $includeDetails
3464
3509
  correlationId: $correlationId
3465
3510
  ) {
@@ -3499,6 +3544,7 @@ mutation FormatConversation($prompt: String!, $id: ID, $specification: EntityRef
3499
3544
  posts
3500
3545
  chapters
3501
3546
  questions
3547
+ quotes
3502
3548
  video {
3503
3549
  width
3504
3550
  height
@@ -3676,6 +3722,7 @@ mutation FormatConversation($prompt: String!, $id: ID, $specification: EntityRef
3676
3722
  posts
3677
3723
  chapters
3678
3724
  questions
3725
+ quotes
3679
3726
  video {
3680
3727
  width
3681
3728
  height
@@ -3819,6 +3866,7 @@ query GetConversation($id: ID!, $correlationId: String) {
3819
3866
  posts
3820
3867
  chapters
3821
3868
  questions
3869
+ quotes
3822
3870
  video {
3823
3871
  width
3824
3872
  height
@@ -4135,6 +4183,7 @@ mutation Prompt($prompt: String, $mimeType: String, $data: String, $specificatio
4135
4183
  posts
4136
4184
  chapters
4137
4185
  questions
4186
+ quotes
4138
4187
  video {
4139
4188
  width
4140
4189
  height
@@ -4281,6 +4330,7 @@ mutation PromptConversation($prompt: String!, $mimeType: String, $data: String,
4281
4330
  posts
4282
4331
  chapters
4283
4332
  questions
4333
+ quotes
4284
4334
  video {
4285
4335
  width
4286
4336
  height
@@ -4458,6 +4508,7 @@ mutation PromptConversation($prompt: String!, $mimeType: String, $data: String,
4458
4508
  posts
4459
4509
  chapters
4460
4510
  questions
4511
+ quotes
4461
4512
  video {
4462
4513
  width
4463
4514
  height
@@ -4594,6 +4645,7 @@ mutation PublishConversation($id: ID!, $connector: ContentPublishingConnectorInp
4594
4645
  posts
4595
4646
  chapters
4596
4647
  questions
4648
+ quotes
4597
4649
  video {
4598
4650
  width
4599
4651
  height
@@ -4726,6 +4778,7 @@ query QueryConversations($filter: ConversationFilter, $correlationId: String) {
4726
4778
  posts
4727
4779
  chapters
4728
4780
  questions
4781
+ quotes
4729
4782
  video {
4730
4783
  width
4731
4784
  height
@@ -5069,6 +5122,7 @@ mutation ReviseContent($prompt: String!, $content: EntityReferenceInput!, $id: I
5069
5122
  posts
5070
5123
  chapters
5071
5124
  questions
5125
+ quotes
5072
5126
  video {
5073
5127
  width
5074
5128
  height
@@ -5212,6 +5266,7 @@ mutation ReviseEncodedImage($prompt: String!, $mimeType: String!, $data: String!
5212
5266
  posts
5213
5267
  chapters
5214
5268
  questions
5269
+ quotes
5215
5270
  video {
5216
5271
  width
5217
5272
  height
@@ -5354,6 +5409,7 @@ mutation ReviseImage($prompt: String!, $uri: URL!, $id: ID, $specification: Enti
5354
5409
  posts
5355
5410
  chapters
5356
5411
  questions
5412
+ quotes
5357
5413
  video {
5358
5414
  width
5359
5415
  height
@@ -5496,6 +5552,7 @@ mutation ReviseText($prompt: String!, $text: String!, $id: ID, $specification: E
5496
5552
  posts
5497
5553
  chapters
5498
5554
  questions
5555
+ quotes
5499
5556
  video {
5500
5557
  width
5501
5558
  height
@@ -8728,6 +8785,7 @@ mutation PromptSpecifications($prompt: String!, $ids: [ID!]!) {
8728
8785
  posts
8729
8786
  chapters
8730
8787
  questions
8788
+ quotes
8731
8789
  video {
8732
8790
  width
8733
8791
  height
@@ -9406,6 +9464,14 @@ mutation CreateWorkflow($workflow: WorkflowInput!) {
9406
9464
  id
9407
9465
  }
9408
9466
  }
9467
+ reducto {
9468
+ ocrMode
9469
+ ocrSystem
9470
+ extractionMode
9471
+ enableEnrichment
9472
+ enrichmentMode
9473
+ key
9474
+ }
9409
9475
  mistral {
9410
9476
  key
9411
9477
  }
@@ -9648,6 +9714,14 @@ query GetWorkflow($id: ID!, $correlationId: String) {
9648
9714
  id
9649
9715
  }
9650
9716
  }
9717
+ reducto {
9718
+ ocrMode
9719
+ ocrSystem
9720
+ extractionMode
9721
+ enableEnrichment
9722
+ enrichmentMode
9723
+ key
9724
+ }
9651
9725
  mistral {
9652
9726
  key
9653
9727
  }
@@ -9860,6 +9934,14 @@ query QueryWorkflows($filter: WorkflowFilter, $correlationId: String) {
9860
9934
  id
9861
9935
  }
9862
9936
  }
9937
+ reducto {
9938
+ ocrMode
9939
+ ocrSystem
9940
+ extractionMode
9941
+ enableEnrichment
9942
+ enrichmentMode
9943
+ key
9944
+ }
9863
9945
  mistral {
9864
9946
  key
9865
9947
  }
@@ -10067,6 +10149,14 @@ mutation UpdateWorkflow($workflow: WorkflowUpdateInput!) {
10067
10149
  id
10068
10150
  }
10069
10151
  }
10152
+ reducto {
10153
+ ocrMode
10154
+ ocrSystem
10155
+ extractionMode
10156
+ enableEnrichment
10157
+ enrichmentMode
10158
+ key
10159
+ }
10070
10160
  mistral {
10071
10161
  key
10072
10162
  }
@@ -10273,6 +10363,14 @@ mutation UpsertWorkflow($workflow: WorkflowInput!) {
10273
10363
  id
10274
10364
  }
10275
10365
  }
10366
+ reducto {
10367
+ ocrMode
10368
+ ocrSystem
10369
+ extractionMode
10370
+ enableEnrichment
10371
+ enrichmentMode
10372
+ key
10373
+ }
10276
10374
  mistral {
10277
10375
  key
10278
10376
  }
graphlit_api/prompt.py CHANGED
@@ -89,6 +89,7 @@ class PromptPromptMessagesCitationsContent(BaseModel):
89
89
  posts: Optional[List[str]]
90
90
  chapters: Optional[List[str]]
91
91
  questions: Optional[List[str]]
92
+ quotes: Optional[List[str]]
92
93
  video: Optional["PromptPromptMessagesCitationsContentVideo"]
93
94
  audio: Optional["PromptPromptMessagesCitationsContentAudio"]
94
95
  image: Optional["PromptPromptMessagesCitationsContentImage"]
@@ -100,6 +100,7 @@ class PromptConversationPromptConversationMessageCitationsContent(BaseModel):
100
100
  posts: Optional[List[str]]
101
101
  chapters: Optional[List[str]]
102
102
  questions: Optional[List[str]]
103
+ quotes: Optional[List[str]]
103
104
  video: Optional["PromptConversationPromptConversationMessageCitationsContentVideo"]
104
105
  audio: Optional["PromptConversationPromptConversationMessageCitationsContentAudio"]
105
106
  image: Optional["PromptConversationPromptConversationMessageCitationsContentImage"]
@@ -318,6 +319,7 @@ class PromptConversationPromptConversationDetailsMessagesCitationsContent(BaseMo
318
319
  posts: Optional[List[str]]
319
320
  chapters: Optional[List[str]]
320
321
  questions: Optional[List[str]]
322
+ quotes: Optional[List[str]]
321
323
  video: Optional[
322
324
  "PromptConversationPromptConversationDetailsMessagesCitationsContentVideo"
323
325
  ]
@@ -97,6 +97,7 @@ class PromptSpecificationsPromptSpecificationsMessagesCitationsContent(BaseModel
97
97
  posts: Optional[List[str]]
98
98
  chapters: Optional[List[str]]
99
99
  questions: Optional[List[str]]
100
+ quotes: Optional[List[str]]
100
101
  video: Optional[
101
102
  "PromptSpecificationsPromptSpecificationsMessagesCitationsContentVideo"
102
103
  ]
@@ -56,6 +56,7 @@ class PublishContentsPublishContentsContents(BaseModel):
56
56
  posts: Optional[List[str]]
57
57
  chapters: Optional[List[str]]
58
58
  questions: Optional[List[str]]
59
+ quotes: Optional[List[str]]
59
60
  video: Optional["PublishContentsPublishContentsContentsVideo"]
60
61
  audio: Optional["PublishContentsPublishContentsContentsAudio"]
61
62
  image: Optional["PublishContentsPublishContentsContentsImage"]
@@ -56,6 +56,7 @@ class PublishConversationPublishConversationContents(BaseModel):
56
56
  posts: Optional[List[str]]
57
57
  chapters: Optional[List[str]]
58
58
  questions: Optional[List[str]]
59
+ quotes: Optional[List[str]]
59
60
  video: Optional["PublishConversationPublishConversationContentsVideo"]
60
61
  audio: Optional["PublishConversationPublishConversationContentsAudio"]
61
62
  image: Optional["PublishConversationPublishConversationContentsImage"]
@@ -54,6 +54,7 @@ class PublishTextPublishTextContents(BaseModel):
54
54
  posts: Optional[List[str]]
55
55
  chapters: Optional[List[str]]
56
56
  questions: Optional[List[str]]
57
+ quotes: Optional[List[str]]
57
58
  video: Optional["PublishTextPublishTextContentsVideo"]
58
59
  audio: Optional["PublishTextPublishTextContentsAudio"]
59
60
  image: Optional["PublishTextPublishTextContentsImage"]
@@ -24,7 +24,7 @@ class QueryAlerts(BaseModel):
24
24
 
25
25
 
26
26
  class QueryAlertsAlerts(BaseModel):
27
- results: Optional[List[Optional["QueryAlertsAlertsResults"]]]
27
+ results: Optional[List["QueryAlertsAlertsResults"]]
28
28
 
29
29
 
30
30
  class QueryAlertsAlertsResults(BaseModel):
@@ -14,7 +14,7 @@ class QueryCollections(BaseModel):
14
14
 
15
15
 
16
16
  class QueryCollectionsCollections(BaseModel):
17
- results: Optional[List[Optional["QueryCollectionsCollectionsResults"]]]
17
+ results: Optional[List["QueryCollectionsCollectionsResults"]]
18
18
 
19
19
 
20
20
  class QueryCollectionsCollectionsResults(BaseModel):
@@ -63,6 +63,7 @@ class QueryContentsContentsResults(BaseModel):
63
63
  posts: Optional[List[str]]
64
64
  chapters: Optional[List[str]]
65
65
  questions: Optional[List[str]]
66
+ quotes: Optional[List[str]]
66
67
  video: Optional["QueryContentsContentsResultsVideo"]
67
68
  audio: Optional["QueryContentsContentsResultsAudio"]
68
69
  image: Optional["QueryContentsContentsResultsImage"]
@@ -24,7 +24,7 @@ class QueryConversations(BaseModel):
24
24
 
25
25
 
26
26
  class QueryConversationsConversations(BaseModel):
27
- results: Optional[List[Optional["QueryConversationsConversationsResults"]]]
27
+ results: Optional[List["QueryConversationsConversationsResults"]]
28
28
 
29
29
 
30
30
  class QueryConversationsConversationsResults(BaseModel):
@@ -111,6 +111,7 @@ class QueryConversationsConversationsResultsMessagesCitationsContent(BaseModel):
111
111
  posts: Optional[List[str]]
112
112
  chapters: Optional[List[str]]
113
113
  questions: Optional[List[str]]
114
+ quotes: Optional[List[str]]
114
115
  video: Optional[
115
116
  "QueryConversationsConversationsResultsMessagesCitationsContentVideo"
116
117
  ]
@@ -29,7 +29,7 @@ class QueryFeeds(BaseModel):
29
29
 
30
30
 
31
31
  class QueryFeedsFeeds(BaseModel):
32
- results: Optional[List[Optional["QueryFeedsFeedsResults"]]]
32
+ results: Optional[List["QueryFeedsFeedsResults"]]
33
33
 
34
34
 
35
35
  class QueryFeedsFeedsResults(BaseModel):
@@ -40,7 +40,7 @@ class QuerySpecifications(BaseModel):
40
40
 
41
41
 
42
42
  class QuerySpecificationsSpecifications(BaseModel):
43
- results: Optional[List[Optional["QuerySpecificationsSpecificationsResults"]]]
43
+ results: Optional[List["QuerySpecificationsSpecificationsResults"]]
44
44
 
45
45
 
46
46
  class QuerySpecificationsSpecificationsResults(BaseModel):
@@ -20,7 +20,7 @@ class QueryUsers(BaseModel):
20
20
 
21
21
 
22
22
  class QueryUsersUsers(BaseModel):
23
- results: Optional[List[Optional["QueryUsersUsersResults"]]]
23
+ results: Optional[List["QueryUsersUsersResults"]]
24
24
 
25
25
 
26
26
  class QueryUsersUsersResults(BaseModel):
@@ -22,6 +22,10 @@ from .enums import (
22
22
  IntegrationServiceTypes,
23
23
  LinkTypes,
24
24
  ObservableTypes,
25
+ ReductoEnrichmentModes,
26
+ ReductoExtractionModes,
27
+ ReductoOcrModes,
28
+ ReductoOcrSystems,
25
29
  RegexSourceTypes,
26
30
  StoragePolicyTypes,
27
31
  SummarizationTypes,
@@ -33,7 +37,7 @@ class QueryWorkflows(BaseModel):
33
37
 
34
38
 
35
39
  class QueryWorkflowsWorkflows(BaseModel):
36
- results: Optional[List[Optional["QueryWorkflowsWorkflowsResults"]]]
40
+ results: Optional[List["QueryWorkflowsWorkflowsResults"]]
37
41
 
38
42
 
39
43
  class QueryWorkflowsWorkflowsResults(BaseModel):
@@ -148,6 +152,7 @@ class QueryWorkflowsWorkflowsResultsPreparationJobsConnector(BaseModel):
148
152
  model_document: Optional[
149
153
  "QueryWorkflowsWorkflowsResultsPreparationJobsConnectorModelDocument"
150
154
  ] = Field(alias="modelDocument")
155
+ reducto: Optional["QueryWorkflowsWorkflowsResultsPreparationJobsConnectorReducto"]
151
156
  mistral: Optional["QueryWorkflowsWorkflowsResultsPreparationJobsConnectorMistral"]
152
157
 
153
158
 
@@ -200,6 +205,15 @@ class QueryWorkflowsWorkflowsResultsPreparationJobsConnectorModelDocumentSpecifi
200
205
  id: str
201
206
 
202
207
 
208
+ class QueryWorkflowsWorkflowsResultsPreparationJobsConnectorReducto(BaseModel):
209
+ ocr_mode: Optional[ReductoOcrModes] = Field(alias="ocrMode")
210
+ ocr_system: Optional[ReductoOcrSystems] = Field(alias="ocrSystem")
211
+ extraction_mode: Optional[ReductoExtractionModes] = Field(alias="extractionMode")
212
+ enable_enrichment: Optional[bool] = Field(alias="enableEnrichment")
213
+ enrichment_mode: Optional[ReductoEnrichmentModes] = Field(alias="enrichmentMode")
214
+ key: Optional[str]
215
+
216
+
203
217
  class QueryWorkflowsWorkflowsResultsPreparationJobsConnectorMistral(BaseModel):
204
218
  key: Optional[str]
205
219
 
@@ -91,6 +91,7 @@ class ReviseContentReviseContentMessageCitationsContent(BaseModel):
91
91
  posts: Optional[List[str]]
92
92
  chapters: Optional[List[str]]
93
93
  questions: Optional[List[str]]
94
+ quotes: Optional[List[str]]
94
95
  video: Optional["ReviseContentReviseContentMessageCitationsContentVideo"]
95
96
  audio: Optional["ReviseContentReviseContentMessageCitationsContentAudio"]
96
97
  image: Optional["ReviseContentReviseContentMessageCitationsContentImage"]
@@ -93,6 +93,7 @@ class ReviseEncodedImageReviseEncodedImageMessageCitationsContent(BaseModel):
93
93
  posts: Optional[List[str]]
94
94
  chapters: Optional[List[str]]
95
95
  questions: Optional[List[str]]
96
+ quotes: Optional[List[str]]
96
97
  video: Optional["ReviseEncodedImageReviseEncodedImageMessageCitationsContentVideo"]
97
98
  audio: Optional["ReviseEncodedImageReviseEncodedImageMessageCitationsContentAudio"]
98
99
  image: Optional["ReviseEncodedImageReviseEncodedImageMessageCitationsContentImage"]
@@ -89,6 +89,7 @@ class ReviseImageReviseImageMessageCitationsContent(BaseModel):
89
89
  posts: Optional[List[str]]
90
90
  chapters: Optional[List[str]]
91
91
  questions: Optional[List[str]]
92
+ quotes: Optional[List[str]]
92
93
  video: Optional["ReviseImageReviseImageMessageCitationsContentVideo"]
93
94
  audio: Optional["ReviseImageReviseImageMessageCitationsContentAudio"]
94
95
  image: Optional["ReviseImageReviseImageMessageCitationsContentImage"]
@@ -89,6 +89,7 @@ class ReviseTextReviseTextMessageCitationsContent(BaseModel):
89
89
  posts: Optional[List[str]]
90
90
  chapters: Optional[List[str]]
91
91
  questions: Optional[List[str]]
92
+ quotes: Optional[List[str]]
92
93
  video: Optional["ReviseTextReviseTextMessageCitationsContentVideo"]
93
94
  audio: Optional["ReviseTextReviseTextMessageCitationsContentAudio"]
94
95
  image: Optional["ReviseTextReviseTextMessageCitationsContentImage"]
@@ -22,6 +22,10 @@ from .enums import (
22
22
  IntegrationServiceTypes,
23
23
  LinkTypes,
24
24
  ObservableTypes,
25
+ ReductoEnrichmentModes,
26
+ ReductoExtractionModes,
27
+ ReductoOcrModes,
28
+ ReductoOcrSystems,
25
29
  RegexSourceTypes,
26
30
  StoragePolicyTypes,
27
31
  SummarizationTypes,
@@ -139,6 +143,7 @@ class UpdateWorkflowUpdateWorkflowPreparationJobsConnector(BaseModel):
139
143
  model_document: Optional[
140
144
  "UpdateWorkflowUpdateWorkflowPreparationJobsConnectorModelDocument"
141
145
  ] = Field(alias="modelDocument")
146
+ reducto: Optional["UpdateWorkflowUpdateWorkflowPreparationJobsConnectorReducto"]
142
147
  mistral: Optional["UpdateWorkflowUpdateWorkflowPreparationJobsConnectorMistral"]
143
148
 
144
149
 
@@ -191,6 +196,15 @@ class UpdateWorkflowUpdateWorkflowPreparationJobsConnectorModelDocumentSpecifica
191
196
  id: str
192
197
 
193
198
 
199
+ class UpdateWorkflowUpdateWorkflowPreparationJobsConnectorReducto(BaseModel):
200
+ ocr_mode: Optional[ReductoOcrModes] = Field(alias="ocrMode")
201
+ ocr_system: Optional[ReductoOcrSystems] = Field(alias="ocrSystem")
202
+ extraction_mode: Optional[ReductoExtractionModes] = Field(alias="extractionMode")
203
+ enable_enrichment: Optional[bool] = Field(alias="enableEnrichment")
204
+ enrichment_mode: Optional[ReductoEnrichmentModes] = Field(alias="enrichmentMode")
205
+ key: Optional[str]
206
+
207
+
194
208
  class UpdateWorkflowUpdateWorkflowPreparationJobsConnectorMistral(BaseModel):
195
209
  key: Optional[str]
196
210
 
@@ -22,6 +22,10 @@ from .enums import (
22
22
  IntegrationServiceTypes,
23
23
  LinkTypes,
24
24
  ObservableTypes,
25
+ ReductoEnrichmentModes,
26
+ ReductoExtractionModes,
27
+ ReductoOcrModes,
28
+ ReductoOcrSystems,
25
29
  RegexSourceTypes,
26
30
  StoragePolicyTypes,
27
31
  SummarizationTypes,
@@ -139,6 +143,7 @@ class UpsertWorkflowUpsertWorkflowPreparationJobsConnector(BaseModel):
139
143
  model_document: Optional[
140
144
  "UpsertWorkflowUpsertWorkflowPreparationJobsConnectorModelDocument"
141
145
  ] = Field(alias="modelDocument")
146
+ reducto: Optional["UpsertWorkflowUpsertWorkflowPreparationJobsConnectorReducto"]
142
147
  mistral: Optional["UpsertWorkflowUpsertWorkflowPreparationJobsConnectorMistral"]
143
148
 
144
149
 
@@ -191,6 +196,15 @@ class UpsertWorkflowUpsertWorkflowPreparationJobsConnectorModelDocumentSpecifica
191
196
  id: str
192
197
 
193
198
 
199
+ class UpsertWorkflowUpsertWorkflowPreparationJobsConnectorReducto(BaseModel):
200
+ ocr_mode: Optional[ReductoOcrModes] = Field(alias="ocrMode")
201
+ ocr_system: Optional[ReductoOcrSystems] = Field(alias="ocrSystem")
202
+ extraction_mode: Optional[ReductoExtractionModes] = Field(alias="extractionMode")
203
+ enable_enrichment: Optional[bool] = Field(alias="enableEnrichment")
204
+ enrichment_mode: Optional[ReductoEnrichmentModes] = Field(alias="enrichmentMode")
205
+ key: Optional[str]
206
+
207
+
194
208
  class UpsertWorkflowUpsertWorkflowPreparationJobsConnectorMistral(BaseModel):
195
209
  key: Optional[str]
196
210
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphlit-client
3
- Version: 1.0.20250531003
3
+ Version: 1.0.20250612001
4
4
  Summary: Graphlit API Python Client
5
5
  Home-page: https://github.com/graphlit/graphlit-client-python
6
6
  Author: Unstruk Data Inc.