$npx skillfedfor your agent

datarobot-moderations

DataRobot Monitoring and Moderation framework

With conditionsPyPI Artificial IntelligenceReleased Aug 202689.5K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — datarobot_moderations-11.3.1-py3-none-any.whl
v11.3.1 · released 2026-08-14 · Python <3.13,>=3.10 · 14 runtime deps: aiohttp, backoff, click, numpy, opentelemetry-api, opentelemetry-exporter-otlp-proto-http, opentelemetry-instrumentation, opentelemetry-sdk

Yes, if you are already in the DataRobot ecosystem and need LLM moderation with centralized telemetry. The library is actively maintained, has low install friction, and covers common guard types out of the box. However, the proprietary license and unclear license treatment require legal review before use outside DataRobot deployments. Consider alternatives if you need a permissively licensed or vendor-neutral moderation framework.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires DataRobot API credentials (endpoint and api_token) via environment variables or explicit arguments; async/await context required for evaluation methods.
  • Low install friction; pure Python wheel with 14 runtime dependencies including standard data/ML libraries (numpy, pandas, pillow) and OpenTelemetry instrumentation.
  • Active maintenance as of latest release.

License · maintenance · safety

(unclear) — Licensed under DataRobot Tool and Utility Agreement (proprietary, non-standard). License treatment is unclear—review the full terms before use in commercial or redistributed projects.

last release 2026-08-14 (0 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 89,547 downloads/mo, #13,652 on PyPI

Verify before relying

pip install datarobot-moderations

from datarobot_moderations import ModerationPipeline

pipeline = ModerationPipeline.from_yaml("moderation_config.yaml", endpoint="...", api_token="...")
result, latency, df = await pipeline.evaluate_prompt_async("user prompt")
  • Whether the proprietary DataRobot Tool and Utility Agreement permits use outside DataRobot deployments.
  • Performance characteristics and latency overhead of guard evaluation at scale.
  • Availability and stability of optional extras and their transitive dependency footprint.
Same gist for agents: .md · .json

What it is and what it does

DataRobot Moderations is a library that wraps LLM inference pipelines to enforce content moderation policies. It reads guard rules from YAML configuration and evaluates prompts before they reach the LLM (prescore guards) and responses after generation (postscore guards), returning blocked/modified text and metric values. The library supports multiple guard types including token-count, ROUGE-1, cost, and optional evaluators for tasks like faithfulness and task adherence.

The core workflow is: load a pipeline from YAML, dict, or Pydantic config, call evaluate_prompt_async or evaluate_response_async for individual checks, or use evaluate_full_pipeline_async to run prescore → LLM → postscore in sequence. It integrates with OpenTelemetry for tracing and metrics export. The library depends on aiohttp, requests, pydantic, and data libraries (numpy, pandas, pillow, tiktoken, rouge-score) for core functionality; optional extras pull in heavier ML runtimes and cloud SDK dependencies.

Use it for

  • Block adversarial or injection-attack prompts before they reach a production LLM deployment.
  • Enforce output safety policies on LLM responses (e.g., block factually inconsistent or off-topic completions).
  • Monitor and log moderation metrics (token counts, ROUGE scores, cost) for compliance and audit trails.
  • Integrate model-backed evaluators for task-specific guards like faithfulness or guideline adherence.
  • Ship traces and metrics to DataRobot's telemetry backend for centralized monitoring of LLM safety.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already in the DataRobot ecosystem and need LLM moderation with centralized telemetry.

The library is actively maintained, has low install friction, and covers common guard types out of the box. However, the proprietary license and unclear license treatment require legal review before use outside DataRobot deployments. Consider alternatives if you need a permissively licensed or vendor-neutral moderation framework.

Install

datarobot-moderations on PyPI

Before you install

Low install friction; pure Python wheel with 14 runtime dependencies including standard data/ML libraries (numpy, pandas, pillow) and OpenTelemetry instrumentation. Active maintenance as of latest release.

Requires DataRobot API credentials (endpoint and api_token) via environment variables or explicit arguments; async/await context required for evaluation methods.

License in practice

Licensed under DataRobot Tool and Utility Agreement (proprietary, non-standard). License treatment is unclear—review the full terms before use in commercial or redistributed projects.

Quickstart

pip install datarobot-moderations

from datarobot_moderations import ModerationPipeline

pipeline = ModerationPipeline.from_yaml("moderation_config.yaml", endpoint="...", api_token="...")
result, latency, df = await pipeline.evaluate_prompt_async("user prompt")

Verify before relying

  • Whether the proprietary DataRobot Tool and Utility Agreement permits use outside DataRobot deployments.
  • Performance characteristics and latency overhead of guard evaluation at scale.
  • Availability and stability of optional extras and their transitive dependency footprint.

Package facts

LicenseNot declared unclear
Python supportCapped below the current Python release <3.13,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
14 packages
aiohttpbackoffclicknumpyopentelemetry-apiopentelemetry-exporter-otlp-proto-httpopentelemetry-instrumentationopentelemetry-sdkpandaspillowpydanticrequestsrouge-scoretiktoken
MaintenanceActively maintained 0 days since the last release
First released
Downloads89,547 / month, #13,652 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: Other/Proprietary LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Evidence: datarobot_moderations-11.3.1-py3-none-any.whl

Tags

Capabilities
llm prompt response moderationcontent guard enforcementai safety guardrailsprompt injection blockingllm output filtering
Topics
llm-safetycontent-moderationguardrails

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “llm prompt response moderation”

  • datarobot-moderationsEnforces content moderation on LLM prompts and responses using…
  • nemoguardrailsAdds programmable guardrails to LLM-based conversational applications…
  • opikOpik is an open-source LLM observability and evaluation platform that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also llm-guard · nemoguardrails · toolguard · guardrails-ai · datarobot-genai · datarobot · guardrails-ai-types · datarobot-drum · deepteam · datarobot-predict

Further reading