graphlit-client 1.0.20250428004__py3-none-any.whl → 1.0.20250502002__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 CHANGED
@@ -710,6 +710,7 @@ from .get_alert import (
710
710
  GetAlertAlertPublishing,
711
711
  GetAlertAlertPublishingElevenLabs,
712
712
  GetAlertAlertPublishingOpenAiImage,
713
+ GetAlertAlertPublishingOpenAiImageSeed,
713
714
  GetAlertAlertPublishSpecification,
714
715
  GetAlertAlertSummarySpecification,
715
716
  )
@@ -1759,11 +1760,11 @@ from .prompt_specifications import (
1759
1760
  from .publish_contents import (
1760
1761
  PublishContents,
1761
1762
  PublishContentsPublishContents,
1762
- PublishContentsPublishContentsContent,
1763
- PublishContentsPublishContentsContentAudio,
1764
- PublishContentsPublishContentsContentDocument,
1765
- PublishContentsPublishContentsContentImage,
1766
- PublishContentsPublishContentsContentVideo,
1763
+ PublishContentsPublishContentsContents,
1764
+ PublishContentsPublishContentsContentsAudio,
1765
+ PublishContentsPublishContentsContentsDocument,
1766
+ PublishContentsPublishContentsContentsImage,
1767
+ PublishContentsPublishContentsContentsVideo,
1767
1768
  PublishContentsPublishContentsDetails,
1768
1769
  PublishContentsPublishContentsDetailsContents,
1769
1770
  )
@@ -1820,6 +1821,7 @@ from .query_alerts import (
1820
1821
  QueryAlertsAlertsResultsPublishing,
1821
1822
  QueryAlertsAlertsResultsPublishingElevenLabs,
1822
1823
  QueryAlertsAlertsResultsPublishingOpenAiImage,
1824
+ QueryAlertsAlertsResultsPublishingOpenAiImageSeed,
1823
1825
  QueryAlertsAlertsResultsPublishSpecification,
1824
1826
  QueryAlertsAlertsResultsSummarySpecification,
1825
1827
  )
@@ -3359,6 +3361,7 @@ __all__ = [
3359
3361
  "GetAlertAlertPublishing",
3360
3362
  "GetAlertAlertPublishingElevenLabs",
3361
3363
  "GetAlertAlertPublishingOpenAiImage",
3364
+ "GetAlertAlertPublishingOpenAiImageSeed",
3362
3365
  "GetAlertAlertSummarySpecification",
3363
3366
  "GetCategory",
3364
3367
  "GetCategoryCategory",
@@ -3971,11 +3974,11 @@ __all__ = [
3971
3974
  "PromptStrategyUpdateInput",
3972
3975
  "PublishContents",
3973
3976
  "PublishContentsPublishContents",
3974
- "PublishContentsPublishContentsContent",
3975
- "PublishContentsPublishContentsContentAudio",
3976
- "PublishContentsPublishContentsContentDocument",
3977
- "PublishContentsPublishContentsContentImage",
3978
- "PublishContentsPublishContentsContentVideo",
3977
+ "PublishContentsPublishContentsContents",
3978
+ "PublishContentsPublishContentsContentsAudio",
3979
+ "PublishContentsPublishContentsContentsDocument",
3980
+ "PublishContentsPublishContentsContentsImage",
3981
+ "PublishContentsPublishContentsContentsVideo",
3979
3982
  "PublishContentsPublishContentsDetails",
3980
3983
  "PublishContentsPublishContentsDetailsContents",
3981
3984
  "PublishConversation",
@@ -4070,6 +4073,7 @@ __all__ = [
4070
4073
  "QueryAlertsAlertsResultsPublishing",
4071
4074
  "QueryAlertsAlertsResultsPublishingElevenLabs",
4072
4075
  "QueryAlertsAlertsResultsPublishingOpenAiImage",
4076
+ "QueryAlertsAlertsResultsPublishingOpenAiImageSeed",
4073
4077
  "QueryAlertsAlertsResultsSummarySpecification",
4074
4078
  "QueryCategories",
4075
4079
  "QueryCategoriesCategories",
@@ -15,7 +15,7 @@ class GraphQLClientHttpError(GraphQLClientError):
15
15
  self.response = response
16
16
 
17
17
  def __str__(self) -> str:
18
- return f"HTTP status code: {self.status_code}"
18
+ return f"HTTP status code: {self.status_code}\n{self.response.text}"
19
19
 
20
20
 
21
21
  class GraphQLClientInvalidResponseError(GraphQLClientError):
graphlit_api/get_alert.py CHANGED
@@ -229,6 +229,12 @@ class GetAlertAlertPublishingElevenLabs(BaseModel):
229
229
 
230
230
  class GetAlertAlertPublishingOpenAiImage(BaseModel):
231
231
  model: Optional[OpenAIImageModels]
232
+ count: Optional[int]
233
+ seed: Optional["GetAlertAlertPublishingOpenAiImageSeed"]
234
+
235
+
236
+ class GetAlertAlertPublishingOpenAiImageSeed(BaseModel):
237
+ id: str
232
238
 
233
239
 
234
240
  class GetAlertAlertSummarySpecification(BaseModel):
@@ -249,3 +255,4 @@ GetAlertAlertFilterAnd.model_rebuild()
249
255
  GetAlertAlertFilterAndObservations.model_rebuild()
250
256
  GetAlertAlertIntegration.model_rebuild()
251
257
  GetAlertAlertPublishing.model_rebuild()
258
+ GetAlertAlertPublishingOpenAiImage.model_rebuild()
@@ -655,6 +655,8 @@ class ConnectorFilter(BaseModel):
655
655
 
656
656
  class OpenAIImagePublishingPropertiesInput(BaseModel):
657
657
  model: Optional[OpenAIImageModels] = None
658
+ count: Optional[int] = None
659
+ seed: Optional["EntityReferenceInput"] = None
658
660
 
659
661
 
660
662
  class RedditFeedPropertiesInput(BaseModel):
@@ -3676,6 +3678,7 @@ PlaceInput.model_rebuild()
3676
3678
  SpecificationFilter.model_rebuild()
3677
3679
  EmbeddingsStrategyInput.model_rebuild()
3678
3680
  ConnectorFilter.model_rebuild()
3681
+ OpenAIImagePublishingPropertiesInput.model_rebuild()
3679
3682
  ProjectUpdateInput.model_rebuild()
3680
3683
  MedicalStudyFilter.model_rebuild()
3681
3684
  ClassificationWorkflowJobInput.model_rebuild()
@@ -492,6 +492,10 @@ query GetAlert($id: ID!, $correlationId: String) {
492
492
  }
493
493
  openAIImage {
494
494
  model
495
+ count
496
+ seed {
497
+ id
498
+ }
495
499
  }
496
500
  }
497
501
  summarySpecification {
@@ -631,6 +635,10 @@ query QueryAlerts($filter: AlertFilter, $correlationId: String) {
631
635
  }
632
636
  openAIImage {
633
637
  model
638
+ count
639
+ seed {
640
+ id
641
+ }
634
642
  }
635
643
  }
636
644
  summarySpecification {
@@ -1846,7 +1854,7 @@ mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $conne
1846
1854
  publishSpecification: $publishSpecification
1847
1855
  workflow: $workflow
1848
1856
  ) {
1849
- content {
1857
+ contents {
1850
1858
  id
1851
1859
  name
1852
1860
  state
@@ -23,11 +23,11 @@ class PublishContents(BaseModel):
23
23
 
24
24
 
25
25
  class PublishContentsPublishContents(BaseModel):
26
- content: Optional["PublishContentsPublishContentsContent"]
26
+ contents: Optional[List[Optional["PublishContentsPublishContentsContents"]]]
27
27
  details: Optional["PublishContentsPublishContentsDetails"]
28
28
 
29
29
 
30
- class PublishContentsPublishContentsContent(BaseModel):
30
+ class PublishContentsPublishContentsContents(BaseModel):
31
31
  id: str
32
32
  name: str
33
33
  state: EntityState
@@ -56,13 +56,13 @@ class PublishContentsPublishContentsContent(BaseModel):
56
56
  posts: Optional[List[str]]
57
57
  chapters: Optional[List[str]]
58
58
  questions: Optional[List[str]]
59
- video: Optional["PublishContentsPublishContentsContentVideo"]
60
- audio: Optional["PublishContentsPublishContentsContentAudio"]
61
- image: Optional["PublishContentsPublishContentsContentImage"]
62
- document: Optional["PublishContentsPublishContentsContentDocument"]
59
+ video: Optional["PublishContentsPublishContentsContentsVideo"]
60
+ audio: Optional["PublishContentsPublishContentsContentsAudio"]
61
+ image: Optional["PublishContentsPublishContentsContentsImage"]
62
+ document: Optional["PublishContentsPublishContentsContentsDocument"]
63
63
 
64
64
 
65
- class PublishContentsPublishContentsContentVideo(BaseModel):
65
+ class PublishContentsPublishContentsContentsVideo(BaseModel):
66
66
  width: Optional[int]
67
67
  height: Optional[int]
68
68
  duration: Optional[Any]
@@ -75,7 +75,7 @@ class PublishContentsPublishContentsContentVideo(BaseModel):
75
75
  author: Optional[str]
76
76
 
77
77
 
78
- class PublishContentsPublishContentsContentAudio(BaseModel):
78
+ class PublishContentsPublishContentsContentsAudio(BaseModel):
79
79
  keywords: Optional[List[Optional[str]]]
80
80
  author: Optional[str]
81
81
  series: Optional[str]
@@ -94,7 +94,7 @@ class PublishContentsPublishContentsContentAudio(BaseModel):
94
94
  duration: Optional[Any]
95
95
 
96
96
 
97
- class PublishContentsPublishContentsContentImage(BaseModel):
97
+ class PublishContentsPublishContentsContentsImage(BaseModel):
98
98
  width: Optional[int]
99
99
  height: Optional[int]
100
100
  resolution_x: Optional[int] = Field(alias="resolutionX")
@@ -116,7 +116,7 @@ class PublishContentsPublishContentsContentImage(BaseModel):
116
116
  pitch: Optional[float]
117
117
 
118
118
 
119
- class PublishContentsPublishContentsContentDocument(BaseModel):
119
+ class PublishContentsPublishContentsContentsDocument(BaseModel):
120
120
  title: Optional[str]
121
121
  subject: Optional[str]
122
122
  summary: Optional[str]
@@ -151,5 +151,5 @@ class PublishContentsPublishContentsDetailsContents(BaseModel):
151
151
 
152
152
  PublishContents.model_rebuild()
153
153
  PublishContentsPublishContents.model_rebuild()
154
- PublishContentsPublishContentsContent.model_rebuild()
154
+ PublishContentsPublishContentsContents.model_rebuild()
155
155
  PublishContentsPublishContentsDetails.model_rebuild()
@@ -235,6 +235,12 @@ class QueryAlertsAlertsResultsPublishingElevenLabs(BaseModel):
235
235
 
236
236
  class QueryAlertsAlertsResultsPublishingOpenAiImage(BaseModel):
237
237
  model: Optional[OpenAIImageModels]
238
+ count: Optional[int]
239
+ seed: Optional["QueryAlertsAlertsResultsPublishingOpenAiImageSeed"]
240
+
241
+
242
+ class QueryAlertsAlertsResultsPublishingOpenAiImageSeed(BaseModel):
243
+ id: str
238
244
 
239
245
 
240
246
  class QueryAlertsAlertsResultsSummarySpecification(BaseModel):
@@ -256,3 +262,4 @@ QueryAlertsAlertsResultsFilterAnd.model_rebuild()
256
262
  QueryAlertsAlertsResultsFilterAndObservations.model_rebuild()
257
263
  QueryAlertsAlertsResultsIntegration.model_rebuild()
258
264
  QueryAlertsAlertsResultsPublishing.model_rebuild()
265
+ QueryAlertsAlertsResultsPublishingOpenAiImage.model_rebuild()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphlit-client
3
- Version: 1.0.20250428004
3
+ Version: 1.0.20250502002
4
4
  Summary: Graphlit API Python Client
5
5
  Home-page: https://github.com/graphlit/graphlit-client-python
6
6
  Author: Unstruk Data Inc.
@@ -1,6 +1,6 @@
1
1
  graphlit/__init__.py,sha256=4AyigTlFQWP40lnaaQ1H1iRT_B1hIXW9bgPanbwmTvs,32
2
2
  graphlit/graphlit.py,sha256=56G5Am72og5QHIjEh9cy4vkfos7YVpGvzRuIPhPbCEU,1949
3
- graphlit_api/__init__.py,sha256=7W_QO12-Eju3hYoDS8N_DSeY3twYqVsrNcl-WRbRl0c,189502
3
+ graphlit_api/__init__.py,sha256=II-O7jVkjjjOOOtmgh2sIB8iECeV8jPF0aunLzgFYwI,189714
4
4
  graphlit_api/add_contents_to_collections.py,sha256=K7tNpLn8-lRVaVT39iKr-VtCKRWVONyL_h6cC0L606Y,888
5
5
  graphlit_api/ask_graphlit.py,sha256=F-mgXMfUqGYCOP4WFQXmZDp5RgK7Cej-nA1RkmRvp7o,6301
6
6
  graphlit_api/async_base_client.py,sha256=v0KUVwe2_RIQa8Mn7l_yD5McUe7B03vhclJ9SP4XGgw,12578
@@ -158,12 +158,12 @@ graphlit_api/enable_alert.py,sha256=KctjIbnyZDoDynbuD6IR2fHuNHKAtM07VVgKzTL479g,
158
158
  graphlit_api/enable_feed.py,sha256=BhtLlEGV9p8ICodywdN9-sASWSX3w_4c3zYtf-bdaGE,390
159
159
  graphlit_api/enable_user.py,sha256=_0rQnpwVYhBrRcnpfqrKTOiANgOMe-ibUAHmS-XC0qo,390
160
160
  graphlit_api/enums.py,sha256=-NaXt2ArbkKKYdvZgxfJuI5OySbwliY7zKllqppjE54,27562
161
- graphlit_api/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
161
+ graphlit_api/exceptions.py,sha256=s0ECCqA83fhlv5GqIpT-fNFIZ7sRABG23Wj7DcEl4X0,2433
162
162
  graphlit_api/extract_contents.py,sha256=qsSy8UOJuqsUnCcuduaNPyaK2mZk_1noECT0Jgx3zRA,961
163
163
  graphlit_api/extract_text.py,sha256=jfkL6ep5wzXeoelZ5nRwNRT0t7oDCUt1xrigqkMj-7M,887
164
164
  graphlit_api/feed_exists.py,sha256=NlvWhqVaV-coIV_orR-XsaXhG0Gll3bPVS3tPF0zEt0,351
165
165
  graphlit_api/format_conversation.py,sha256=Bx9bN6zXF8CS7xjUcWz2D4nM6rrS7eKdVn_wHqW93IA,16082
166
- graphlit_api/get_alert.py,sha256=6cz0M1dGSgblAfAQSS7RrZW32XzudrhhCtHrzFYLsQ8,6985
166
+ graphlit_api/get_alert.py,sha256=yw9TLx7iD4d60gaSm4typqQEHt8Y0tyb9xqg504hssQ,7193
167
167
  graphlit_api/get_category.py,sha256=r4BhKYOT49VeBrbNkAd8Hs8ndXnvUV0nPr5CurbI_Bk,439
168
168
  graphlit_api/get_collection.py,sha256=de2AaJQRkMEZoRhmYWnXlXlb1c76cF2Z8v6PwaL7wTk,830
169
169
  graphlit_api/get_content.py,sha256=nMUyT7FE52rcqZWee4voconMMAp3yHP820eQMwY3zHo,11061
@@ -199,20 +199,20 @@ graphlit_api/ingest_memory.py,sha256=YF7sn_jvpk_iACg8encyp_gd0wrK0Om4blYzPDI-B8c
199
199
  graphlit_api/ingest_text.py,sha256=D4lpV9LTC_u586_ILVrB2rVpHG0-8HivqeOA1GpQuFs,2286
200
200
  graphlit_api/ingest_text_batch.py,sha256=gSD1bH3mAPwJzy5TeMJ6UguEgI9yrPUXyz1soExSttM,2521
201
201
  graphlit_api/ingest_uri.py,sha256=f71kMRyMoAhef6sJU85ZgGz4aPq_5CDLaDvCeQnLY5A,2248
202
- graphlit_api/input_types.py,sha256=A3eTGnqM_W2qCamjroK5u8jJCWRT1NIwNWVqfMBdQJQ,144583
202
+ graphlit_api/input_types.py,sha256=KrBDvz9GDPZUJ_Pqqj3iwUQhbY_YuGkH2UQIfAXK2fY,144718
203
203
  graphlit_api/is_content_done.py,sha256=X8uevsTD6oFMbC8I3E9Emg-_yrFTWnnrVL5LpruSB6Q,390
204
204
  graphlit_api/is_feed_done.py,sha256=-FQS2vtDMnNW75K_9jR6IUutvpwLmtoS5yY8wD17CaM,352
205
205
  graphlit_api/lookup_credits.py,sha256=WsV7fGbg29WWOjPRIaL2bnhISGsb0SqUlQxL7rBfNTo,1464
206
206
  graphlit_api/lookup_usage.py,sha256=D_cbO0KmXDqRYqQIhNwWXNFGjwNLEy2_5aVa-SYgRzw,1711
207
207
  graphlit_api/map_web.py,sha256=2rp4jFD1vDqcQ98mCVTeC0RzPqQxmmcRvHNRl8HJfFA,346
208
- graphlit_api/operations.py,sha256=jgxKHB6DtNT3U9Wbl83nzRw6cVclBTWD0IaZzJlXH8k,186501
208
+ graphlit_api/operations.py,sha256=UwRJPQEOR7WebOJCj0KFwUl_vhbRtwVHF70j4vEzwmk,186614
209
209
  graphlit_api/prompt.py,sha256=4A0P-8hk98sNFNfRovzDBXXCHAGXOs2zThsXY07Q5KI,6015
210
210
  graphlit_api/prompt_conversation.py,sha256=zdVzHhZdF2CFL87_8EUcugWYzSFSWc0nCv4JFjhN7lI,16082
211
211
  graphlit_api/prompt_specifications.py,sha256=z8JQpfCUfgPeiuolLEGY83Pr32VaI2Ng1Wq0pG-gv2w,6902
212
- graphlit_api/publish_contents.py,sha256=A584z9d98MTLhjRjQ5WCbfQXPN65V0433ws9HK4lVbE,5530
212
+ graphlit_api/publish_contents.py,sha256=C1F6g_sSvhW33B3pc2YwFH9KHs_MgQb7nfu7jr5u6XE,5558
213
213
  graphlit_api/publish_conversation.py,sha256=KdJr0QD9pG6cpvZG7Ej5getOsGy1icLAxPv0d2ZkV10,4657
214
214
  graphlit_api/publish_text.py,sha256=DSKPRiEgrqkdJ2E_E9GPeEpnlj60lGconC1TlgCaUCQ,4435
215
- graphlit_api/query_alerts.py,sha256=7XgYquw5AEyiE6wJ_xCCGNZ55al1quAi4EOySO_EZDs,8034
215
+ graphlit_api/query_alerts.py,sha256=AisS4rRrkkhjoTSw79_t7feCM60w6dXDr0piKW6gW74,8275
216
216
  graphlit_api/query_categories.py,sha256=5AiZlgWRycLmr7-ID-EIoI2Q8ss6C5vGttr_ECKIG-w,636
217
217
  graphlit_api/query_collections.py,sha256=lQoUD4-ZiQYWa2ZeyOqVXokEA9IbkqJhrG56O0p8QVU,1075
218
218
  graphlit_api/query_contents.py,sha256=e5vWK6LR5BE_eNx2cmwjtopOWUb1bz_Z3OdxDeONPUA,11697
@@ -303,8 +303,8 @@ graphlit_api/upsert_label.py,sha256=_bVWrISvyt4G4IcjAKqu8c5P6FDgaODdIGtSToJfNOY,
303
303
  graphlit_api/upsert_specification.py,sha256=23eLTL8OLAYE-j_nhjT5NgaCrSUs9Q40rGW_VhDrDoM,643
304
304
  graphlit_api/upsert_workflow.py,sha256=QL5Gi8jqF4wG9_qReoW8E5X7VsSIsLzgxIY1aAK0ebo,15692
305
305
  graphlit_api/workflow_exists.py,sha256=1XVcqCW_KZ3BwUFx08lwqQdf1ZpJ6Vmi8jBqcrMqYRI,397
306
- graphlit_client-1.0.20250428004.dist-info/licenses/LICENSE,sha256=ivF8XnUYrNZFQ1wZFMrxWshDb1h7TdSK6Qk8_3WPkhM,1095
307
- graphlit_client-1.0.20250428004.dist-info/METADATA,sha256=8EOxBBMWggkEuTy3jOqSpuaYXsET2T4jTjIm59_-TEE,3408
308
- graphlit_client-1.0.20250428004.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
309
- graphlit_client-1.0.20250428004.dist-info/top_level.txt,sha256=HUVfNzJrxWuHS-4M5I7XjLa8-mxYQwfx01A4YKJZSYM,22
310
- graphlit_client-1.0.20250428004.dist-info/RECORD,,
306
+ graphlit_client-1.0.20250502002.dist-info/licenses/LICENSE,sha256=ivF8XnUYrNZFQ1wZFMrxWshDb1h7TdSK6Qk8_3WPkhM,1095
307
+ graphlit_client-1.0.20250502002.dist-info/METADATA,sha256=4uTebiV1r1E7Qr9KqOiPoWMiZDNv9oIaSFBwgwJKOlU,3408
308
+ graphlit_client-1.0.20250502002.dist-info/WHEEL,sha256=7ciDxtlje1X8OhobNuGgi1t-ACdFSelPnSmDPrtlobY,91
309
+ graphlit_client-1.0.20250502002.dist-info/top_level.txt,sha256=HUVfNzJrxWuHS-4M5I7XjLa8-mxYQwfx01A4YKJZSYM,22
310
+ graphlit_client-1.0.20250502002.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.0)
2
+ Generator: setuptools (80.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5