Using azure-sdk-for-python with azure.com

Python integration

✓ Official SDK
Install
pip install azure-sdk-for-python
Quick start
import azure-sdk-for-python

# Set your API key
client = azure_sdk_for_python.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
azure-sdk-for-python
Python
API
azure.com
azure.com:cognitiveservices-QnAMakerRuntime
At a glance
Language Python
Endpoints2
✓ Official