skillfed

azure-cognitiveservices-knowledge-qnamaker

Microsoft Azure QnA Maker Client Library for Python

azure-cognitiveservices-knowledge-qnamaker v0.3.1 73.7K downloads/30d#14,943 on PyPI5,588
Permissive license MIT License Active released

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-qnamaker

uv

uv add azure-cognitiveservices-knowledge-qnamaker

poetry

poetry add azure-cognitiveservices-knowledge-qnamaker

Installing 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

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure qna maker clientquestion answering service pythonazure cognitive services qnaqna maker sdk pythonazure knowledge base client
deprecatedazure-sdkunmaintained

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

azure-ai-language-questionanswering

Python client library for Azure's Question…

permissive · top 15,000 on PyPI

azure-applicationinsights

Provides a Python client library for querying…

permissive · top 5,000 on PyPI

azure-mgmt-logic

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-loganalytics

Provides a Python client for querying Azure Log…

permissive · top 5,000 on PyPI

azure-ai-projects

Provides a Python client for Microsoft Foundry…

permissive · top 5,000 on PyPI

azure-mgmt-streamanalytics

Provides Python client library for managing…

permissive · top 15,000 on PyPI

azure-cognitiveservices-speech

Provides Python bindings to Microsoft's Speech…

unclear · top 5,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI

azure-storage

This package is a deprecated bundle for Azure…

permissive · top 5,000 on PyPI

azure-mgmt-cognitiveservices

Manages Azure Cognitive Services…

unclear · top 5,000 on PyPI