datarobot-moderations 11.2.0__py3-none-any.whl → 11.2.1__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.
@@ -949,8 +949,9 @@ class VdbModerationPipeline(ModerationPipeline):
949
949
  def moderation_pipeline_factory(
950
950
  target_type: str, model_dir: str = os.getcwd()
951
951
  ) -> Optional[ModerationPipeline]:
952
- # Disable ragas tracking while loading the module.
952
+ # Disable ragas and deepeval tracking while loading the module.
953
953
  os.environ["RAGAS_DO_NOT_TRACK"] = "true"
954
+ os.environ["DEEPEVAL_TELEMETRY_OPT_OUT"] = "YES"
954
955
  if target_type in TargetType.guards():
955
956
  pipeline = init(model_dir=model_dir)
956
957
  if pipeline:
@@ -215,7 +215,7 @@ class Pipeline:
215
215
  if e.status_code == 409:
216
216
  if "not unique for deployment" in e.json["message"]:
217
217
  # Duplicate entry nothing to worry - just continue
218
- self._logger.error(f"Metric '{metric_name}' already exists, skipping")
218
+ self._logger.warning(f"Metric '{metric_name}' already exists, skipping")
219
219
  continue
220
220
  elif e.json["message"].startswith("Maximum number of custom metrics reached"):
221
221
  # Reached the limit - we can't create more
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: datarobot-moderations
3
- Version: 11.2.0
3
+ Version: 11.2.1
4
4
  Summary: DataRobot Monitoring and Moderation framework
5
5
  License: DataRobot Tool and Utility Agreement
6
6
  Author: DataRobot
@@ -19,10 +19,9 @@ Requires-Dist: deepeval (==2.7.9)
19
19
  Requires-Dist: langchain (>=0.1.12)
20
20
  Requires-Dist: langchain-nvidia-ai-endpoints (>=0.3.9)
21
21
  Requires-Dist: langchain-openai (>=0.1.7)
22
- Requires-Dist: llama-index (>=0.12.9)
22
+ Requires-Dist: llama-index (>=0.12.49)
23
23
  Requires-Dist: llama-index-embeddings-azure-openai (>=0.1.6)
24
24
  Requires-Dist: llama-index-llms-bedrock-converse (>=0.1.6)
25
- Requires-Dist: llama-index-llms-fireworks (>=0.1.5)
26
25
  Requires-Dist: llama-index-llms-langchain (>=0.1.3)
27
26
  Requires-Dist: llama-index-llms-vertex (>=0.1.5)
28
27
  Requires-Dist: nemoguardrails (>=0.9.0)
@@ -2,7 +2,7 @@ datarobot_dome/__init__.py,sha256=B5Rx8_CNCNsOpxBbRj27XOXCfRZmvmrAR-NzlzIKnDw,58
2
2
  datarobot_dome/async_http_client.py,sha256=wkB4irwvnchNGzO1bk2C_HWM-GOSB3AUn5TXKl-X0ZI,9649
3
3
  datarobot_dome/chat_helper.py,sha256=BzvtUyZSZxzOqq-5a2wQKhHhr2kMlcP1MFrHaDAeD_o,9671
4
4
  datarobot_dome/constants.py,sha256=vM2_JkXbn4dkWARCqxNfLriSo0E05LDXVrwNktptpuc,10416
5
- datarobot_dome/drum_integration.py,sha256=KvCtZKKlNbEFkjHEaEw9a3VSAtmx7miHWnxMpjB5Y0A,40487
5
+ datarobot_dome/drum_integration.py,sha256=HresblJwlCk_sRnWReWQWeZMg5rYzKTA2hjmy1Rcn6U,40553
6
6
  datarobot_dome/guard.py,sha256=1INYx17n9ToiB5bzI-jIReUUuqkK_ucxpOx4jQLts6g,33264
7
7
  datarobot_dome/guard_executor.py,sha256=AOI8MZeZETHMoFgBePe0wa2vE9d2975MYQnEDHLZL7s,35462
8
8
  datarobot_dome/guard_helpers.py,sha256=ajxm-w7MS7eN5DMMO-jbbzjcOYMZ-LvhO53n2NI5_Fk,16773
@@ -15,10 +15,10 @@ datarobot_dome/metrics/factory.py,sha256=7caa8paI9LuFXDgguXdC4on28V7IwwIsKJT2Z-A
15
15
  datarobot_dome/metrics/metric_scorer.py,sha256=uJ_IJRw7ZFHueg8xjsaXbt0ypO7JiydZ0WapCp96yng,2540
16
16
  datarobot_dome/pipeline/__init__.py,sha256=B5Rx8_CNCNsOpxBbRj27XOXCfRZmvmrAR-NzlzIKnDw,583
17
17
  datarobot_dome/pipeline/llm_pipeline.py,sha256=g7PAiLOMADr2DQFrtg2NrUj4u_tcvnoiJXrBR8xWsmY,18789
18
- datarobot_dome/pipeline/pipeline.py,sha256=fGMShAio18oDaz8hE-mO3QYdKbccb-qTIhgtLOLrdJs,17399
18
+ datarobot_dome/pipeline/pipeline.py,sha256=7UmvrZtNxTGewpgM4cf2oThHPoJSarEU1Dyp7xEsASU,17401
19
19
  datarobot_dome/pipeline/vdb_pipeline.py,sha256=q3c_Z-hGUqhH6j6n8VpS3wZiBIkWgpRDsBnyJyZhiw4,9855
20
20
  datarobot_dome/runtime.py,sha256=FD8wXOweqoQVzbZMh-mucL66xT2kGxPsJUGAcJBgwxw,1468
21
21
  datarobot_dome/streaming.py,sha256=6nYvh6SoxPRLfO6GGdEoHsQuyLP9oX1lDMe8IeGo4lw,17801
22
- datarobot_moderations-11.2.0.dist-info/METADATA,sha256=dj-ypRVsYnUIYEpKZTnxaBQtBo8V99-dP6l7rTMIvow,4793
23
- datarobot_moderations-11.2.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
24
- datarobot_moderations-11.2.0.dist-info/RECORD,,
22
+ datarobot_moderations-11.2.1.dist-info/METADATA,sha256=fEyM5I3z0qS9dT2ofZ3J8UAN_ybm2SBF_46mifEHIpA,4742
23
+ datarobot_moderations-11.2.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
24
+ datarobot_moderations-11.2.1.dist-info/RECORD,,