Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8491eb2
fix multipartform
amber-yujueWang Nov 20, 2025
0e88ba1
fix pylint
amber-yujueWang Nov 20, 2025
360bbd0
Merge branch 'main' into wangamber/llmspeechsdkpreviewfix
amber-yujueWang Nov 20, 2025
9e96ae8
Merge branch 'main' into wangamber/llmspeechsdkpreviewfix
amber-yujueWang Nov 20, 2025
a65e873
update patch
amber-yujueWang Nov 20, 2025
d798c72
Merge branch 'wangamber/llmspeechsdkpreviewfix' of https://github.com…
amber-yujueWang Nov 20, 2025
4e1dcab
Merge remote-tracking branch 'upstream/main'
amber-yujueWang Nov 24, 2025
128bf33
Merge remote-tracking branch 'upstream/main'
amber-yujueWang Dec 4, 2025
2979ca0
Merge remote-tracking branch 'upstream/main'
amber-yujueWang Dec 19, 2025
15779eb
Merge remote-tracking branch 'upstream/main'
amber-yujueWang Feb 3, 2026
7ea0f14
Merge remote-tracking branch 'upstream/main'
amber-yujueWang Feb 4, 2026
a55d70b
Merge remote-tracking branch 'upstream/main'
amber-yujueWang Feb 4, 2026
9d16c5c
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-python
amber-yujueWang Mar 25, 2026
5a87137
relocate transcription service package
amber-yujueWang Mar 25, 2026
a9809ef
fix asset tag
amber-yujueWang Mar 25, 2026
4d11b8d
redo test recording
amber-yujueWang Mar 25, 2026
ed302bf
Merge branch 'main' into wangamber/update-transcription-service-folder
amber-yujueWang Mar 25, 2026
4217a07
Merge branch 'main' into wangamber/update-transcription-service-folder
amber-yujueWang Mar 26, 2026
2a32450
Merge branch 'main' into wangamber/update-transcription-service-folder
amber-yujueWang Mar 26, 2026
cce5998
Merge branch 'main' into wangamber/update-transcription-service-folder
amber-yujueWang Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions sdk/cognitiveservices/azure-ai-transcription/assets.json

This file was deleted.

4 changes: 1 addition & 3 deletions sdk/cognitiveservices/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,4 @@ extends:
- name: azure-cognitiveservices-personalizer
safeName: azurecognitiveservicespersonalizer
- name: azure-mgmt-cognitiveservices
safeName: azuremgmtcognitiveservices
- name: azure-ai-transcription
safeName: azureaitranscription
safeName: azuremgmtcognitiveservices
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ When you submit a pull request, a CLA-bot will automatically determine whether y
This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, see the [Code of Conduct FAQ][code_of_conduct_faq] or contact [opencode@microsoft.com][opencode_email] with any additional questions or comments.

