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

Sync from internal repo (2024/08/26) #67

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

Swimburger
Copy link
Contributor

@Swimburger Swimburger commented Aug 26, 2024

  • Add language_confidence_threshold to Transcript, TranscriptParams, and TranscriptOptionalParams.

    The confidence threshold for the automatically detected language.
    An error will be returned if the langauge confidence is below this threshold.

  • Add language_confidence to Transcript

    The confidence score for the detected language, between 0.0 (low confidence) and 1.0 (high confidence)
    Using these new fields you can determine the confidence of the language detection model (enable by setting language_detection to true), and fail the transcript if it doesn't meet your desired threshold.

Learn more about the new automatic language detection model and feature improvements on our blog.

GitOrigin-RevId: 7a6562608e463ba9c1bea883a2db69152777f069
@Swimburger Swimburger changed the title Sync from internal repo (YYYY/MM/DD) Sync from internal repo (2024/08/26) Aug 26, 2024
@Swimburger Swimburger merged commit c126ce0 into main Aug 26, 2024
2 checks passed
@Swimburger Swimburger deleted the E07417BDFEA3614F5967B1520F8B2F61 branch August 26, 2024 13:20
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.

1 participant