Registry / ai-ml / datarobot-genai

datarobot-genai

JSON →
library0.15.114pypypiunverified

Python helper library for interacting with DataRobot's GenAI capabilities, including prompt engineering, LLM deployments, and evaluation. Current version 0.15.114, released under an active development cadence (frequent updates).

pip install datarobot-genai
INSTALL
IMPORT
SIG · DATAROBOT-GENAI
D
datarobot-genai
ai-mlpythonv0.15.114
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DataRobotGenAI
from datarobot_genai import DataRobotGenAI
from datarobot_genai import DataRobotGenAI

Instantiate the main client with API token and endpoint, then list GenAI deployments.

from datarobot_genai import DataRobotGenAI client = DataRobotGenAI( token=os.environ.get('DATAROBOT_API_TOKEN', ''), endpoint=os.environ.get('DATAROBOT_ENDPOINT', 'https://app.datarobot.com/api/v2') ) # Example: list deployments deployments = client.deployments.list() print(deployments)
Debug
Known issues
breakingIn v0.13.0, the 'Playground' API was renamed to 'Experiment' – method calls like client.playground.* will fail.
fix
Update your code to use client.experiment.* instead of client.playground.*.
affects: >=0.13.0
deprecatedThe `ContentMode` enum in `datarobot_genai.enums` is deprecated; use `ContentMode` from `datarobot_genai.common.enums`.
fix
Update imports to `from datarobot_genai.common.enums import ContentMode`.
affects: >=0.14.0
gotchaAPI token is required; not passing token or setting a bad one leads to obscure auth errors.
fix
Always set DATAROBOT_API_TOKEN environment variable or pass token directly; check token validity.
affects: all
Upgrade
Version history
0.15.114latest on PyPI · released Jun 5, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
datarobot-genai — pip install datarobot-genai · libregistry