<!-- LINKS -->
[source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription
[source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription
[pypi_package]: https://pypi.org/project/azure-ai-transcription/
[api_reference]: https://learn.microsoft.com/python/api/azure-ai-transcription/azure.ai.transcription?view=azure-python-preview
[product_docs]: https://learn.microsoft.com/azure/ai-services/speech-service/
Expand All @@ -439,12 +439,12 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
[pip]: https://pypi.org/project/pip/
[azure_portal]: https://portal.azure.com
[azure_cli]: https://learn.microsoft.com/cli/azure
[transcription_client]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/azure/ai/transcription/_client.py
[transcription_client]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/azure/ai/transcription/_client.py
[azure_core_exceptions]: https://aka.ms/azsdk/python/core/docs#module-azure.core.exceptions
[python_logging]: https://docs.python.org/3/library/logging.html
[rest_api]: https://learn.microsoft.com/azure/ai-services/speech-service/rest-speech-to-text
[samples_directory]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples
[azure_sdk_samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples
[samples_directory]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples
[azure_sdk_samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples
[speech_docs]: https://learn.microsoft.com/azure/ai-services/speech-service/
[cla]: https://cla.microsoft.com
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
Expand Down
6 changes: 6 additions & 0 deletions sdk/transcription/azure-ai-transcription/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/transcription/azure-ai-transcription",
"Tag": "python/transcription/azure-ai-transcription_5da33bb79f"
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ These code samples demonstrate how to use the Azure AI Speech Transcription clie
$env:AZURE_SPEECH_API_KEY="<your-api-key>"
```

**Note:** For Azure AD authentication (recommended for production), install `azure-identity` and configure authentication as described in the [main README](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/cognitiveservices/azure-ai-transcription/README.md#authenticate-the-client).
**Note:** For Azure AD authentication (recommended for production), install `azure-identity` and configure authentication as described in the [main README](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/transcription/azure-ai-transcription/README.md#authenticate-the-client).

## Running the Samples

Expand All @@ -64,29 +64,29 @@ python async_samples/sample_transcribe_audio_file_async.py

| Sample | Description |
|--------|-------------|
| [sample_transcribe_audio_file.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_audio_file.py) | Transcribe an audio file |
| [sample_transcribe_audio_file_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_audio_file_async.py) | Transcribe an audio file (async) |
| [sample_transcribe_from_url.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_from_url.py) | Transcribe audio from a URL |
| [sample_transcribe_from_url_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_from_url_async.py) | Transcribe audio from a URL (async) |
| [sample_transcribe_audio_file.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_audio_file.py) | Transcribe an audio file |
| [sample_transcribe_audio_file_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_audio_file_async.py) | Transcribe an audio file (async) |
| [sample_transcribe_from_url.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_from_url.py) | Transcribe audio from a URL |
| [sample_transcribe_from_url_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_from_url_async.py) | Transcribe audio from a URL (async) |

### Advanced Samples

| Sample | Description |
|--------|-------------|
| [sample_transcribe_with_diarization.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_with_diarization.py) | Transcribe with speaker diarization |
| [sample_transcribe_with_diarization_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_with_diarization_async.py) | Transcribe with speaker diarization (async) |
| [sample_transcribe_multiple_languages.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_multiple_languages.py) | Transcribe with multiple language detection |
| [sample_transcribe_multiple_languages_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_multiple_languages_async.py) | Transcribe with multiple language detection (async) |
| [sample_transcribe_with_profanity_filter.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_with_profanity_filter.py) | Transcribe with profanity filtering |
| [sample_transcribe_with_profanity_filter_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_with_profanity_filter_async.py) | Transcribe with profanity filtering (async) |
| [sample_transcribe_with_phrase_list.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_with_phrase_list.py) | Transcribe with custom phrase list |
| [sample_transcribe_with_phrase_list_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_with_phrase_list_async.py) | Transcribe with custom phrase list (async) |
| [sample_transcribe_with_enhanced_mode.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_with_enhanced_mode.py) | Transcribe with enhanced mode for advanced capabilities |
| [sample_transcribe_with_enhanced_mode_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/samples/async_samples/sample_transcribe_with_enhanced_mode_async.py) | Transcribe with enhanced mode (async) |
| [sample_transcribe_with_diarization.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_with_diarization.py) | Transcribe with speaker diarization |
| [sample_transcribe_with_diarization_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_with_diarization_async.py) | Transcribe with speaker diarization (async) |
| [sample_transcribe_multiple_languages.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_multiple_languages.py) | Transcribe with multiple language detection |
| [sample_transcribe_multiple_languages_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_multiple_languages_async.py) | Transcribe with multiple language detection (async) |
| [sample_transcribe_with_profanity_filter.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_with_profanity_filter.py) | Transcribe with profanity filtering |
| [sample_transcribe_with_profanity_filter_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_with_profanity_filter_async.py) | Transcribe with profanity filtering (async) |
| [sample_transcribe_with_phrase_list.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_with_phrase_list.py) | Transcribe with custom phrase list |
| [sample_transcribe_with_phrase_list_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_with_phrase_list_async.py) | Transcribe with custom phrase list (async) |
| [sample_transcribe_with_enhanced_mode.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/sample_transcribe_with_enhanced_mode.py) | Transcribe with enhanced mode for advanced capabilities |
| [sample_transcribe_with_enhanced_mode_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/samples/async_samples/sample_transcribe_with_enhanced_mode_async.py) | Transcribe with enhanced mode (async) |

## Additional Resources

- [Azure AI Speech Transcription documentation](https://learn.microsoft.com/azure/ai-services/speech-service/)
- [Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription)
- [Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription)
- [Package (PyPI)](https://pypi.org/project/azure-ai-transcription/)
- [API reference documentation](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cognitiveservices/azure-ai-transcription/azure/ai/transcription)
- [API reference documentation](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/transcription/azure-ai-transcription/azure/ai/transcription)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extends:
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
BuildTargetingString: azure-ai-transcription
ServiceDirectory: cognitiveservices
ServiceDirectory: transcription
CloudConfig:
Public:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
Expand Down
33 changes: 33 additions & 0 deletions sdk/transcription/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
branches:
include:
- main
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/transcription/

pr:
branches:
include:
- main
- feature/*
- hotfix/*
- release/*
- restapi*
paths:
include:
- sdk/transcription/

extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: transcription
TestTimeoutInMinutes: 150
Artifacts:
- name: azure-ai-transcription
safeName: azureaitranscription