datarobot-genai 0.2.29__py3-none-any.whl → 0.2.34__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.
- datarobot_genai/core/cli/agent_kernel.py +4 -1
- datarobot_genai/drmcp/__init__.py +2 -2
- datarobot_genai/drmcp/core/exceptions.py +0 -4
- datarobot_genai/drmcp/core/logging.py +2 -2
- datarobot_genai/drmcp/test_utils/clients/__init__.py +0 -0
- datarobot_genai/drmcp/test_utils/clients/anthropic.py +68 -0
- datarobot_genai/drmcp/test_utils/{openai_llm_mcp_client.py → clients/base.py} +38 -40
- datarobot_genai/drmcp/test_utils/clients/dr_gateway.py +58 -0
- datarobot_genai/drmcp/test_utils/clients/openai.py +68 -0
- datarobot_genai/drmcp/test_utils/mcp_utils_ete.py +20 -0
- datarobot_genai/drmcp/test_utils/test_interactive.py +16 -16
- datarobot_genai/drmcp/test_utils/tool_base_ete.py +1 -1
- datarobot_genai/drmcp/test_utils/utils.py +1 -1
- datarobot_genai/drmcp/tools/clients/gdrive.py +187 -1
- datarobot_genai/drmcp/tools/gdrive/tools.py +186 -10
- datarobot_genai/drmcp/tools/predictive/data.py +5 -5
- datarobot_genai/drmcp/tools/predictive/model.py +87 -52
- datarobot_genai/drmcp/tools/predictive/project.py +2 -2
- datarobot_genai/drmcp/tools/predictive/training.py +14 -14
- {datarobot_genai-0.2.29.dist-info → datarobot_genai-0.2.34.dist-info}/METADATA +1 -1
- {datarobot_genai-0.2.29.dist-info → datarobot_genai-0.2.34.dist-info}/RECORD +25 -21
- {datarobot_genai-0.2.29.dist-info → datarobot_genai-0.2.34.dist-info}/WHEEL +0 -0
- {datarobot_genai-0.2.29.dist-info → datarobot_genai-0.2.34.dist-info}/entry_points.txt +0 -0
- {datarobot_genai-0.2.29.dist-info → datarobot_genai-0.2.34.dist-info}/licenses/AUTHORS +0 -0
- {datarobot_genai-0.2.29.dist-info → datarobot_genai-0.2.34.dist-info}/licenses/LICENSE +0 -0
|
@@ -63,7 +63,7 @@ async def analyze_dataset(
|
|
|
63
63
|
) -> ToolError | ToolResult:
|
|
64
64
|
"""Analyze a dataset to understand its structure and potential use cases."""
|
|
65
65
|
if not dataset_id:
|
|
66
|
-
|
|
66
|
+
raise ToolError("Dataset ID must be provided")
|
|
67
67
|
|
|
68
68
|
client = get_sdk_client()
|
|
69
69
|
dataset = client.Dataset.get(dataset_id)
|
|
@@ -116,7 +116,7 @@ async def suggest_use_cases(
|
|
|
116
116
|
) -> ToolError | ToolResult:
|
|
117
117
|
"""Analyze a dataset and suggest potential machine learning use cases."""
|
|
118
118
|
if not dataset_id:
|
|
119
|
-
|
|
119
|
+
raise ToolError("Dataset ID must be provided")
|
|
120
120
|
|
|
121
121
|
client = get_sdk_client()
|
|
122
122
|
dataset = client.Dataset.get(dataset_id)
|
|
@@ -148,7 +148,7 @@ async def get_exploratory_insights(
|
|
|
148
148
|
) -> ToolError | ToolResult:
|
|
149
149
|
"""Generate exploratory data insights for a dataset."""
|
|
150
150
|
if not dataset_id:
|
|
151
|
-
|
|
151
|
+
raise ToolError("Dataset ID must be provided")
|
|
152
152
|
|
|
153
153
|
client = get_sdk_client()
|
|
154
154
|
dataset = client.Dataset.get(dataset_id)
|
|
@@ -481,9 +481,9 @@ async def start_autopilot(
|
|
|
481
481
|
|
|
482
482
|
if not project_id:
|
|
483
483
|
if not dataset_url and not dataset_id:
|
|
484
|
-
|
|
484
|
+
raise ToolError("Either dataset_url or dataset_id must be provided")
|
|
485
485
|
if dataset_url and dataset_id:
|
|
486
|
-
|
|
486
|
+
raise ToolError("Please provide either dataset_url or dataset_id, not both")
|
|
487
487
|
|
|
488
488
|
if dataset_url:
|
|
489
489
|
dataset = client.Dataset.create_from_url(dataset_url)
|
|
@@ -497,7 +497,7 @@ async def start_autopilot(
|
|
|
497
497
|
project = client.Project.get(project_id)
|
|
498
498
|
|
|
499
499
|
if not target:
|
|
500
|
-
|
|
500
|
+
raise ToolError("Target variable must be specified")
|
|
501
501
|
|
|
502
502
|
try:
|
|
503
503
|
# Start modeling
|
|
@@ -517,7 +517,7 @@ async def start_autopilot(
|
|
|
517
517
|
)
|
|
518
518
|
|
|
519
519
|
except Exception as e:
|
|
520
|
-
|
|
520
|
+
raise ToolError(
|
|
521
521
|
content=json.dumps(
|
|
522
522
|
{
|
|
523
523
|
"error": f"Failed to start Autopilot: {str(e)}",
|
|
@@ -546,9 +546,9 @@ async def get_model_roc_curve(
|
|
|
546
546
|
) -> ToolError | ToolResult:
|
|
547
547
|
"""Get detailed ROC curve for a specific model."""
|
|
548
548
|
if not project_id:
|
|
549
|
-
|
|
549
|
+
raise ToolError("Project ID must be provided")
|
|
550
550
|
if not model_id:
|
|
551
|
-
|
|
551
|
+
raise ToolError("Model ID must be provided")
|
|
552
552
|
|
|
553
553
|
client = get_sdk_client()
|
|
554
554
|
project = client.Project.get(project_id)
|
|
@@ -587,7 +587,7 @@ async def get_model_roc_curve(
|
|
|
587
587
|
structured_content={"data": roc_data},
|
|
588
588
|
)
|
|
589
589
|
except Exception as e:
|
|
590
|
-
|
|
590
|
+
raise ToolError(f"Failed to get ROC curve: {str(e)}")
|
|
591
591
|
|
|
592
592
|
|
|
593
593
|
@dr_mcp_tool(tags={"predictive", "training", "read", "model", "evaluation"})
|
|
@@ -598,9 +598,9 @@ async def get_model_feature_impact(
|
|
|
598
598
|
) -> ToolError | ToolResult:
|
|
599
599
|
"""Get detailed feature impact for a specific model."""
|
|
600
600
|
if not project_id:
|
|
601
|
-
|
|
601
|
+
raise ToolError("Project ID must be provided")
|
|
602
602
|
if not model_id:
|
|
603
|
-
|
|
603
|
+
raise ToolError("Model ID must be provided")
|
|
604
604
|
|
|
605
605
|
client = get_sdk_client()
|
|
606
606
|
project = client.Project.get(project_id)
|
|
@@ -631,9 +631,9 @@ async def get_model_lift_chart(
|
|
|
631
631
|
) -> ToolError | ToolResult:
|
|
632
632
|
"""Get detailed lift chart for a specific model."""
|
|
633
633
|
if not project_id:
|
|
634
|
-
|
|
634
|
+
raise ToolError("Project ID must be provided")
|
|
635
635
|
if not model_id:
|
|
636
|
-
|
|
636
|
+
raise ToolError("Model ID must be provided")
|
|
637
637
|
|
|
638
638
|
client = get_sdk_client()
|
|
639
639
|
project = client.Project.get(project_id)
|
|
@@ -11,7 +11,7 @@ datarobot_genai/core/chat/client.py,sha256=fk8MebXa8_R33VK0_DrXCS0Fgw3wFvPEvsuub
|
|
|
11
11
|
datarobot_genai/core/chat/responses.py,sha256=vGxTA433f2AxGVlijV6O4EghyNPJCDmEqpAK2oWnsIs,10583
|
|
12
12
|
datarobot_genai/core/cli/__init__.py,sha256=B93Yb6VavoZpatrh8ltCL6YglIfR5FHgytXbO9UuxBw,733
|
|
13
13
|
datarobot_genai/core/cli/agent_environment.py,sha256=BJzQoiDvZF5gW4mFE71U0yeg-l72C--kxiE-fv6W194,1662
|
|
14
|
-
datarobot_genai/core/cli/agent_kernel.py,sha256=
|
|
14
|
+
datarobot_genai/core/cli/agent_kernel.py,sha256=Pan1l4tFwQBiJCK0u5jjJmxsyADVcicmiCdt5vVm6CI,7873
|
|
15
15
|
datarobot_genai/core/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
datarobot_genai/core/mcp/common.py,sha256=Y8SjuquUODKEfI7T9X-QuTMKdIlpCWFI1b3xs6tmHFA,7812
|
|
17
17
|
datarobot_genai/core/utils/__init__.py,sha256=VxtRUz6iwb04eFQQy0zqTNXLAkYpPXcJxVoKV0nOdXk,59
|
|
@@ -22,7 +22,7 @@ datarobot_genai/crewai/agent.py,sha256=vp8_2LExpeLls7Fpzo0R6ud5I6Ryfu3n3oVTN4Yyi
|
|
|
22
22
|
datarobot_genai/crewai/base.py,sha256=JLljEN7sj8zaH8OamYoevFBZzza5BjZ4f0CGHRp2jUU,6447
|
|
23
23
|
datarobot_genai/crewai/events.py,sha256=K67bO1zwPrxmppz2wh8dFGNbVebyWGXAMD7oodFE2sQ,5462
|
|
24
24
|
datarobot_genai/crewai/mcp.py,sha256=AJTrs-8KdiRSjRECfBT1lJOsszWMoFoN9NIa1p5_wsM,2115
|
|
25
|
-
datarobot_genai/drmcp/__init__.py,sha256=
|
|
25
|
+
datarobot_genai/drmcp/__init__.py,sha256=WyKW7p77kS63EsmuW8cnZpqgcxCzIv1TmRPo2qo-Z8A,2988
|
|
26
26
|
datarobot_genai/drmcp/server.py,sha256=KE4kjS5f9bfdYftG14HBHrfvxDfCD4pwCXePfvl1OvU,724
|
|
27
27
|
datarobot_genai/drmcp/core/__init__.py,sha256=y4yapzp3KnFMzSR6HlNDS4uSuyNT7I1iPBvaCLsS0sU,577
|
|
28
28
|
datarobot_genai/drmcp/core/auth.py,sha256=E-5wrGbBFEBlD5377g6Exddrc7HsazamwX8tWr2RLXY,5815
|
|
@@ -33,8 +33,8 @@ datarobot_genai/drmcp/core/constants.py,sha256=lUwoW_PTrbaBGqRJifKqCn3EoFacoEgdO
|
|
|
33
33
|
datarobot_genai/drmcp/core/credentials.py,sha256=PYEUDNMVw1BoMzZKLkPVTypNkVevEPtmk3scKnE-zYg,6706
|
|
34
34
|
datarobot_genai/drmcp/core/dr_mcp_server.py,sha256=czcjbwhZAeW9EtG_Bys0GARPOuQulstkiU7FG48Q9bg,14118
|
|
35
35
|
datarobot_genai/drmcp/core/dr_mcp_server_logo.py,sha256=hib-nfR1SNTW6CnpFsFCkL9H_OMwa4YYyinV7VNOuLk,4708
|
|
36
|
-
datarobot_genai/drmcp/core/exceptions.py,sha256=
|
|
37
|
-
datarobot_genai/drmcp/core/logging.py,sha256=
|
|
36
|
+
datarobot_genai/drmcp/core/exceptions.py,sha256=9zoNh5ph6QihWIYuw37ljZ73_iUfy38YVYyFSnEwivc,839
|
|
37
|
+
datarobot_genai/drmcp/core/logging.py,sha256=rnUkws0vIDy_uLevwNj-wgA9uijW1Go774JPCrG0Yfw,3423
|
|
38
38
|
datarobot_genai/drmcp/core/mcp_instance.py,sha256=nt4gOlAQklMcqmohRIKovYcyhgLdb08NHMo28DBYmOk,18362
|
|
39
39
|
datarobot_genai/drmcp/core/routes.py,sha256=dqE2M0UzAyyN9vQjlyTjYW4rpju3LT039po5weuO__I,17936
|
|
40
40
|
datarobot_genai/drmcp/core/routes_utils.py,sha256=vSseXWlplMSnRgoJgtP_rHxWSAVYcx_tpTv4lyTpQoc,944
|
|
@@ -68,37 +68,41 @@ datarobot_genai/drmcp/core/memory_management/memory_tools.py,sha256=AxzpwOlldmhh
|
|
|
68
68
|
datarobot_genai/drmcp/test_utils/__init__.py,sha256=y4yapzp3KnFMzSR6HlNDS4uSuyNT7I1iPBvaCLsS0sU,577
|
|
69
69
|
datarobot_genai/drmcp/test_utils/elicitation_test_tool.py,sha256=UVKwy39nl3XcVAh6IATcN-cWL2bfrprgRQ7fbK82jTI,3287
|
|
70
70
|
datarobot_genai/drmcp/test_utils/integration_mcp_server.py,sha256=YSk19tbaka_0ziqi7LoXie4SJs-cvi9-H00Go0ZtQWE,3575
|
|
71
|
-
datarobot_genai/drmcp/test_utils/mcp_utils_ete.py,sha256=
|
|
71
|
+
datarobot_genai/drmcp/test_utils/mcp_utils_ete.py,sha256=mM52xKB-1fy_o3g6k4fNtFU2L_0jEi6GY-czdR3R5HE,5491
|
|
72
72
|
datarobot_genai/drmcp/test_utils/mcp_utils_integration.py,sha256=sHA_BWtpgIAFp9IXiNkUeBartBMjLAauqkV9bYtCr-g,3874
|
|
73
|
-
datarobot_genai/drmcp/test_utils/
|
|
74
|
-
datarobot_genai/drmcp/test_utils/
|
|
75
|
-
datarobot_genai/drmcp/test_utils/
|
|
76
|
-
datarobot_genai/drmcp/test_utils/
|
|
73
|
+
datarobot_genai/drmcp/test_utils/test_interactive.py,sha256=KAScFT65GUkOxuiiBcjli8HHvV1NusVN01nOib3xVCc,7939
|
|
74
|
+
datarobot_genai/drmcp/test_utils/tool_base_ete.py,sha256=2RvVmwHYczl7F6qZHkKYiI77IoL-PaMT3y59t0aQtTE,9328
|
|
75
|
+
datarobot_genai/drmcp/test_utils/utils.py,sha256=JF2W9J4Q8pCqro7dj_bHObHNP7dfybDXesTLFOUsIVM,3039
|
|
76
|
+
datarobot_genai/drmcp/test_utils/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
|
+
datarobot_genai/drmcp/test_utils/clients/anthropic.py,sha256=qFhLvLZHMpZa2tZwI8pZQaaeG1lsM56VaONt6a9VU8c,2333
|
|
78
|
+
datarobot_genai/drmcp/test_utils/clients/base.py,sha256=WoPdddYmmXGylEuKRtKHPfprcHMjbHqPB9PwzWmORV4,10637
|
|
79
|
+
datarobot_genai/drmcp/test_utils/clients/dr_gateway.py,sha256=qlx0WxEOtTkxt9PiCxgWAp02k5jyUgXcKb9AwCGw6cw,2150
|
|
80
|
+
datarobot_genai/drmcp/test_utils/clients/openai.py,sha256=tyIibvjtFp7u2BoHJqwIRlHn9UPtysKOgStoA9SZUYs,2566
|
|
77
81
|
datarobot_genai/drmcp/tools/__init__.py,sha256=0kq9vMkF7EBsS6lkEdiLibmUrghTQqosHbZ5k-V9a5g,578
|
|
78
82
|
datarobot_genai/drmcp/tools/clients/__init__.py,sha256=0kq9vMkF7EBsS6lkEdiLibmUrghTQqosHbZ5k-V9a5g,578
|
|
79
83
|
datarobot_genai/drmcp/tools/clients/atlassian.py,sha256=__M_uz7FrcbKCYRzeMn24DCEYD6OmFx_LuywHCxgXsA,6472
|
|
80
84
|
datarobot_genai/drmcp/tools/clients/confluence.py,sha256=h_G0By_kDnJeWDT_d-IREsaZ5-0xB5GoLXOqblYP5MA,20706
|
|
81
|
-
datarobot_genai/drmcp/tools/clients/gdrive.py,sha256=
|
|
85
|
+
datarobot_genai/drmcp/tools/clients/gdrive.py,sha256=RK4IISpYb99aK6WgDthesDoglaZxwGpG_PPAAe6xsVM,33064
|
|
82
86
|
datarobot_genai/drmcp/tools/clients/jira.py,sha256=Rm91JAyrNIqxu66-9rU1YqoRXVnWbEy-Ahvy6f6HlVg,9823
|
|
83
87
|
datarobot_genai/drmcp/tools/clients/microsoft_graph.py,sha256=PASGThDPE8zkBZqach8lurJL1y47DWUPLwvf9N6uLGM,19234
|
|
84
88
|
datarobot_genai/drmcp/tools/clients/s3.py,sha256=GmwzvurFdNfvxOooA8g5S4osRysHYU0S9ypg_177Glg,953
|
|
85
89
|
datarobot_genai/drmcp/tools/confluence/__init__.py,sha256=0kq9vMkF7EBsS6lkEdiLibmUrghTQqosHbZ5k-V9a5g,578
|
|
86
90
|
datarobot_genai/drmcp/tools/confluence/tools.py,sha256=_-ws65WLK8KZP_mKkf4yJ7ZunR8qdyoiMwHQX47MSMw,12362
|
|
87
91
|
datarobot_genai/drmcp/tools/gdrive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
datarobot_genai/drmcp/tools/gdrive/tools.py,sha256=
|
|
92
|
+
datarobot_genai/drmcp/tools/gdrive/tools.py,sha256=7bNrp7E3opKwsBDYfLIOsOGfPXW-Ae9KvcimEzetR0A,17631
|
|
89
93
|
datarobot_genai/drmcp/tools/jira/__init__.py,sha256=0kq9vMkF7EBsS6lkEdiLibmUrghTQqosHbZ5k-V9a5g,578
|
|
90
94
|
datarobot_genai/drmcp/tools/jira/tools.py,sha256=dfkqTU2HH-7n44hX80ODFacKq0p0LOchFcZtIIKFNMM,9687
|
|
91
95
|
datarobot_genai/drmcp/tools/microsoft_graph/__init__.py,sha256=CuOaMt1AJo7cHx_GuhO3s_aqxZas_wlDsoBorBsvbeU,577
|
|
92
96
|
datarobot_genai/drmcp/tools/microsoft_graph/tools.py,sha256=zJ-UA1TMhPOYcExvgWv0YBjDsSIDPA-U1SEbBrVfAc8,7744
|
|
93
97
|
datarobot_genai/drmcp/tools/predictive/__init__.py,sha256=WuOHlNNEpEmcF7gVnhckruJRKU2qtmJLE3E7zoCGLDo,1030
|
|
94
|
-
datarobot_genai/drmcp/tools/predictive/data.py,sha256=
|
|
98
|
+
datarobot_genai/drmcp/tools/predictive/data.py,sha256=VbGs8ERP8vNFtTTryGhI61JItNVaJsx1gxpRX1ZFZcg,4626
|
|
95
99
|
datarobot_genai/drmcp/tools/predictive/deployment.py,sha256=lm02Ayuo11L1hP41fgi3QpR1Eyty-Wc16rM0c8SgliM,3277
|
|
96
100
|
datarobot_genai/drmcp/tools/predictive/deployment_info.py,sha256=BGEF_dmbxOBJR0n1Tt9TO2-iNTQSBTr-oQUyaxLZ0ZI,15297
|
|
97
|
-
datarobot_genai/drmcp/tools/predictive/model.py,sha256=
|
|
101
|
+
datarobot_genai/drmcp/tools/predictive/model.py,sha256=BVxOMHh3--liwBU4VB1OWRrqkhJ4y_Rq053f7y94TF8,6276
|
|
98
102
|
datarobot_genai/drmcp/tools/predictive/predict.py,sha256=Qoob2_t2crfWtyPzkXMRz2ITZumnczU6Dq4C7q9RBMI,9370
|
|
99
103
|
datarobot_genai/drmcp/tools/predictive/predict_realtime.py,sha256=urq6rPyZFsAP-bPyclSNzrkvb6FTamdlFau8q0IWWJ0,13472
|
|
100
|
-
datarobot_genai/drmcp/tools/predictive/project.py,sha256=
|
|
101
|
-
datarobot_genai/drmcp/tools/predictive/training.py,sha256=
|
|
104
|
+
datarobot_genai/drmcp/tools/predictive/project.py,sha256=Mzf7rQogBV6h1-MWQYTwtDHOsMWfjOyyJpSYmmvNNuc,3253
|
|
105
|
+
datarobot_genai/drmcp/tools/predictive/training.py,sha256=WWzzGibYMSvI8kqHnvav6qNIVjoe1EG4RyiYa3XhFYA,23984
|
|
102
106
|
datarobot_genai/langgraph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
107
|
datarobot_genai/langgraph/agent.py,sha256=DRnywmS9KDywyChtuIZZwNKbJs8BpC259EG_kxYbiQ8,15828
|
|
104
108
|
datarobot_genai/langgraph/mcp.py,sha256=iA2_j46mZAaNaL7ntXT-LW6C-NMJkzr3VfKDDfe7mh8,2851
|
|
@@ -113,9 +117,9 @@ datarobot_genai/nat/datarobot_llm_clients.py,sha256=-_q_KlKOVQecIYJd8YRiYnS4ZNaz
|
|
|
113
117
|
datarobot_genai/nat/datarobot_llm_providers.py,sha256=aDoQcTeGI-odqydPXEX9OGGNFbzAtpqzTvHHEkmJuEQ,4963
|
|
114
118
|
datarobot_genai/nat/datarobot_mcp_client.py,sha256=jL8sXb8g4gvt0VYgB2tfMGsMjpB1GV2XIbN0iv_LxVU,10701
|
|
115
119
|
datarobot_genai/nat/helpers.py,sha256=Q7E3ADZdtFfS8E6OQPyw2wgA6laQ58N3bhLj5CBWwJs,3265
|
|
116
|
-
datarobot_genai-0.2.
|
|
117
|
-
datarobot_genai-0.2.
|
|
118
|
-
datarobot_genai-0.2.
|
|
119
|
-
datarobot_genai-0.2.
|
|
120
|
-
datarobot_genai-0.2.
|
|
121
|
-
datarobot_genai-0.2.
|
|
120
|
+
datarobot_genai-0.2.34.dist-info/METADATA,sha256=ypCJpwVf3XHRuudcLQZUwOOYDUwaJveVbk7133Wp1kQ,6301
|
|
121
|
+
datarobot_genai-0.2.34.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
122
|
+
datarobot_genai-0.2.34.dist-info/entry_points.txt,sha256=jEW3WxDZ8XIK9-ISmTyt5DbmBb047rFlzQuhY09rGrM,284
|
|
123
|
+
datarobot_genai-0.2.34.dist-info/licenses/AUTHORS,sha256=isJGUXdjq1U7XZ_B_9AH8Qf0u4eX0XyQifJZ_Sxm4sA,80
|
|
124
|
+
datarobot_genai-0.2.34.dist-info/licenses/LICENSE,sha256=U2_VkLIktQoa60Nf6Tbt7E4RMlfhFSjWjcJJfVC-YCE,11341
|
|
125
|
+
datarobot_genai-0.2.34.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|