Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Apply suggestions from code review

Carson Geef90072b226ea
diff --git a/docs/my-website/docs/providers/datarobot.md b/docs/my-website/docs/providers/datarobot.md
index 1149d11bd2d..3f4a0f71ac4 100644
--- a/docs/my-website/docs/providers/datarobot.md
+++ b/docs/my-website/docs/providers/datarobot.md
@@ -2,9 +2,11 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# DataRobot
-LiteLLM supports all models from [DataRobot](https://datarobot.com). Selecting `datarobot` as the provider routes your request through the `datarobot` OpenAI-compatible endpoint using the upstream [official OpenAI Python API library](https://github.com/openai/openai-python/blob/main/README.md).
+LiteLLM supports all models from [DataRobot](https://datarobot.com). Select `datarobot` as the provider to route your request through the `datarobot` OpenAI-compatible endpoint using the upstream [official OpenAI Python API library](https://github.com/openai/openai-python/blob/main/README.md).
-## Usage - environment variables
+## Usage
+
+### Environment variables
```python
import os
from litellm import completion
@@ -15,10 +17,9 @@ response = completion(
model="datarobot/openai/gpt-4o-mini",
messages=messages,
)
-```
-## Usage - completion
+### Completion
```python
import litellm
import os
@@ -35,8 +36,8 @@ response = litellm.completion(
print(response)
```
-## DataRobot Completion Models
+## DataRobot completion models
-🚨 LiteLLM supports _all_ DataRobot LLM gateway models, to get a list for your installation and user account, you can send this simple CURL command:
+🚨 LiteLLM supports _all_ DataRobot LLM gateway models. To get a list for your installation and user account, send the following CURL command:
`curl -X GET -H "Authorization: Bearer $DATAROBOT_API_TOKEN" "$DATAROBOT_ENDPOINT/genai/llmgw/catalog/" | jq | grep 'model":'DATAROBOT_ENDPOINT/genai/llmgw/catalog/`