Skip to content
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

Java:Transcribe, medical streaming #7044

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

meyertst-aws
Copy link
Contributor

Adds a transcribe medical streaming example.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@meyertst-aws meyertst-aws added Java-v2 This issue relates to the AWS SDK for Java V2 Task A general update to the code base for language clarification, missing actions, tests, etc. labels Nov 6, 2024
@meyertst-aws meyertst-aws requested a review from a team November 6, 2024 20:37
@meyertst-aws meyertst-aws self-assigned this Nov 6, 2024
@meyertst-aws meyertst-aws requested review from Laren-AWS and removed request for a team November 6, 2024 20:37
@github-actions github-actions bot added the C++ This issue relates to the AWS SDK for C++ label Nov 6, 2024
@meyertst-aws meyertst-aws changed the title Transcribe Java:Transcribe, medical streaming Nov 6, 2024
Copy link
Contributor

@Laren-AWS Laren-AWS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels to me like it should be a small scenario, rather than just a couple of Action examples, because of they way it has a demo app that ties things together.

@@ -262,7 +262,20 @@ transcribe_StartStreamTranscriptionAsync:
snippet_tags:
- transcribe.cpp.stream_transcription_async.code
services:
transcribe: {StartStreamTranscriptionAsync}
transcribe: {StartStreamTranscription}
transcribe_StartMedicalStreamTranscription:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like both of these APIs are part of a separate service client transcribe_streaming, so you'll need to create an entry for that in services.yaml and reference it here for the API ref links to work correctly.

@@ -0,0 +1,206 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests? At least simple integration tests like other Java examples.


if (!AudioSystem.isLineSupported(info)) {
System.out.println("Line not supported");
System.exit(0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This strikes me as an unusual way to handle this. Why not throw an exception?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ This issue relates to the AWS SDK for C++ Java-v2 This issue relates to the AWS SDK for Java V2 Task A general update to the code base for language clarification, missing actions, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants