datarobot-moderations 11.2.10__py3-none-any.whl → 11.2.12__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_dome/__init__.py +2 -2
- datarobot_dome/async_http_client.py +2 -2
- datarobot_dome/chat_helper.py +2 -2
- datarobot_dome/constants.py +29 -4
- datarobot_dome/drum_integration.py +2 -2
- datarobot_dome/guard_executor.py +130 -17
- datarobot_dome/guard_factory.py +126 -0
- datarobot_dome/guard_helpers.py +17 -2
- datarobot_dome/guards/__init__.py +17 -2
- datarobot_dome/guards/base.py +259 -0
- datarobot_dome/guards/guard_llm_mixin.py +4 -2
- datarobot_dome/guards/model_guard.py +84 -0
- datarobot_dome/guards/nemo_evaluator.py +329 -0
- datarobot_dome/guards/nemo_guard.py +148 -0
- datarobot_dome/guards/ootb_guard.py +209 -0
- datarobot_dome/guards/validation.py +234 -0
- datarobot_dome/llm.py +2 -2
- datarobot_dome/metrics/__init__.py +2 -2
- datarobot_dome/metrics/citation_metrics.py +2 -2
- datarobot_dome/metrics/factory.py +2 -2
- datarobot_dome/metrics/metric_scorer.py +2 -2
- datarobot_dome/pipeline/__init__.py +2 -2
- datarobot_dome/pipeline/llm_pipeline.py +4 -4
- datarobot_dome/pipeline/pipeline.py +2 -2
- datarobot_dome/pipeline/vdb_pipeline.py +2 -2
- datarobot_dome/runtime.py +2 -2
- datarobot_dome/streaming.py +3 -3
- {datarobot_moderations-11.2.10.dist-info → datarobot_moderations-11.2.12.dist-info}/METADATA +3 -2
- datarobot_moderations-11.2.12.dist-info/RECORD +30 -0
- {datarobot_moderations-11.2.10.dist-info → datarobot_moderations-11.2.12.dist-info}/WHEEL +1 -1
- datarobot_dome/guard.py +0 -845
- datarobot_moderations-11.2.10.dist-info/RECORD +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ---------------------------------------------------------------------------------
|
|
2
|
-
# Copyright (c)
|
|
3
|
-
# Last updated
|
|
2
|
+
# Copyright (c) 2026 DataRobot, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
# Last updated 2026.
|
|
4
4
|
#
|
|
5
5
|
# DataRobot, Inc. Confidential.
|
|
6
6
|
# This is proprietary source code of DataRobot, Inc. and its affiliates.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ---------------------------------------------------------------------------------
|
|
2
|
-
# Copyright (c)
|
|
3
|
-
# Last updated
|
|
2
|
+
# Copyright (c) 2026 DataRobot, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
# Last updated 2026.
|
|
4
4
|
#
|
|
5
5
|
# DataRobot, Inc. Confidential.
|
|
6
6
|
# This is proprietary source code of DataRobot, Inc. and its affiliates.
|
datarobot_dome/runtime.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ---------------------------------------------------------------------------------
|
|
2
|
-
# Copyright (c)
|
|
3
|
-
# Last updated
|
|
2
|
+
# Copyright (c) 2026 DataRobot, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
# Last updated 2026.
|
|
4
4
|
#
|
|
5
5
|
# DataRobot, Inc. Confidential.
|
|
6
6
|
# This is proprietary source code of DataRobot, Inc. and its affiliates.
|
datarobot_dome/streaming.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ---------------------------------------------------------------------------------
|
|
2
|
-
# Copyright (c)
|
|
3
|
-
# Last updated
|
|
2
|
+
# Copyright (c) 2026 DataRobot, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
# Last updated 2026.
|
|
4
4
|
#
|
|
5
5
|
# DataRobot, Inc. Confidential.
|
|
6
6
|
# This is proprietary source code of DataRobot, Inc. and its affiliates.
|
|
@@ -35,7 +35,7 @@ from datarobot_dome.constants import GuardAction
|
|
|
35
35
|
from datarobot_dome.constants import GuardStage
|
|
36
36
|
from datarobot_dome.constants import GuardType
|
|
37
37
|
from datarobot_dome.constants import OOTBType
|
|
38
|
-
from datarobot_dome.
|
|
38
|
+
from datarobot_dome.guard_factory import Guard
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
class StreamingContext:
|
{datarobot_moderations-11.2.10.dist-info → datarobot_moderations-11.2.12.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datarobot-moderations
|
|
3
|
-
Version: 11.2.
|
|
3
|
+
Version: 11.2.12
|
|
4
4
|
Summary: DataRobot Monitoring and Moderation framework
|
|
5
5
|
License: DataRobot Tool and Utility Agreement
|
|
6
6
|
Author: DataRobot
|
|
@@ -24,7 +24,8 @@ Requires-Dist: llama-index-embeddings-azure-openai (>=0.1.6)
|
|
|
24
24
|
Requires-Dist: llama-index-llms-bedrock-converse (>=0.1.6)
|
|
25
25
|
Requires-Dist: llama-index-llms-langchain (>=0.1.3)
|
|
26
26
|
Requires-Dist: llama-index-llms-vertex (>=0.1.5)
|
|
27
|
-
Requires-Dist:
|
|
27
|
+
Requires-Dist: nemo-microservices (>=1.5.0,<2.0.0)
|
|
28
|
+
Requires-Dist: nemoguardrails (>=0.9.0,<=0.17.0)
|
|
28
29
|
Requires-Dist: nest-asyncio (>=1.6.0)
|
|
29
30
|
Requires-Dist: numpy (>=1.25.0)
|
|
30
31
|
Requires-Dist: openai (>=1.14.3)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
datarobot_dome/__init__.py,sha256=gpWJizDEzOPlZO0E2nRbRBJagAMTBVTtvMqfZnhs7LM,583
|
|
2
|
+
datarobot_dome/async_http_client.py,sha256=7ljpkXtOBcgfI3HGeHVdDJBw9dOBiQ7f_jIXbP8axK8,9863
|
|
3
|
+
datarobot_dome/chat_helper.py,sha256=0oEHbw4SI4vSsIWt2_r4zLufdL5gZhGPWo3AbO1XsOA,9671
|
|
4
|
+
datarobot_dome/constants.py,sha256=Djtqloy9yGQKWqWDyboEOCb8iuYFJeMVO048f2W3AmM,11448
|
|
5
|
+
datarobot_dome/drum_integration.py,sha256=xs_F5XGCNN1g8EUR9-UQJGbmRZwOav6tyoBXonjwcog,46480
|
|
6
|
+
datarobot_dome/guard_executor.py,sha256=3ShUWBispcn6Z60EddSv1SP8H5IenDbm3JKQnl6tBq8,40315
|
|
7
|
+
datarobot_dome/guard_factory.py,sha256=s74_N0pPIP03u79NvPoYtBRilUxawuFL3a8djM7N4ic,6081
|
|
8
|
+
datarobot_dome/guard_helpers.py,sha256=Frhuuq-yCb5xpSWnz-D7r3f5wrImmFJDuribqBGSx54,17581
|
|
9
|
+
datarobot_dome/guards/__init__.py,sha256=oV8EBIYzNuZjiXSL2pfk-JCKQKKr0UB1_yzN_6q-cFk,1287
|
|
10
|
+
datarobot_dome/guards/base.py,sha256=DEG8knC0Q0fHJ0j3tGlogeMam2YyFMXDvojoMkb-TMU,10646
|
|
11
|
+
datarobot_dome/guards/guard_llm_mixin.py,sha256=dy1IuSqEMD41pi8Ed20-lUUrEcLCY7GUHBypIAUJIeg,12041
|
|
12
|
+
datarobot_dome/guards/model_guard.py,sha256=xaaZCAPH6r5UgfJ_2cElzBXTHsVWgH6IvTM7sfzBz18,2970
|
|
13
|
+
datarobot_dome/guards/nemo_evaluator.py,sha256=GSp50N8uahmoHii4f3mwNHW8BqnsM1Lamek-ZjS-KXc,13996
|
|
14
|
+
datarobot_dome/guards/nemo_guard.py,sha256=4qGjV3XzHYfh4tvQvNc99ndOenaOZRGGciUkslApKPo,7216
|
|
15
|
+
datarobot_dome/guards/ootb_guard.py,sha256=5LUFZf179_5nPrrt6uqD8BThBwipY4Ume8alI28yMFA,8469
|
|
16
|
+
datarobot_dome/guards/validation.py,sha256=vm21fkRvts9_9j7iJlFlQNnFzynymIuNsoSzqYJErlw,9554
|
|
17
|
+
datarobot_dome/llm.py,sha256=Q-gC9vC8eWu5uAGNhdE3jfGz643VGRuLA-Pz5kQwago,5719
|
|
18
|
+
datarobot_dome/metrics/__init__.py,sha256=gpWJizDEzOPlZO0E2nRbRBJagAMTBVTtvMqfZnhs7LM,583
|
|
19
|
+
datarobot_dome/metrics/citation_metrics.py,sha256=nfL7fQB5E2GaQPuZ9gqHoqmyIHuM-UEYWvDloQAdwvY,4652
|
|
20
|
+
datarobot_dome/metrics/factory.py,sha256=TzEL-a-o_58_2so-N-0RPw8pMXnaW2QKu-y0aXF3rbw,2153
|
|
21
|
+
datarobot_dome/metrics/metric_scorer.py,sha256=JJp8WR6sKTXuCiLs96QDTIzY7QgCs8QK2Q_N5uh1HbE,2540
|
|
22
|
+
datarobot_dome/pipeline/__init__.py,sha256=gpWJizDEzOPlZO0E2nRbRBJagAMTBVTtvMqfZnhs7LM,583
|
|
23
|
+
datarobot_dome/pipeline/llm_pipeline.py,sha256=Ll51TgGbz_ooX4FJ2oRir5Y4ITmcf9Nz6nhyzZ_Ko7I,20981
|
|
24
|
+
datarobot_dome/pipeline/pipeline.py,sha256=DMtqYZMZeUhhdIUEBY59D12LWIsk_Jc89_IjvHsZAn0,19486
|
|
25
|
+
datarobot_dome/pipeline/vdb_pipeline.py,sha256=yrTn7M4IT8Q_e4Cv61haFSUx2_CAs25dftgHywfWGCw,9835
|
|
26
|
+
datarobot_dome/runtime.py,sha256=J3undH6VM5Pao2PZqjfRtVGeVx0nkqw80hYpRRZUTkY,1468
|
|
27
|
+
datarobot_dome/streaming.py,sha256=ov-IubMA1RfY38jg1PNG-tcuViHPgX8t9VmKz6d9lOs,18248
|
|
28
|
+
datarobot_moderations-11.2.12.dist-info/METADATA,sha256=vdqm7PmRvWIAP7ZclLGwDpefb7tCmieW6hvYgrIf6T0,4864
|
|
29
|
+
datarobot_moderations-11.2.12.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
30
|
+
datarobot_moderations-11.2.12.dist-info/RECORD,,
|