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")
Train call to add suggestions to the knowledgebase.
curl \
  -H "Authorization: $API_KEY" \
  /knowledgebases/{kbId}/train
GenerateAnswer call to query the knowledgebase.
curl \
  -H "Authorization: $API_KEY" \
  /knowledgebases/{kbId}/generateAnswer
SDK on GitHub 📄 API Docs
SDK
litellm
Python
API
azure.com
azure.com:cognitiveservices-QnAMakerRuntime
At a glance
Language Python
Endpoints2