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
@NotNull
when appropriate - (Breaking) Parameters that should not be null will throw an exception will given null.
- (Breaking)
ANTHROPIC_CLAUDE2
is renamed toANTHROPIC_CLAUDE2_0
- Files are now uploaded using
InputStream
to 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
LanguageConfidenceThreshold
toTranscript
,TranscriptParams
, andTranscriptOptionalParams
.The confidence threshold for the automatically detected language.
An error will be returned if the language confidence is below this threshold. - Add
LanguageConfidence
toTranscript
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 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
waitUntilReady
by @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
ApiError
is now deprecated in favor ofAssemblyAIException
,AssemblyAIApiException
, or specific error types likeBadRequestError
.- Add specific error exceptions:
BadRequestError
GatewayTimeoutError
InternalServerError
NotFoundError
ServiceUnavailableError
TooManyRequestsError
UnauthorizedError
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
getAudioDuration
method returns adouble
instead of anint
for the ParagraphsResponse, SentencesResponse class. This was incorrectly changed in version 2.0.0. Only theTranscript
class should return anint
for the audio duration.
Full Changelog: 2.0.0...2.0.1