Sign in
Explore
Skills · SkillDevOps & CloudCloud platformsReviewed

azure-search-documents-py

Azure AI Search for Python: vector and hybrid search, semantic ranking, indexing and skillsets.

Kind
Skill
Works with
Claude Code
Languages
Python
Source
microsoft/skills @ 2130750147de
Path
.github/plugins/azure-sdk-python/skills/azure-search-documents-py/SKILL.md
Jobs
Implementation
Topics
Cloud platforms

Credit

Made by
microsoft
Original
github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/azure-search-documents-py/ (the skill folder)
  • 4 file(s) the skill refers to
  • 5 other files in the folder: references/agentic-retrieval.md, references/semantic-ranking.md, references/vector-search.md, scripts/setup_agentic_retrieval.py and 1 more
Runs scripts
Yes
  • scripts/setup_agentic_retrieval.py
  • scripts/setup_vector_index.py
  • shell block in the text
  • script file in the folder (scripts/setup_agentic_retrieval.py)
Uses the network
Yes
  • downloads Python packages
Needs secrets
Yes
  • AZURE_SEARCH_API_KEY
  • AZURE_TOKEN_CREDENTIALS
Reads environment variables
  • AZURE_SEARCH_ENDPOINT
  • AZURE_SEARCH_INDEX_NAME
  • AZURE_SEARCH_API_KEY
  • AZURE_TOKEN_CREDENTIALS
  • SEARCH_ENDPOINT
  • AOAI_ENDPOINT
Reads outside the project
  • /usr/bin/env (scripts/setup_agentic_retrieval.py)
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/setup_agentic_retrieval.py: Create Azure AI Search agentic retrieval infrastructure.
  • scripts/setup_vector_index.py: Create an Azure AI Search index with vector search capabilities.
Source revision
2130750147de
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Azure AI Search SDK for Python

Full-text, vector, and hybrid search with AI enrichment capabilities.

## Installation

```bash
pip install azure-search-documents
```

## Environment Variables

```bash
AZURE_SEARCH_ENDPOINT=https://<service-name>.search.windows.net  # Required for all auth methods
AZURE_SEARCH_INDEX_NAME=<your-index-name>  # Required for all auth methods
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
AZURE_SEARCH_API_KEY=<your-api-key>  # Only required for the legacy API-key auth path below
```

## Authentication & Lifecycle

> **🔑 Two rules apply to every code sample below:**
>
> 1. **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: `DefaultAzureCredential` works as-is.
>    - Production: set `AZURE_TOKEN_CREDENTIALS=prod` (or `AZURE_TOKEN_CREDENTIALS=<specific_credential>`) to constrain the credential chain to production-safe credentials.
…