graphlit-client 1.0.20250313001__py3-none-any.whl → 1.0.20250315002__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 +144 -68
- graphlit_api/client.py +121 -0
- graphlit_api/enums.py +1 -1
- graphlit_api/feed_exists.py +19 -0
- graphlit_api/get_content.py +0 -1
- graphlit_api/input_types.py +1 -0
- graphlit_api/operations.py +255 -264
- graphlit_api/query_contents.py +0 -13
- graphlit_api/query_contents_facets.py +1 -349
- graphlit_api/specification_exists.py +21 -0
- graphlit_api/upsert_category.py +22 -0
- graphlit_api/upsert_label.py +20 -0
- graphlit_api/upsert_specification.py +26 -0
- graphlit_api/upsert_workflow.py +405 -0
- graphlit_api/workflow_exists.py +21 -0
- {graphlit_client-1.0.20250313001.dist-info → graphlit_client-1.0.20250315002.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250313001.dist-info → graphlit_client-1.0.20250315002.dist-info}/RECORD +20 -13
- {graphlit_client-1.0.20250313001.dist-info → graphlit_client-1.0.20250315002.dist-info}/LICENSE +0 -0
- {graphlit_client-1.0.20250313001.dist-info → graphlit_client-1.0.20250315002.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250313001.dist-info → graphlit_client-1.0.20250315002.dist-info}/top_level.txt +0 -0
graphlit_api/__init__.py
CHANGED
@@ -639,6 +639,7 @@ from .extract_text import (
|
|
639
639
|
ExtractTextExtractTextContent,
|
640
640
|
ExtractTextExtractTextSpecification,
|
641
641
|
)
|
642
|
+
from .feed_exists import FeedExists, FeedExistsFeedExists
|
642
643
|
from .format_conversation import (
|
643
644
|
FormatConversation,
|
644
645
|
FormatConversationFormatConversation,
|
@@ -1527,6 +1528,7 @@ from .operations import (
|
|
1527
1528
|
ENABLE_USER_GQL,
|
1528
1529
|
EXTRACT_CONTENTS_GQL,
|
1529
1530
|
EXTRACT_TEXT_GQL,
|
1531
|
+
FEED_EXISTS_GQL,
|
1530
1532
|
FORMAT_CONVERSATION_GQL,
|
1531
1533
|
GET_ALERT_GQL,
|
1532
1534
|
GET_CATEGORY_GQL,
|
@@ -1623,6 +1625,7 @@ from .operations import (
|
|
1623
1625
|
SCREENSHOT_PAGE_GQL,
|
1624
1626
|
SEARCH_WEB_GQL,
|
1625
1627
|
SEND_NOTIFICATION_GQL,
|
1628
|
+
SPECIFICATION_EXISTS_GQL,
|
1626
1629
|
SUGGEST_CONVERSATION_GQL,
|
1627
1630
|
SUMMARIZE_CONTENTS_GQL,
|
1628
1631
|
SUMMARIZE_TEXT_GQL,
|
@@ -1656,6 +1659,11 @@ from .operations import (
|
|
1656
1659
|
UPDATE_SPECIFICATION_GQL,
|
1657
1660
|
UPDATE_USER_GQL,
|
1658
1661
|
UPDATE_WORKFLOW_GQL,
|
1662
|
+
UPSERT_CATEGORY_GQL,
|
1663
|
+
UPSERT_LABEL_GQL,
|
1664
|
+
UPSERT_SPECIFICATION_GQL,
|
1665
|
+
UPSERT_WORKFLOW_GQL,
|
1666
|
+
WORKFLOW_EXISTS_GQL,
|
1659
1667
|
)
|
1660
1668
|
from .prompt import (
|
1661
1669
|
Prompt,
|
@@ -1794,7 +1802,6 @@ from .query_contents import (
|
|
1794
1802
|
QueryContentsContentsResults,
|
1795
1803
|
QueryContentsContentsResultsAddress,
|
1796
1804
|
QueryContentsContentsResultsAudio,
|
1797
|
-
QueryContentsContentsResultsChildren,
|
1798
1805
|
QueryContentsContentsResultsCollections,
|
1799
1806
|
QueryContentsContentsResultsDocument,
|
1800
1807
|
QueryContentsContentsResultsEmail,
|
@@ -1819,7 +1826,6 @@ from .query_contents import (
|
|
1819
1826
|
QueryContentsContentsResultsPages,
|
1820
1827
|
QueryContentsContentsResultsPagesChunks,
|
1821
1828
|
QueryContentsContentsResultsPagesImages,
|
1822
|
-
QueryContentsContentsResultsParent,
|
1823
1829
|
QueryContentsContentsResultsSegments,
|
1824
1830
|
QueryContentsContentsResultsVideo,
|
1825
1831
|
QueryContentsContentsResultsWorkflow,
|
@@ -1831,38 +1837,6 @@ from .query_contents_facets import (
|
|
1831
1837
|
QueryContentsFacetsContentsFacetsObservable,
|
1832
1838
|
QueryContentsFacetsContentsFacetsObservableObservable,
|
1833
1839
|
QueryContentsFacetsContentsFacetsRange,
|
1834
|
-
QueryContentsFacetsContentsResults,
|
1835
|
-
QueryContentsFacetsContentsResultsAddress,
|
1836
|
-
QueryContentsFacetsContentsResultsAudio,
|
1837
|
-
QueryContentsFacetsContentsResultsChildren,
|
1838
|
-
QueryContentsFacetsContentsResultsCollections,
|
1839
|
-
QueryContentsFacetsContentsResultsDocument,
|
1840
|
-
QueryContentsFacetsContentsResultsEmail,
|
1841
|
-
QueryContentsFacetsContentsResultsEmailBcc,
|
1842
|
-
QueryContentsFacetsContentsResultsEmailCc,
|
1843
|
-
QueryContentsFacetsContentsResultsEmailFrom,
|
1844
|
-
QueryContentsFacetsContentsResultsEmailTo,
|
1845
|
-
QueryContentsFacetsContentsResultsFeed,
|
1846
|
-
QueryContentsFacetsContentsResultsFrames,
|
1847
|
-
QueryContentsFacetsContentsResultsImage,
|
1848
|
-
QueryContentsFacetsContentsResultsIssue,
|
1849
|
-
QueryContentsFacetsContentsResultsLanguage,
|
1850
|
-
QueryContentsFacetsContentsResultsLinks,
|
1851
|
-
QueryContentsFacetsContentsResultsLocation,
|
1852
|
-
QueryContentsFacetsContentsResultsObservations,
|
1853
|
-
QueryContentsFacetsContentsResultsObservationsObservable,
|
1854
|
-
QueryContentsFacetsContentsResultsObservationsOccurrences,
|
1855
|
-
QueryContentsFacetsContentsResultsObservationsOccurrencesBoundingBox,
|
1856
|
-
QueryContentsFacetsContentsResultsObservationsRelated,
|
1857
|
-
QueryContentsFacetsContentsResultsOwner,
|
1858
|
-
QueryContentsFacetsContentsResultsPackage,
|
1859
|
-
QueryContentsFacetsContentsResultsPages,
|
1860
|
-
QueryContentsFacetsContentsResultsPagesChunks,
|
1861
|
-
QueryContentsFacetsContentsResultsPagesImages,
|
1862
|
-
QueryContentsFacetsContentsResultsParent,
|
1863
|
-
QueryContentsFacetsContentsResultsSegments,
|
1864
|
-
QueryContentsFacetsContentsResultsVideo,
|
1865
|
-
QueryContentsFacetsContentsResultsWorkflow,
|
1866
1840
|
)
|
1867
1841
|
from .query_contents_graph import (
|
1868
1842
|
QueryContentsGraph,
|
@@ -2276,6 +2250,10 @@ from .screenshot_page import (
|
|
2276
2250
|
)
|
2277
2251
|
from .search_web import SearchWeb, SearchWebSearchWeb, SearchWebSearchWebResults
|
2278
2252
|
from .send_notification import SendNotification, SendNotificationSendNotification
|
2253
|
+
from .specification_exists import (
|
2254
|
+
SpecificationExists,
|
2255
|
+
SpecificationExistsSpecificationExists,
|
2256
|
+
)
|
2279
2257
|
from .suggest_conversation import (
|
2280
2258
|
SuggestConversation,
|
2281
2259
|
SuggestConversationSuggestConversation,
|
@@ -2422,6 +2400,67 @@ from .update_workflow import (
|
|
2422
2400
|
UpdateWorkflowUpdateWorkflowStorage,
|
2423
2401
|
UpdateWorkflowUpdateWorkflowStoragePolicy,
|
2424
2402
|
)
|
2403
|
+
from .upsert_category import UpsertCategory, UpsertCategoryUpsertCategory
|
2404
|
+
from .upsert_label import UpsertLabel, UpsertLabelUpsertLabel
|
2405
|
+
from .upsert_specification import (
|
2406
|
+
UpsertSpecification,
|
2407
|
+
UpsertSpecificationUpsertSpecification,
|
2408
|
+
)
|
2409
|
+
from .upsert_workflow import (
|
2410
|
+
UpsertWorkflow,
|
2411
|
+
UpsertWorkflowUpsertWorkflow,
|
2412
|
+
UpsertWorkflowUpsertWorkflowActions,
|
2413
|
+
UpsertWorkflowUpsertWorkflowActionsConnector,
|
2414
|
+
UpsertWorkflowUpsertWorkflowActionsConnectorEmail,
|
2415
|
+
UpsertWorkflowUpsertWorkflowActionsConnectorSlack,
|
2416
|
+
UpsertWorkflowUpsertWorkflowClassification,
|
2417
|
+
UpsertWorkflowUpsertWorkflowClassificationJobs,
|
2418
|
+
UpsertWorkflowUpsertWorkflowClassificationJobsConnector,
|
2419
|
+
UpsertWorkflowUpsertWorkflowClassificationJobsConnectorModel,
|
2420
|
+
UpsertWorkflowUpsertWorkflowClassificationJobsConnectorModelRules,
|
2421
|
+
UpsertWorkflowUpsertWorkflowClassificationJobsConnectorModelSpecification,
|
2422
|
+
UpsertWorkflowUpsertWorkflowClassificationJobsConnectorRegex,
|
2423
|
+
UpsertWorkflowUpsertWorkflowClassificationJobsConnectorRegexRules,
|
2424
|
+
UpsertWorkflowUpsertWorkflowEnrichment,
|
2425
|
+
UpsertWorkflowUpsertWorkflowEnrichmentJobs,
|
2426
|
+
UpsertWorkflowUpsertWorkflowEnrichmentJobsConnector,
|
2427
|
+
UpsertWorkflowUpsertWorkflowEnrichmentJobsConnectorDiffbot,
|
2428
|
+
UpsertWorkflowUpsertWorkflowEnrichmentJobsConnectorFhir,
|
2429
|
+
UpsertWorkflowUpsertWorkflowEnrichmentLink,
|
2430
|
+
UpsertWorkflowUpsertWorkflowExtraction,
|
2431
|
+
UpsertWorkflowUpsertWorkflowExtractionJobs,
|
2432
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnector,
|
2433
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnectorAzureImage,
|
2434
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnectorAzureText,
|
2435
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelImage,
|
2436
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelImageSpecification,
|
2437
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelText,
|
2438
|
+
UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelTextSpecification,
|
2439
|
+
UpsertWorkflowUpsertWorkflowIndexing,
|
2440
|
+
UpsertWorkflowUpsertWorkflowIndexingJobs,
|
2441
|
+
UpsertWorkflowUpsertWorkflowIndexingJobsConnector,
|
2442
|
+
UpsertWorkflowUpsertWorkflowIngestion,
|
2443
|
+
UpsertWorkflowUpsertWorkflowIngestionCollections,
|
2444
|
+
UpsertWorkflowUpsertWorkflowIngestionIf,
|
2445
|
+
UpsertWorkflowUpsertWorkflowIngestionObservations,
|
2446
|
+
UpsertWorkflowUpsertWorkflowIngestionObservationsObservable,
|
2447
|
+
UpsertWorkflowUpsertWorkflowPreparation,
|
2448
|
+
UpsertWorkflowUpsertWorkflowPreparationJobs,
|
2449
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnector,
|
2450
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorAssemblyAi,
|
2451
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorAzureDocument,
|
2452
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorDeepgram,
|
2453
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorDocument,
|
2454
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorEmail,
|
2455
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorMistral,
|
2456
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorModelDocument,
|
2457
|
+
UpsertWorkflowUpsertWorkflowPreparationJobsConnectorModelDocumentSpecification,
|
2458
|
+
UpsertWorkflowUpsertWorkflowPreparationSummarizations,
|
2459
|
+
UpsertWorkflowUpsertWorkflowPreparationSummarizationsSpecification,
|
2460
|
+
UpsertWorkflowUpsertWorkflowStorage,
|
2461
|
+
UpsertWorkflowUpsertWorkflowStoragePolicy,
|
2462
|
+
)
|
2463
|
+
from .workflow_exists import WorkflowExists, WorkflowExistsWorkflowExists
|
2425
2464
|
|
2426
2465
|
__all__ = [
|
2427
2466
|
"ADD_CONTENTS_TO_COLLECTIONS_GQL",
|
@@ -3152,10 +3191,13 @@ __all__ = [
|
|
3152
3191
|
"ExtractTextExtractTextSpecification",
|
3153
3192
|
"ExtractionWorkflowJobInput",
|
3154
3193
|
"ExtractionWorkflowStageInput",
|
3194
|
+
"FEED_EXISTS_GQL",
|
3155
3195
|
"FHIREnrichmentPropertiesInput",
|
3156
3196
|
"FORMAT_CONVERSATION_GQL",
|
3157
3197
|
"FacetValueTypes",
|
3158
3198
|
"FeedConnectorTypes",
|
3199
|
+
"FeedExists",
|
3200
|
+
"FeedExistsFeedExists",
|
3159
3201
|
"FeedFilter",
|
3160
3202
|
"FeedInput",
|
3161
3203
|
"FeedListingTypes",
|
@@ -3956,7 +3998,6 @@ __all__ = [
|
|
3956
3998
|
"QueryContentsContentsResults",
|
3957
3999
|
"QueryContentsContentsResultsAddress",
|
3958
4000
|
"QueryContentsContentsResultsAudio",
|
3959
|
-
"QueryContentsContentsResultsChildren",
|
3960
4001
|
"QueryContentsContentsResultsCollections",
|
3961
4002
|
"QueryContentsContentsResultsDocument",
|
3962
4003
|
"QueryContentsContentsResultsEmail",
|
@@ -3981,7 +4022,6 @@ __all__ = [
|
|
3981
4022
|
"QueryContentsContentsResultsPages",
|
3982
4023
|
"QueryContentsContentsResultsPagesChunks",
|
3983
4024
|
"QueryContentsContentsResultsPagesImages",
|
3984
|
-
"QueryContentsContentsResultsParent",
|
3985
4025
|
"QueryContentsContentsResultsSegments",
|
3986
4026
|
"QueryContentsContentsResultsVideo",
|
3987
4027
|
"QueryContentsContentsResultsWorkflow",
|
@@ -3991,38 +4031,6 @@ __all__ = [
|
|
3991
4031
|
"QueryContentsFacetsContentsFacetsObservable",
|
3992
4032
|
"QueryContentsFacetsContentsFacetsObservableObservable",
|
3993
4033
|
"QueryContentsFacetsContentsFacetsRange",
|
3994
|
-
"QueryContentsFacetsContentsResults",
|
3995
|
-
"QueryContentsFacetsContentsResultsAddress",
|
3996
|
-
"QueryContentsFacetsContentsResultsAudio",
|
3997
|
-
"QueryContentsFacetsContentsResultsChildren",
|
3998
|
-
"QueryContentsFacetsContentsResultsCollections",
|
3999
|
-
"QueryContentsFacetsContentsResultsDocument",
|
4000
|
-
"QueryContentsFacetsContentsResultsEmail",
|
4001
|
-
"QueryContentsFacetsContentsResultsEmailBcc",
|
4002
|
-
"QueryContentsFacetsContentsResultsEmailCc",
|
4003
|
-
"QueryContentsFacetsContentsResultsEmailFrom",
|
4004
|
-
"QueryContentsFacetsContentsResultsEmailTo",
|
4005
|
-
"QueryContentsFacetsContentsResultsFeed",
|
4006
|
-
"QueryContentsFacetsContentsResultsFrames",
|
4007
|
-
"QueryContentsFacetsContentsResultsImage",
|
4008
|
-
"QueryContentsFacetsContentsResultsIssue",
|
4009
|
-
"QueryContentsFacetsContentsResultsLanguage",
|
4010
|
-
"QueryContentsFacetsContentsResultsLinks",
|
4011
|
-
"QueryContentsFacetsContentsResultsLocation",
|
4012
|
-
"QueryContentsFacetsContentsResultsObservations",
|
4013
|
-
"QueryContentsFacetsContentsResultsObservationsObservable",
|
4014
|
-
"QueryContentsFacetsContentsResultsObservationsOccurrences",
|
4015
|
-
"QueryContentsFacetsContentsResultsObservationsOccurrencesBoundingBox",
|
4016
|
-
"QueryContentsFacetsContentsResultsObservationsRelated",
|
4017
|
-
"QueryContentsFacetsContentsResultsOwner",
|
4018
|
-
"QueryContentsFacetsContentsResultsPackage",
|
4019
|
-
"QueryContentsFacetsContentsResultsPages",
|
4020
|
-
"QueryContentsFacetsContentsResultsPagesChunks",
|
4021
|
-
"QueryContentsFacetsContentsResultsPagesImages",
|
4022
|
-
"QueryContentsFacetsContentsResultsParent",
|
4023
|
-
"QueryContentsFacetsContentsResultsSegments",
|
4024
|
-
"QueryContentsFacetsContentsResultsVideo",
|
4025
|
-
"QueryContentsFacetsContentsResultsWorkflow",
|
4026
4034
|
"QueryContentsGraph",
|
4027
4035
|
"QueryContentsGraphContents",
|
4028
4036
|
"QueryContentsGraphContentsGraph",
|
@@ -4393,6 +4401,7 @@ __all__ = [
|
|
4393
4401
|
"SCREENSHOT_PAGE_GQL",
|
4394
4402
|
"SEARCH_WEB_GQL",
|
4395
4403
|
"SEND_NOTIFICATION_GQL",
|
4404
|
+
"SPECIFICATION_EXISTS_GQL",
|
4396
4405
|
"SUGGEST_CONVERSATION_GQL",
|
4397
4406
|
"SUMMARIZE_CONTENTS_GQL",
|
4398
4407
|
"SUMMARIZE_TEXT_GQL",
|
@@ -4433,6 +4442,8 @@ __all__ = [
|
|
4433
4442
|
"SoftwareFilter",
|
4434
4443
|
"SoftwareInput",
|
4435
4444
|
"SoftwareUpdateInput",
|
4445
|
+
"SpecificationExists",
|
4446
|
+
"SpecificationExistsSpecificationExists",
|
4436
4447
|
"SpecificationFilter",
|
4437
4448
|
"SpecificationInput",
|
4438
4449
|
"SpecificationTypes",
|
@@ -4493,6 +4504,10 @@ __all__ = [
|
|
4493
4504
|
"UPDATE_SPECIFICATION_GQL",
|
4494
4505
|
"UPDATE_USER_GQL",
|
4495
4506
|
"UPDATE_WORKFLOW_GQL",
|
4507
|
+
"UPSERT_CATEGORY_GQL",
|
4508
|
+
"UPSERT_LABEL_GQL",
|
4509
|
+
"UPSERT_SPECIFICATION_GQL",
|
4510
|
+
"UPSERT_WORKFLOW_GQL",
|
4496
4511
|
"UnitTypes",
|
4497
4512
|
"UpdateAlert",
|
4498
4513
|
"UpdateAlertUpdateAlert",
|
@@ -4611,6 +4626,64 @@ __all__ = [
|
|
4611
4626
|
"UpdateWorkflowUpdateWorkflowStorage",
|
4612
4627
|
"UpdateWorkflowUpdateWorkflowStoragePolicy",
|
4613
4628
|
"Upload",
|
4629
|
+
"UpsertCategory",
|
4630
|
+
"UpsertCategoryUpsertCategory",
|
4631
|
+
"UpsertLabel",
|
4632
|
+
"UpsertLabelUpsertLabel",
|
4633
|
+
"UpsertSpecification",
|
4634
|
+
"UpsertSpecificationUpsertSpecification",
|
4635
|
+
"UpsertWorkflow",
|
4636
|
+
"UpsertWorkflowUpsertWorkflow",
|
4637
|
+
"UpsertWorkflowUpsertWorkflowActions",
|
4638
|
+
"UpsertWorkflowUpsertWorkflowActionsConnector",
|
4639
|
+
"UpsertWorkflowUpsertWorkflowActionsConnectorEmail",
|
4640
|
+
"UpsertWorkflowUpsertWorkflowActionsConnectorSlack",
|
4641
|
+
"UpsertWorkflowUpsertWorkflowClassification",
|
4642
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobs",
|
4643
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobsConnector",
|
4644
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobsConnectorModel",
|
4645
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobsConnectorModelRules",
|
4646
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobsConnectorModelSpecification",
|
4647
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobsConnectorRegex",
|
4648
|
+
"UpsertWorkflowUpsertWorkflowClassificationJobsConnectorRegexRules",
|
4649
|
+
"UpsertWorkflowUpsertWorkflowEnrichment",
|
4650
|
+
"UpsertWorkflowUpsertWorkflowEnrichmentJobs",
|
4651
|
+
"UpsertWorkflowUpsertWorkflowEnrichmentJobsConnector",
|
4652
|
+
"UpsertWorkflowUpsertWorkflowEnrichmentJobsConnectorDiffbot",
|
4653
|
+
"UpsertWorkflowUpsertWorkflowEnrichmentJobsConnectorFhir",
|
4654
|
+
"UpsertWorkflowUpsertWorkflowEnrichmentLink",
|
4655
|
+
"UpsertWorkflowUpsertWorkflowExtraction",
|
4656
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobs",
|
4657
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnector",
|
4658
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnectorAzureImage",
|
4659
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnectorAzureText",
|
4660
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelImage",
|
4661
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelImageSpecification",
|
4662
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelText",
|
4663
|
+
"UpsertWorkflowUpsertWorkflowExtractionJobsConnectorModelTextSpecification",
|
4664
|
+
"UpsertWorkflowUpsertWorkflowIndexing",
|
4665
|
+
"UpsertWorkflowUpsertWorkflowIndexingJobs",
|
4666
|
+
"UpsertWorkflowUpsertWorkflowIndexingJobsConnector",
|
4667
|
+
"UpsertWorkflowUpsertWorkflowIngestion",
|
4668
|
+
"UpsertWorkflowUpsertWorkflowIngestionCollections",
|
4669
|
+
"UpsertWorkflowUpsertWorkflowIngestionIf",
|
4670
|
+
"UpsertWorkflowUpsertWorkflowIngestionObservations",
|
4671
|
+
"UpsertWorkflowUpsertWorkflowIngestionObservationsObservable",
|
4672
|
+
"UpsertWorkflowUpsertWorkflowPreparation",
|
4673
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobs",
|
4674
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnector",
|
4675
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorAssemblyAi",
|
4676
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorAzureDocument",
|
4677
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorDeepgram",
|
4678
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorDocument",
|
4679
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorEmail",
|
4680
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorMistral",
|
4681
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorModelDocument",
|
4682
|
+
"UpsertWorkflowUpsertWorkflowPreparationJobsConnectorModelDocumentSpecification",
|
4683
|
+
"UpsertWorkflowUpsertWorkflowPreparationSummarizations",
|
4684
|
+
"UpsertWorkflowUpsertWorkflowPreparationSummarizationsSpecification",
|
4685
|
+
"UpsertWorkflowUpsertWorkflowStorage",
|
4686
|
+
"UpsertWorkflowUpsertWorkflowStoragePolicy",
|
4614
4687
|
"UserFilter",
|
4615
4688
|
"UserInput",
|
4616
4689
|
"UserTypes",
|
@@ -4619,9 +4692,12 @@ __all__ = [
|
|
4619
4692
|
"VoyageModelPropertiesInput",
|
4620
4693
|
"VoyageModelPropertiesUpdateInput",
|
4621
4694
|
"VoyageModels",
|
4695
|
+
"WORKFLOW_EXISTS_GQL",
|
4622
4696
|
"WebFeedPropertiesInput",
|
4623
4697
|
"WebFeedPropertiesUpdateInput",
|
4624
4698
|
"WorkflowActionInput",
|
4699
|
+
"WorkflowExists",
|
4700
|
+
"WorkflowExistsWorkflowExists",
|
4625
4701
|
"WorkflowFilter",
|
4626
4702
|
"WorkflowInput",
|
4627
4703
|
"WorkflowUpdateInput",
|
graphlit_api/client.py
CHANGED
@@ -161,6 +161,7 @@ from .enable_user import EnableUser
|
|
161
161
|
from .enums import SdkTypes, SearchServiceTypes, TextTypes
|
162
162
|
from .extract_contents import ExtractContents
|
163
163
|
from .extract_text import ExtractText
|
164
|
+
from .feed_exists import FeedExists
|
164
165
|
from .format_conversation import FormatConversation
|
165
166
|
from .get_alert import GetAlert
|
166
167
|
from .get_category import GetCategory
|
@@ -467,6 +468,7 @@ from .operations import (
|
|
467
468
|
ENABLE_USER_GQL,
|
468
469
|
EXTRACT_CONTENTS_GQL,
|
469
470
|
EXTRACT_TEXT_GQL,
|
471
|
+
FEED_EXISTS_GQL,
|
470
472
|
FORMAT_CONVERSATION_GQL,
|
471
473
|
GET_ALERT_GQL,
|
472
474
|
GET_CATEGORY_GQL,
|
@@ -563,6 +565,7 @@ from .operations import (
|
|
563
565
|
SCREENSHOT_PAGE_GQL,
|
564
566
|
SEARCH_WEB_GQL,
|
565
567
|
SEND_NOTIFICATION_GQL,
|
568
|
+
SPECIFICATION_EXISTS_GQL,
|
566
569
|
SUGGEST_CONVERSATION_GQL,
|
567
570
|
SUMMARIZE_CONTENTS_GQL,
|
568
571
|
SUMMARIZE_TEXT_GQL,
|
@@ -596,6 +599,11 @@ from .operations import (
|
|
596
599
|
UPDATE_SPECIFICATION_GQL,
|
597
600
|
UPDATE_USER_GQL,
|
598
601
|
UPDATE_WORKFLOW_GQL,
|
602
|
+
UPSERT_CATEGORY_GQL,
|
603
|
+
UPSERT_LABEL_GQL,
|
604
|
+
UPSERT_SPECIFICATION_GQL,
|
605
|
+
UPSERT_WORKFLOW_GQL,
|
606
|
+
WORKFLOW_EXISTS_GQL,
|
599
607
|
)
|
600
608
|
from .prompt import Prompt
|
601
609
|
from .prompt_conversation import PromptConversation
|
@@ -652,6 +660,7 @@ from .revise_text import ReviseText
|
|
652
660
|
from .screenshot_page import ScreenshotPage
|
653
661
|
from .search_web import SearchWeb
|
654
662
|
from .send_notification import SendNotification
|
663
|
+
from .specification_exists import SpecificationExists
|
655
664
|
from .suggest_conversation import SuggestConversation
|
656
665
|
from .summarize_contents import SummarizeContents
|
657
666
|
from .summarize_text import SummarizeText
|
@@ -685,6 +694,11 @@ from .update_software import UpdateSoftware
|
|
685
694
|
from .update_specification import UpdateSpecification
|
686
695
|
from .update_user import UpdateUser
|
687
696
|
from .update_workflow import UpdateWorkflow
|
697
|
+
from .upsert_category import UpsertCategory
|
698
|
+
from .upsert_label import UpsertLabel
|
699
|
+
from .upsert_specification import UpsertSpecification
|
700
|
+
from .upsert_workflow import UpsertWorkflow
|
701
|
+
from .workflow_exists import WorkflowExists
|
688
702
|
|
689
703
|
|
690
704
|
def gql(q: str) -> str:
|
@@ -971,6 +985,19 @@ class Client(AsyncBaseClient):
|
|
971
985
|
data = self.get_data(response)
|
972
986
|
return UpdateCategory.model_validate(data)
|
973
987
|
|
988
|
+
async def upsert_category(
|
989
|
+
self, category: CategoryInput, **kwargs: Any
|
990
|
+
) -> UpsertCategory:
|
991
|
+
variables: Dict[str, object] = {"category": category}
|
992
|
+
response = await self.execute(
|
993
|
+
query=UPSERT_CATEGORY_GQL,
|
994
|
+
operation_name="UpsertCategory",
|
995
|
+
variables=variables,
|
996
|
+
**kwargs
|
997
|
+
)
|
998
|
+
data = self.get_data(response)
|
999
|
+
return UpsertCategory.model_validate(data)
|
1000
|
+
|
974
1001
|
async def add_contents_to_collections(
|
975
1002
|
self,
|
976
1003
|
contents: List[EntityReferenceInput],
|
@@ -2409,6 +2436,25 @@ class Client(AsyncBaseClient):
|
|
2409
2436
|
data = self.get_data(response)
|
2410
2437
|
return EnableFeed.model_validate(data)
|
2411
2438
|
|
2439
|
+
async def feed_exists(
|
2440
|
+
self,
|
2441
|
+
filter: Union[Optional[FeedFilter], UnsetType] = UNSET,
|
2442
|
+
correlation_id: Union[Optional[str], UnsetType] = UNSET,
|
2443
|
+
**kwargs: Any
|
2444
|
+
) -> FeedExists:
|
2445
|
+
variables: Dict[str, object] = {
|
2446
|
+
"filter": filter,
|
2447
|
+
"correlationId": correlation_id,
|
2448
|
+
}
|
2449
|
+
response = await self.execute(
|
2450
|
+
query=FEED_EXISTS_GQL,
|
2451
|
+
operation_name="FeedExists",
|
2452
|
+
variables=variables,
|
2453
|
+
**kwargs
|
2454
|
+
)
|
2455
|
+
data = self.get_data(response)
|
2456
|
+
return FeedExists.model_validate(data)
|
2457
|
+
|
2412
2458
|
async def get_feed(
|
2413
2459
|
self,
|
2414
2460
|
id: str,
|
@@ -2702,6 +2748,17 @@ class Client(AsyncBaseClient):
|
|
2702
2748
|
data = self.get_data(response)
|
2703
2749
|
return UpdateLabel.model_validate(data)
|
2704
2750
|
|
2751
|
+
async def upsert_label(self, label: LabelInput, **kwargs: Any) -> UpsertLabel:
|
2752
|
+
variables: Dict[str, object] = {"label": label}
|
2753
|
+
response = await self.execute(
|
2754
|
+
query=UPSERT_LABEL_GQL,
|
2755
|
+
operation_name="UpsertLabel",
|
2756
|
+
variables=variables,
|
2757
|
+
**kwargs
|
2758
|
+
)
|
2759
|
+
data = self.get_data(response)
|
2760
|
+
return UpsertLabel.model_validate(data)
|
2761
|
+
|
2705
2762
|
async def count_medical_conditions(
|
2706
2763
|
self,
|
2707
2764
|
filter: Union[Optional[MedicalConditionFilter], UnsetType] = UNSET,
|
@@ -5209,6 +5266,25 @@ class Client(AsyncBaseClient):
|
|
5209
5266
|
data = self.get_data(response)
|
5210
5267
|
return QuerySpecifications.model_validate(data)
|
5211
5268
|
|
5269
|
+
async def specification_exists(
|
5270
|
+
self,
|
5271
|
+
filter: Union[Optional[SpecificationFilter], UnsetType] = UNSET,
|
5272
|
+
correlation_id: Union[Optional[str], UnsetType] = UNSET,
|
5273
|
+
**kwargs: Any
|
5274
|
+
) -> SpecificationExists:
|
5275
|
+
variables: Dict[str, object] = {
|
5276
|
+
"filter": filter,
|
5277
|
+
"correlationId": correlation_id,
|
5278
|
+
}
|
5279
|
+
response = await self.execute(
|
5280
|
+
query=SPECIFICATION_EXISTS_GQL,
|
5281
|
+
operation_name="SpecificationExists",
|
5282
|
+
variables=variables,
|
5283
|
+
**kwargs
|
5284
|
+
)
|
5285
|
+
data = self.get_data(response)
|
5286
|
+
return SpecificationExists.model_validate(data)
|
5287
|
+
|
5212
5288
|
async def update_specification(
|
5213
5289
|
self, specification: SpecificationUpdateInput, **kwargs: Any
|
5214
5290
|
) -> UpdateSpecification:
|
@@ -5222,6 +5298,19 @@ class Client(AsyncBaseClient):
|
|
5222
5298
|
data = self.get_data(response)
|
5223
5299
|
return UpdateSpecification.model_validate(data)
|
5224
5300
|
|
5301
|
+
async def upsert_specification(
|
5302
|
+
self, specification: SpecificationInput, **kwargs: Any
|
5303
|
+
) -> UpsertSpecification:
|
5304
|
+
variables: Dict[str, object] = {"specification": specification}
|
5305
|
+
response = await self.execute(
|
5306
|
+
query=UPSERT_SPECIFICATION_GQL,
|
5307
|
+
operation_name="UpsertSpecification",
|
5308
|
+
variables=variables,
|
5309
|
+
**kwargs
|
5310
|
+
)
|
5311
|
+
data = self.get_data(response)
|
5312
|
+
return UpsertSpecification.model_validate(data)
|
5313
|
+
|
5225
5314
|
async def count_users(
|
5226
5315
|
self,
|
5227
5316
|
filter: Union[Optional[UserFilter], UnsetType] = UNSET,
|
@@ -5450,3 +5539,35 @@ class Client(AsyncBaseClient):
|
|
5450
5539
|
)
|
5451
5540
|
data = self.get_data(response)
|
5452
5541
|
return UpdateWorkflow.model_validate(data)
|
5542
|
+
|
5543
|
+
async def upsert_workflow(
|
5544
|
+
self, workflow: WorkflowInput, **kwargs: Any
|
5545
|
+
) -> UpsertWorkflow:
|
5546
|
+
variables: Dict[str, object] = {"workflow": workflow}
|
5547
|
+
response = await self.execute(
|
5548
|
+
query=UPSERT_WORKFLOW_GQL,
|
5549
|
+
operation_name="UpsertWorkflow",
|
5550
|
+
variables=variables,
|
5551
|
+
**kwargs
|
5552
|
+
)
|
5553
|
+
data = self.get_data(response)
|
5554
|
+
return UpsertWorkflow.model_validate(data)
|
5555
|
+
|
5556
|
+
async def workflow_exists(
|
5557
|
+
self,
|
5558
|
+
filter: Union[Optional[WorkflowFilter], UnsetType] = UNSET,
|
5559
|
+
correlation_id: Union[Optional[str], UnsetType] = UNSET,
|
5560
|
+
**kwargs: Any
|
5561
|
+
) -> WorkflowExists:
|
5562
|
+
variables: Dict[str, object] = {
|
5563
|
+
"filter": filter,
|
5564
|
+
"correlationId": correlation_id,
|
5565
|
+
}
|
5566
|
+
response = await self.execute(
|
5567
|
+
query=WORKFLOW_EXISTS_GQL,
|
5568
|
+
operation_name="WorkflowExists",
|
5569
|
+
variables=variables,
|
5570
|
+
**kwargs
|
5571
|
+
)
|
5572
|
+
data = self.get_data(response)
|
5573
|
+
return WorkflowExists.model_validate(data)
|
graphlit_api/enums.py
CHANGED
@@ -690,6 +690,7 @@ class DeepseekModels(str, Enum):
|
|
690
690
|
class SearchServiceTypes(str, Enum):
|
691
691
|
TAVILY = "TAVILY"
|
692
692
|
EXA = "EXA"
|
693
|
+
PODSCAN = "PODSCAN"
|
693
694
|
|
694
695
|
|
695
696
|
class MedicalContraindicationFacetTypes(str, Enum):
|
@@ -949,7 +950,6 @@ class UserTypes(str, Enum):
|
|
949
950
|
|
950
951
|
|
951
952
|
class EntityExtractionServiceTypes(str, Enum):
|
952
|
-
ROBOFLOW_IMAGE = "ROBOFLOW_IMAGE"
|
953
953
|
MODEL_TEXT = "MODEL_TEXT"
|
954
954
|
MODEL_IMAGE = "MODEL_IMAGE"
|
955
955
|
OPEN_AI_IMAGE = "OPEN_AI_IMAGE"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
|
10
|
+
|
11
|
+
class FeedExists(BaseModel):
|
12
|
+
feed_exists: Optional["FeedExistsFeedExists"] = Field(alias="feedExists")
|
13
|
+
|
14
|
+
|
15
|
+
class FeedExistsFeedExists(BaseModel):
|
16
|
+
result: Optional[bool]
|
17
|
+
|
18
|
+
|
19
|
+
FeedExists.model_rebuild()
|
graphlit_api/get_content.py
CHANGED
graphlit_api/input_types.py
CHANGED
@@ -1784,6 +1784,7 @@ class ContentFilter(BaseModel):
|
|
1784
1784
|
search_type: Optional[SearchTypes] = Field(alias="searchType", default=None)
|
1785
1785
|
query_type: Optional[SearchQueryTypes] = Field(alias="queryType", default=None)
|
1786
1786
|
number_similar: Optional[int] = Field(alias="numberSimilar", default=None)
|
1787
|
+
image: Optional[str] = None
|
1787
1788
|
disable_inheritance: Optional[bool] = Field(
|
1788
1789
|
alias="disableInheritance", default=None
|
1789
1790
|
)
|