graphlit-client 1.0.20250622002__py3-none-any.whl → 1.0.20250622004__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/client.py +24 -4
- graphlit_api/operations.py +13 -4
- graphlit_api/query_contents_observations.py +1 -0
- {graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/RECORD +8 -8
- {graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/top_level.txt +0 -0
graphlit_api/client.py
CHANGED
@@ -4933,8 +4933,18 @@ class Client(AsyncBaseClient):
|
|
4933
4933
|
data = self.get_data(response)
|
4934
4934
|
return GetProject.model_validate(data)
|
4935
4935
|
|
4936
|
-
async def lookup_credits(
|
4937
|
-
|
4936
|
+
async def lookup_credits(
|
4937
|
+
self,
|
4938
|
+
correlation_id: str,
|
4939
|
+
start_date: Union[Optional[Any], UnsetType] = UNSET,
|
4940
|
+
duration: Union[Optional[Any], UnsetType] = UNSET,
|
4941
|
+
**kwargs: Any
|
4942
|
+
) -> LookupCredits:
|
4943
|
+
variables: Dict[str, object] = {
|
4944
|
+
"correlationId": correlation_id,
|
4945
|
+
"startDate": start_date,
|
4946
|
+
"duration": duration,
|
4947
|
+
}
|
4938
4948
|
response = await self.execute(
|
4939
4949
|
query=LOOKUP_CREDITS_GQL,
|
4940
4950
|
operation_name="LookupCredits",
|
@@ -4944,8 +4954,18 @@ class Client(AsyncBaseClient):
|
|
4944
4954
|
data = self.get_data(response)
|
4945
4955
|
return LookupCredits.model_validate(data)
|
4946
4956
|
|
4947
|
-
async def lookup_usage(
|
4948
|
-
|
4957
|
+
async def lookup_usage(
|
4958
|
+
self,
|
4959
|
+
correlation_id: str,
|
4960
|
+
start_date: Union[Optional[Any], UnsetType] = UNSET,
|
4961
|
+
duration: Union[Optional[Any], UnsetType] = UNSET,
|
4962
|
+
**kwargs: Any
|
4963
|
+
) -> LookupUsage:
|
4964
|
+
variables: Dict[str, object] = {
|
4965
|
+
"correlationId": correlation_id,
|
4966
|
+
"startDate": start_date,
|
4967
|
+
"duration": duration,
|
4968
|
+
}
|
4949
4969
|
response = await self.execute(
|
4950
4970
|
query=LOOKUP_USAGE_GQL,
|
4951
4971
|
operation_name="LookupUsage",
|
graphlit_api/operations.py
CHANGED
@@ -2968,6 +2968,7 @@ query QueryContentsObservations($filter: ContentFilter, $correlationId: String)
|
|
2968
2968
|
relevance
|
2969
2969
|
}
|
2970
2970
|
error
|
2971
|
+
markdown
|
2971
2972
|
observations {
|
2972
2973
|
id
|
2973
2974
|
type
|
@@ -8670,8 +8671,12 @@ query GetProject {
|
|
8670
8671
|
"""
|
8671
8672
|
|
8672
8673
|
LOOKUP_CREDITS_GQL = """
|
8673
|
-
query LookupCredits($correlationId: String
|
8674
|
-
lookupCredits(
|
8674
|
+
query LookupCredits($correlationId: String!, $startDate: DateTime, $duration: TimeSpan) {
|
8675
|
+
lookupCredits(
|
8676
|
+
correlationId: $correlationId
|
8677
|
+
startDate: $startDate
|
8678
|
+
duration: $duration
|
8679
|
+
) {
|
8675
8680
|
correlationId
|
8676
8681
|
ownerId
|
8677
8682
|
credits
|
@@ -8694,8 +8699,12 @@ query LookupCredits($correlationId: String!) {
|
|
8694
8699
|
"""
|
8695
8700
|
|
8696
8701
|
LOOKUP_USAGE_GQL = """
|
8697
|
-
query LookupUsage($correlationId: String
|
8698
|
-
lookupUsage(
|
8702
|
+
query LookupUsage($correlationId: String!, $startDate: DateTime, $duration: TimeSpan) {
|
8703
|
+
lookupUsage(
|
8704
|
+
correlationId: $correlationId
|
8705
|
+
startDate: $startDate
|
8706
|
+
duration: $duration
|
8707
|
+
) {
|
8699
8708
|
id
|
8700
8709
|
correlationId
|
8701
8710
|
date
|
@@ -82,6 +82,7 @@ class QueryContentsObservationsContentsResults(BaseModel):
|
|
82
82
|
segments: Optional[List["QueryContentsObservationsContentsResultsSegments"]]
|
83
83
|
frames: Optional[List["QueryContentsObservationsContentsResultsFrames"]]
|
84
84
|
error: Optional[str]
|
85
|
+
markdown: Optional[str]
|
85
86
|
observations: Optional[
|
86
87
|
List[Optional["QueryContentsObservationsContentsResultsObservations"]]
|
87
88
|
]
|
{graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/RECORD
RENAMED
@@ -7,7 +7,7 @@ graphlit_api/async_base_client.py,sha256=v0KUVwe2_RIQa8Mn7l_yD5McUe7B03vhclJ9SP4
|
|
7
7
|
graphlit_api/base_model.py,sha256=o2d-DixASFCGztr3rTiGX0AwgFu7Awr7EgD70FI8a-I,620
|
8
8
|
graphlit_api/branch_conversation.py,sha256=iU3IsoM526AHUHjX0ODAyOPTpyS9N5RqSdytoAOmKbU,539
|
9
9
|
graphlit_api/clear_conversation.py,sha256=5GOmc2wfupV-7EHWyi3v6LA0pSVLtFNCzxPJm42Dp6Y,531
|
10
|
-
graphlit_api/client.py,sha256=
|
10
|
+
graphlit_api/client.py,sha256=3wvl88Z2qJ-dhIArsJTkYQHgvvT1eaDAPXRRB2vbVPE,206742
|
11
11
|
graphlit_api/close_conversation.py,sha256=HcIUUiNf7hnuLZ7Fy6IcgfuHMSyWyJ7uOEy1EEETy_4,531
|
12
12
|
graphlit_api/complete_conversation.py,sha256=39v86YLrm9IGQVcsRHUyxoTkiT1sNoVPQZzim5FxSZo,16844
|
13
13
|
graphlit_api/continue_conversation.py,sha256=Ba_ufN-4Ji6ZjznlilvS85xxkdV5JGpnuEQUU-qGXBk,16844
|
@@ -209,7 +209,7 @@ graphlit_api/lookup_contents.py,sha256=avxMUE3lBigZdBn_M9Ybz3RpmyLYiIOk4GGx50ijH
|
|
209
209
|
graphlit_api/lookup_credits.py,sha256=WsV7fGbg29WWOjPRIaL2bnhISGsb0SqUlQxL7rBfNTo,1464
|
210
210
|
graphlit_api/lookup_usage.py,sha256=D_cbO0KmXDqRYqQIhNwWXNFGjwNLEy2_5aVa-SYgRzw,1711
|
211
211
|
graphlit_api/map_web.py,sha256=2rp4jFD1vDqcQ98mCVTeC0RzPqQxmmcRvHNRl8HJfFA,346
|
212
|
-
graphlit_api/operations.py,sha256=
|
212
|
+
graphlit_api/operations.py,sha256=cIaCZxUm0Fjh80rkzz06J6J3xJWlnAnlbI765dm9vgM,201243
|
213
213
|
graphlit_api/prompt.py,sha256=jBlM3ywGnbVPYSBHMDPAy5ZlDDtndRsHnV7twcwLX1g,6203
|
214
214
|
graphlit_api/prompt_conversation.py,sha256=JMiDfxFaixz63wXcT-h948c5x2Uc6PgB3D7wORltkhU,16458
|
215
215
|
graphlit_api/prompt_specifications.py,sha256=GFLRlyp5pISfB0PVMw3RPCwGvqkA3qI5M2NiXXu2aT0,7090
|
@@ -222,7 +222,7 @@ graphlit_api/query_collections.py,sha256=IQv3XSV7XxMyRRQUGKuIY0w5cBfYr212dHlkDGd
|
|
222
222
|
graphlit_api/query_contents.py,sha256=pnUfcl-LHJytFjTmIfh0E4m0XwrU0R0UszOHWRd7VLE,10135
|
223
223
|
graphlit_api/query_contents_facets.py,sha256=xKbOkq-F9-AYUulUQNPrR9PnQyq7M2j_u7fpQ8HYk4c,1368
|
224
224
|
graphlit_api/query_contents_graph.py,sha256=RzQHZEQOOzB0yLTvU6rBJu_Str3Gc9m8BG8fY8xVrYY,975
|
225
|
-
graphlit_api/query_contents_observations.py,sha256=
|
225
|
+
graphlit_api/query_contents_observations.py,sha256=UMfVPS12_ccrR_NBjTRRKdw-cEx6vHHU5lybJpnJT_Y,12622
|
226
226
|
graphlit_api/query_conversations.py,sha256=_uO9SRB7q7M-IlTbL_0RCk3RkHMLFPKKTEtsLaKqgu4,19815
|
227
227
|
graphlit_api/query_credits.py,sha256=6uJqn4iYfBfsUtSMTCSuV4d2VTiYR4gR5tEeDH5Cf9o,1396
|
228
228
|
graphlit_api/query_events.py,sha256=-YWXAy3hjSHlrIk9GtiKaPow3aWppE2XO60sToSjxSc,1716
|
@@ -308,8 +308,8 @@ graphlit_api/upsert_label.py,sha256=_bVWrISvyt4G4IcjAKqu8c5P6FDgaODdIGtSToJfNOY,
|
|
308
308
|
graphlit_api/upsert_specification.py,sha256=23eLTL8OLAYE-j_nhjT5NgaCrSUs9Q40rGW_VhDrDoM,643
|
309
309
|
graphlit_api/upsert_workflow.py,sha256=8oAjaG884YBRsfXDhoSeWxJL0oktMQomqU7xCoXso-M,16588
|
310
310
|
graphlit_api/workflow_exists.py,sha256=1XVcqCW_KZ3BwUFx08lwqQdf1ZpJ6Vmi8jBqcrMqYRI,397
|
311
|
-
graphlit_client-1.0.
|
312
|
-
graphlit_client-1.0.
|
313
|
-
graphlit_client-1.0.
|
314
|
-
graphlit_client-1.0.
|
315
|
-
graphlit_client-1.0.
|
311
|
+
graphlit_client-1.0.20250622004.dist-info/licenses/LICENSE,sha256=ivF8XnUYrNZFQ1wZFMrxWshDb1h7TdSK6Qk8_3WPkhM,1095
|
312
|
+
graphlit_client-1.0.20250622004.dist-info/METADATA,sha256=MJUaHYZATS70BICzVLaVYfQgFNWSEMAcOq1E6xiviEw,3408
|
313
|
+
graphlit_client-1.0.20250622004.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
314
|
+
graphlit_client-1.0.20250622004.dist-info/top_level.txt,sha256=HUVfNzJrxWuHS-4M5I7XjLa8-mxYQwfx01A4YKJZSYM,22
|
315
|
+
graphlit_client-1.0.20250622004.dist-info/RECORD,,
|
{graphlit_client-1.0.20250622002.dist-info → graphlit_client-1.0.20250622004.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|