Skip to content

Commit ff2f845

Browse files
Apply suggestions from code review
Co-authored-by: Nate Goudreault <[email protected]>
1 parent 66d3136 commit ff2f845

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/my-website/docs/providers/datarobot.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ import Tabs from '@theme/Tabs';
22
import TabItem from '@theme/TabItem';
33

44
# DataRobot
5-
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).
5+
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).
66

7-
## Usage - environment variables
7+
## Usage
8+
9+
### Environment variables
810
```python
911
import os
1012
from litellm import completion
@@ -15,10 +17,9 @@ response = completion(
1517
model="datarobot/openai/gpt-4o-mini",
1618
messages=messages,
1719
)
18-
```
1920

2021

21-
## Usage - completion
22+
### Completion
2223
```python
2324
import litellm
2425
import os
@@ -35,8 +36,8 @@ response = litellm.completion(
3536
print(response)
3637
```
3738

38-
## DataRobot Completion Models
39+
## DataRobot completion models
3940

40-
🚨 LiteLLM supports _all_ DataRobot LLM gateway models, to get a list for your installation and user account, you can send this simple CURL command:
41+
🚨 LiteLLM supports _all_ DataRobot LLM gateway models. To get a list for your installation and user account, send the following CURL command:
4142
`curl -X GET -H "Authorization: Bearer $DATAROBOT_API_TOKEN" "$DATAROBOT_ENDPOINT/genai/llmgw/catalog/" | jq | grep 'model":'DATAROBOT_ENDPOINT/genai/llmgw/catalog/`
4243

0 commit comments

Comments
 (0)