pycarlo 0.10.126__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": {
pycarlo/lib/schema.py CHANGED
@@ -49357,10 +49357,29 @@ class Query(sgqlc.types.Type):
49357
49357
  default=None,
49358
49358
  ),
49359
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)),
49360
49378
  )
49361
49379
  ),
49362
49380
  )
49363
- """(experimental) Preview traces for a specific span node
49381
+ """(experimental) Sample agent span data with optional transforms and
49382
+ filtering
49364
49383
 
49365
49384
  Arguments:
49366
49385
 
@@ -49368,6 +49387,14 @@ class Query(sgqlc.types.Type):
49368
49387
  traces
49369
49388
  * `agent_span_filters` (`[AgentSpanFilterInput!]!`): Filter by
49370
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
49371
49398
  """
49372
49399
 
49373
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.126
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=0E6yW9jEqeCR044TXHy2rCjsWPZzjzCD-VlHmf6swLs,6149660
39
- pycarlo/lib/schema.py,sha256=3TObXQdMJ1e9nshW0abrXPutGNn8OFFZtGPOgtOL5OQ,2669625
40
- pycarlo-0.10.126.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.126.dist-info/METADATA,sha256=zqoRpN5GcZ0LSbPfoK_mX7jJNbf_NaijJeb0nK78uVc,8742
42
- pycarlo-0.10.126.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.126.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.126.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,,