datarobot_genai.dragent.plugins.llm_providers
llm_providers
DataRobotReasoningMixin
Bases: BaseModel
Shared reasoning toggle for all DataRobot LLM provider configs.
Source code in datarobot_genai/dragent/plugins/llm_providers.py
DataRobotLLMComponentModelConfig
Bases: DataRobotReasoningMixin, LLMConfig, OpenAIModelConfig
A DataRobot LLM provider to be used with an LLM client.
Source code in datarobot_genai/dragent/plugins/llm_providers.py
DataRobotLLMGatewayModelConfig
Bases: DataRobotReasoningMixin, OpenAIModelConfig
A DataRobot LLM provider to be used with an LLM client.
Source code in datarobot_genai/dragent/plugins/llm_providers.py
DataRobotLLMDeploymentModelConfig
Bases: DataRobotReasoningMixin, OpenAIModelConfig
A DataRobot LLM provider to be used with an LLM client.
Source code in datarobot_genai/dragent/plugins/llm_providers.py
DataRobotNIMModelConfig
Bases: DataRobotReasoningMixin, NIMModelConfig
A DataRobot NIM LLM provider to be used with an LLM client.
Source code in datarobot_genai/dragent/plugins/llm_providers.py
DataRobotLitellmConfig
Bases: DataRobotReasoningMixin, LiteLlmModelConfig
A DataRobot Litellm provider to be used with an LLM client.
Source code in datarobot_genai/dragent/plugins/llm_providers.py
DataRobotLLMRouterConfig
Bases: OpenAIModelConfig
Primary + one-or-more fallback LLMs with automatic failover via LiteLLM Router.
Example workflow YAML::
datarobot_llm:
_type: datarobot-llm-router
primary:
llm_deployment_id: "abc123"
use_datarobot_llm_gateway: false
fallbacks:
- llm_deployment_id: "def456"
use_datarobot_llm_gateway: false
num_retries: 3