pycarlo 0.10.125__py3-none-any.whl → 0.10.127__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.

Potentially problematic release.


This version of pycarlo might be problematic. Click here for more details.

pycarlo/lib/schema.json CHANGED
@@ -10494,10 +10494,68 @@
10494
10494
  }
10495
10495
  }
10496
10496
  }
10497
+ },
10498
+ {
10499
+ "defaultValue": null,
10500
+ "description": "Structured SQL filtering conditions to apply to query",
10501
+ "name": "filters",
10502
+ "type": {
10503
+ "kind": "INPUT_OBJECT",
10504
+ "name": "FilterGroupInput",
10505
+ "ofType": null
10506
+ }
10507
+ },
10508
+ {
10509
+ "defaultValue": null,
10510
+ "description": "Transforms to apply to the data source",
10511
+ "name": "transforms",
10512
+ "type": {
10513
+ "kind": "LIST",
10514
+ "name": null,
10515
+ "ofType": {
10516
+ "kind": "NON_NULL",
10517
+ "name": null,
10518
+ "ofType": {
10519
+ "kind": "INPUT_OBJECT",
10520
+ "name": "TransformInput",
10521
+ "ofType": null
10522
+ }
10523
+ }
10524
+ }
10525
+ },
10526
+ {
10527
+ "defaultValue": "false",
10528
+ "description": "Return only columns for evaluation testing (prompts, completions)",
10529
+ "name": "evaluationMode",
10530
+ "type": {
10531
+ "kind": "SCALAR",
10532
+ "name": "Boolean",
10533
+ "ofType": null
10534
+ }
10535
+ },
10536
+ {
10537
+ "defaultValue": "10",
10538
+ "description": "Number of sample rows to return",
10539
+ "name": "limit",
10540
+ "type": {
10541
+ "kind": "SCALAR",
10542
+ "name": "Int",
10543
+ "ofType": null
10544
+ }
10545
+ },
10546
+ {
10547
+ "defaultValue": null,
10548
+ "description": "Connection UUID",
10549
+ "name": "connectionId",
10550
+ "type": {
10551
+ "kind": "SCALAR",
10552
+ "name": "UUID",
10553
+ "ofType": null
10554
+ }
10497
10555
  }
10498
10556
  ],
10499
10557
  "deprecationReason": null,
10500
- "description": "(experimental) Preview traces for a specific span node",
10558
+ "description": "(experimental) Sample agent span data with optional transforms and filtering",
10501
10559
  "isDeprecated": false,
10502
10560
  "name": "getAgentSpanSample",
10503
10561
  "type": {
@@ -138924,6 +138982,12 @@
138924
138982
  "isDeprecated": false,
138925
138983
  "name": "AI_FEATURES_OFF"
138926
138984
  },
138985
+ {
138986
+ "deprecationReason": null,
138987
+ "description": null,
138988
+ "isDeprecated": false,
138989
+ "name": "TROUBLESHOOTING_AGENT_OFF"
138990
+ },
138927
138991
  {
138928
138992
  "deprecationReason": null,
138929
138993
  "description": null,
pycarlo/lib/schema.py CHANGED
@@ -1700,11 +1700,18 @@ class DenialReason(sgqlc.types.Enum):
1700
1700
  * `AI_FEATURES_OFF`None
1701
1701
  * `ENTITLEMENTS`None
1702
1702
  * `INVALID_USER`None
1703
+ * `TROUBLESHOOTING_AGENT_OFF`None
1703
1704
  * `TSA_FEATURE_FLAG_OFF`None
1704
1705
  """
1705
1706
 
1706
1707
  __schema__ = schema
1707
- __choices__ = ("AI_FEATURES_OFF", "ENTITLEMENTS", "INVALID_USER", "TSA_FEATURE_FLAG_OFF")
1708
+ __choices__ = (
1709
+ "AI_FEATURES_OFF",
1710
+ "ENTITLEMENTS",
1711
+ "INVALID_USER",
1712
+ "TROUBLESHOOTING_AGENT_OFF",
1713
+ "TSA_FEATURE_FLAG_OFF",
1714
+ )
1708
1715
 
1709
1716
 
1710
1717
  class DetectorStatus(sgqlc.types.Enum):
@@ -49350,10 +49357,29 @@ class Query(sgqlc.types.Type):
49350
49357
  default=None,
49351
49358
  ),
49352
49359
  ),
49360
+ (
49361
+ "filters",
49362
+ sgqlc.types.Arg(FilterGroupInput, graphql_name="filters", default=None),
49363
+ ),
49364
+ (
49365
+ "transforms",
49366
+ sgqlc.types.Arg(
49367
+ sgqlc.types.list_of(sgqlc.types.non_null(TransformInput)),
49368
+ graphql_name="transforms",
49369
+ default=None,
49370
+ ),
49371
+ ),
49372
+ (
49373
+ "evaluation_mode",
49374
+ sgqlc.types.Arg(Boolean, graphql_name="evaluationMode", default=False),
49375
+ ),
49376
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=10)),
49377
+ ("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
49353
49378
  )
49354
49379
  ),
49355
49380
  )
49356
- """(experimental) Preview traces for a specific span node
49381
+ """(experimental) Sample agent span data with optional transforms and
49382
+ filtering
49357
49383
 
49358
49384
  Arguments:
49359
49385
 
@@ -49361,6 +49387,14 @@ class Query(sgqlc.types.Type):
49361
49387
  traces
49362
49388
  * `agent_span_filters` (`[AgentSpanFilterInput!]!`): Filter by
49363
49389
  agent span fields (agent, workflow, task, span_name)
49390
+ * `filters` (`FilterGroupInput`): Structured SQL filtering
49391
+ conditions to apply to query
49392
+ * `transforms` (`[TransformInput!]`): Transforms to apply to the
49393
+ data source
49394
+ * `evaluation_mode` (`Boolean`): Return only columns for
49395
+ evaluation testing (prompts, completions) (default: `false`)
49396
+ * `limit` (`Int`): Number of sample rows to return (default: `10`)
49397
+ * `connection_id` (`UUID`): Connection UUID
49364
49398
  """
49365
49399
 
49366
49400
  evaluate_agent_monitor_data_source = sgqlc.types.Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.125
3
+ Version: 0.10.127
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
35
35
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
36
36
  pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
37
37
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- pycarlo/lib/schema.json,sha256=hQGMyZEmF7ubMVU0zlR9byfDS3UPKPL8QCSNX-FSaWo,6149468
39
- pycarlo/lib/schema.py,sha256=EQlFhEfijhqdGQ0O7k9CXum-iaISAYfR4hyP7E186uY,2669511
40
- pycarlo-0.10.125.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.125.dist-info/METADATA,sha256=6z5ncIIXTbqs15wXfNGfJBr72CxVVC1ZeJEbF7n9jEw,8742
42
- pycarlo-0.10.125.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.125.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.125.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=vWKtteMT2uiUyX8jF_gxFU8191ZKThfp2gVDxyfiPG4,6151748
39
+ pycarlo/lib/schema.py,sha256=sP921aAIYnBWfeolgksYYaelnBUOXqmN0XkfRi5MRxg,2670899
40
+ pycarlo-0.10.127.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.127.dist-info/METADATA,sha256=SpP6I5BIVIV8ydB-cyfN7RpMlN3kdQW0S9GMnw0sb7w,8742
42
+ pycarlo-0.10.127.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.127.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.127.dist-info/RECORD,,