-
Notifications
You must be signed in to change notification settings - Fork 2.1k
llm-speech-transcription sdk #47172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
llm-speech-transcription sdk #47172
Conversation
…jueWang/azure-sdk-for-java into wangamber/transcription
139e819 to
f86ca0d
Compare
…jueWang/azure-sdk-for-java into wangamber/transcription
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
2d323c4 to
b37ab49
Compare
e8152cb to
fa0ed79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new Azure AI Speech Transcription SDK for Java, providing client libraries for converting audio to text using Azure Cognitive Services. The SDK is generated using TypeSpec and includes comprehensive test coverage, samples, and documentation.
Key changes:
- New client library:
azure-ai-speech-transcription(version 1.0.0-beta.1) - Support for both synchronous (
TranscriptionClient) and asynchronous (TranscriptionAsyncClient) clients - Multiple authentication methods: API Key (KeyCredential) and Azure AD (TokenCredential)
- Advanced features: speaker diarization, profanity filtering, enhanced mode with prompts and translation
- Comprehensive test suite with base classes, sync/async tests, and error handling
- Multiple runnable samples demonstrating various features
- Full documentation including README, CHANGELOG, and JavaDoc code snippets
Reviewed Changes
Copilot reviewed 50 out of 52 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/cognitiveservices/pom.xml | Added new module to parent POM |
| sdk/cognitiveservices/ci.yml | Updated CI configuration for the new SDK |
| sdk/cognitiveservices/azure-ai-speech-transcription/pom.xml | Maven project configuration with dependencies |
| sdk/cognitiveservices/azure-ai-speech-transcription/tspconfig.yaml | TypeSpec configuration for code generation |
| sdk/cognitiveservices/azure-ai-speech-transcription/tsp-location.yaml | TypeSpec source location specification |
| TranscriptionClient.java | Synchronous client implementation |
| TranscriptionAsyncClient.java | Asynchronous client implementation |
| TranscriptionClientBuilder.java | Builder for client instantiation |
| TranscriptionServiceVersion.java | Service API version enum |
| TranscriptionOptions.java | Request options model with audio/URL constructors |
| TranscriptionResult.java | Response model with Duration conversion |
| TranscriptionClientTestBase.java | Base test class with helper methods |
| TranscriptionClientTest.java | Synchronous client tests |
| TranscriptionAsyncClientTest.java | Asynchronous client tests |
| BasicTranscriptionSample.java | Basic usage sample |
| AdvancedTranscriptionSample.java | Advanced features sample |
| AsyncTranscriptionSample.java | Async client sample |
| ErrorHandlingSample.java | Error handling patterns sample |
| EnhancedModeSample.java | Enhanced mode features sample |
| README.md | Comprehensive library documentation |
| CHANGELOG.md | Release history |
| SpeechTranscriptionCustomization.java | Post-generation code customization |
…jueWang/azure-sdk-for-java into wangamber/transcription
…jueWang/azure-sdk-for-java into wangamber/transcription
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines