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")
Lists all of the available Azure Machine Learning Studio Commitment Plan RP R…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /providers/Microsoft.MachineLearning/operations
Lists the available commitment plan SKUs.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/skus
Retrieve all Azure ML commitment plans in a subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/commitmentPlans
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:machinelearning-commitmentPlans

At a glance

Language Python
Endpoints12