Technical & DevelopmentIntermediate
azure-ai-textanalytics-py
NLP: sentiment, entities, key phrases
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/microsoft/skills --skill azure-ai-textanalytics-pynpx skills add https://github.com/microsoft/skills --skill azure-ai-textanalytics-pyOr paste this URL into your assistant to install:
Overview
What This Skill Does
Azure AI Text Analytics SDK for Python wraps the Azure AI Language service REST API. It covers sentiment analysis, named entity recognition, PII detection and redaction, key phrase extraction, language detection, and healthcare NLP.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
Azure AI Text Analytics SDK for Python
Client library for Azure AI Language service NLP capabilities including sentiment, entities, key phrases, and more.
Installation
pip install azure-ai-textanalytics
Environment Variables
AZURE_LANGUAGE_ENDPOINT=https://<resource>.cognitiveservices.azure.com # Required for all auth methods
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
AZURE_LANGUAGE_KEY=<your-api-key> # Only required for the legacy API-key auth path below
Authentication & Lifecycle
🔑 Two rules apply to every code sample below:
- Prefer
DefaultAzureCredential. It works locally (Azure CLI / VS Code / Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account/API keys — they bypass Entra audit and rotation.
- Local dev:
DefaultAzureCredentialworks as-is.- Production: set
AZURE_TOKEN_CREDENTIALS=prod(orAZURE_TOKEN_CREDENTIALS=<specific_credential>) to constrain the credential chain to production-safe credentials.
Lines 1 - 25 of 242
Recommendations
Explore other random skills
CreativeIntermediate
figma-implement-design
Translate Figma designs into production-ready code with 1:1 visual fidelity
CreativeIntermediate
figma-use
Prerequisite skill for every use_figma tool call — write/read actions in Figma context
CreativeBeginner
frontend-skill
Create visually strong landing pages, websites, and app UIs with restrained composition