This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Releases: AssemblyAI/assemblyai-java-sdk
Releases · AssemblyAI/assemblyai-java-sdk
4.0.1
4.0.0
3.0.0
What's Changed
Added:
client.files().upload(),client.transcripts().submit(), andclient.transcripts().transcribe()now accept anInputStream
Changes:
- (Breaking) Parameters are annotated with
@NotNullwhen appropriate - (Breaking) Parameters that should not be null will throw an exception will given null.
- (Breaking)
ANTHROPIC_CLAUDE2is renamed toANTHROPIC_CLAUDE2_0 - Files are now uploaded using
InputStreamto avoid loading them into memory.
Full Changelog: 2.3.1...3.0.0
2.3.1
What's Changed
- feat: Add RequestOptions to PollingTranscriptsClient methods by @Swimburger in #122
- Map optional transcript params to transcript params using JSON by @Swimburger in #121
Full Changelog: 2.3.0...2.3.1
2.3.0
What's Changed
- Add
LanguageConfidenceThresholdtoTranscript,TranscriptParams, andTranscriptOptionalParams.The confidence threshold for the automatically detected language.
An error will be returned if the language confidence is below this threshold. - Add
LanguageConfidencetoTranscriptThe 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 LanguageDetection 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.
Full Changelog: 2.2.0...2.3.0
2.2.0
What's Changed
- Add
waitUntilReadyby @Swimburger in #116 - Update the realtime close error code messages by @Swimburger in #118
- Add overload to files and transcript client by @Swimburger in #119
ApiErroris now deprecated in favor ofAssemblyAIException,AssemblyAIApiException, or specific error types likeBadRequestError.- Add specific error exceptions:
BadRequestErrorGatewayTimeoutErrorInternalServerErrorNotFoundErrorServiceUnavailableErrorTooManyRequestsErrorUnauthorizedError
Full Changelog: 2.1.2...2.2.0
2.1.2
2.1.1
2.1.0
What's Changed
Features
- Add new LeMUR models:
- Claude 3.5 Sonnet
- Claude 3 Opus
- Claude 3 Haiku
- Claude 3 Sonnet
Full Changelog: 2.0.1...2.1.0
2.0.1
What's Changed
Fixes:
- The
getAudioDurationmethod returns adoubleinstead of anintfor the ParagraphsResponse, SentencesResponse class. This was incorrectly changed in version 2.0.0. Only theTranscriptclass should return anintfor the audio duration.
Full Changelog: 2.0.0...2.0.1