Using litellm with azure.com

Python integration

Install
pip install litellm
Quick start
import litellm

# Use an OAuth2 access token
client = litellm.Client(access_token="YOUR_ACCESS_TOKEN")
Query the list of Assets in a workspace.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets
Query the list of Models in a workspace.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models
Query the list of Services in a Workspace.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:machinelearningservices-modelManagement
At a glance
Language Python
Endpoints23