azure-cognitiveservices-knowledge-qnamaker
Microsoft Azure QnA Maker Client Library for Python
What it is and what it does
This package provides a Python SDK for the Azure QnA Maker service, a cloud-based question-answering platform. It offers both authoring (knowledge base creation and management) and runtime (query answering) capabilities through the QnAMakerClient class. The library wraps Azure's REST API, handling authentication and serialization through its dependencies on msrest and azure-common.
However, the package is no longer actively maintained. Microsoft has migrated QnA Maker functionality into the broader azure-ai-language-questionanswering package, and this library should not be used for new projects. Existing codebases depending on it will need to migrate to the replacement package to receive updates, bug fixes, and compatibility with current Azure services.
Use it for:
- Querying an existing Azure QnA Maker knowledge base from a Python application (runtime operations).
- Building or updating QnA Maker knowledge bases programmatically via the authoring API.
- Maintaining legacy Python applications that were built against this SDK before the migration to azure-ai-language-questionanswering.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for interacting with Microsoft Azure's QnA Maker service, though the package is no longer maintained and has been superseded by azure-ai-language-questionanswering.
No. Do not install this package for new projects—use azure-ai-language-questionanswering instead. The package is explicitly unmaintained as of August 2024 and will not receive updates or security patches. Only consider it if you are maintaining existing code that already depends on it and cannot yet migrate.
Install
azure-cognitiveservices-knowledge-qnamaker on PyPI
pip
pip install azure-cognitiveservices-knowledge-qnamakeruv
uv add azure-cognitiveservices-knowledge-qnamakerpoetry
poetry add azure-cognitiveservices-knowledge-qnamakerInstalling azure-cognitiveservices-knowledge-qnamaker
Before you install
Low install friction with stable dependencies (msrest, azure-common, azure-mgmt-core, azure-cognitiveservices-knowledge-nspkg), but the package is explicitly marked inactive and no longer maintained as of version 0.3.1 (2024-08-13). The repository remains active, but new development has ceased.
License in practice
Licensed under MIT (permissive), so you may use, modify, and distribute it freely with minimal restrictions.
Quickstart
# Install
pip install azure-cognitiveservices-knowledge-qnamaker
# Import and use (example)
from azure.cognitiveservices.knowledge.qnamaker import QnAMakerClient
from msrest.authentication import CognitiveServicesCredentials
credentials = CognitiveServicesCredentials('<your-api-key>')
client = QnAMakerClient(endpoint='<your-endpoint>', credentials=credentials)
This package is no longer maintained. Microsoft recommends migrating to azure-ai-language-questionanswering for ongoing support and compatibility with current Azure services.
Verify before relying
- Whether existing code using this package will continue to work with current Azure QnA Maker API versions after the package's maintenance ended.
- Compatibility with Python versions beyond 3.10 or with modern dependency versions of msrest and azure-common.
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — msrest, azure-common, azure-mgmt-core, azure-cognitiveservices-knowledge-nspkg |
| Maintenance | actively maintained — 730 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,713/month — #14,943 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_cognitiveservices_knowledge_qnamaker-0.3.1-py2.py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
azure-ai-language-questionansweringPython client library for Azure's Question…
permissive · top 15,000 on PyPI
azure-applicationinsightsProvides a Python client library for querying…
permissive · top 5,000 on PyPI
azure-mgmt-logicProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-loganalyticsProvides a Python client for querying Azure Log…
permissive · top 5,000 on PyPI
azure-ai-projectsProvides a Python client for Microsoft Foundry…
permissive · top 5,000 on PyPI
azure-mgmt-streamanalyticsProvides Python client library for managing…
permissive · top 15,000 on PyPI
azure-cognitiveservices-speechProvides Python bindings to Microsoft's Speech…
unclear · top 5,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-storageThis package is a deprecated bundle for Azure…
permissive · top 5,000 on PyPI
azure-mgmt-cognitiveservicesManages Azure Cognitive Services…
unclear · top 5,000 on PyPI