Using litellm with azure.com

Python integration

Install
pip install litellm
Quick start
import litellm

# Set your API key
client = litellm.Client(api_key="YOUR_API_KEY")
List Custom Models
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  /custom/models
Get Custom Model
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  /custom/models/{modelId}
Get Analyze Layout Result
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  /layout/analyzeResults/{resultId}
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:cognitiveservices-FormRecognizer
At a glance
Language Python
Endpoints10