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

minimumTranscribedTime と minimumConfidenceScore の両方が無効に設定されている場合はフィルタリングしない結果を返す #198

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

Hexa
Copy link
Contributor

@Hexa Hexa commented Dec 27, 2024

This pull request includes changes to the Amazon Transcribe handler to modify the behavior when both minimum_confidence_score and minimum_transcribed_time are set to zero. Additionally, it updates related test cases to ensure proper functionality.

Changes to Amazon Transcribe handler:

  • amazon_transcribe_handler.go: Updated the buildMessage function to return all messages when both minimum_confidence_score and minimum_transcribed_time are set to zero.

Updates to test cases:

Documentation update:

  • CHANGES.md: Documented the change in behavior for Amazon Transcribe when both minimum_confidence_score and minimum_transcribed_time are set to zero.

@Hexa Hexa requested a review from voluntas December 27, 2024 02:28
minimumConfidenceScore := config.MinimumConfidenceScore

// 両方無効の場合には全てのメッセージを返す
if (minimumTranscribedTime <= 0) && (minimumConfidenceScore <= 0) {
Copy link
Member

Choose a reason for hiding this comment

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

安全でよろしい

CHANGES.md Show resolved Hide resolved
@Hexa Hexa merged commit eb655d3 into develop Dec 27, 2024
1 check passed
@Hexa Hexa deleted the feature/disable-filter branch December 27, 2024 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants