Class TranscriptionParam
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
com.alibaba.dashscope.legacy_2x.audio.asr.transcription.TranscriptionParam
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTranscriptionParam.TranscriptionParamBuilder<C extends TranscriptionParam,B extends TranscriptionParam.TranscriptionParamBuilder<C, B>> Deprecated.Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends HalfDuplexServiceParam,B extends HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C extends HalfDuplexParamBase,B extends HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C, B>> -
Field Summary
Fields inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
headers, parameters -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic TranscriptionParam.TranscriptionParamBuilder<?,?> builder()Deprecated.protected booleanDeprecated.booleanDeprecated.Deprecated.Deprecated.Get the binary data, only websocket, if no binary data, return null.Deprecated.Deprecated.Deprecated.Deprecated.com.google.gson.JsonObjectDeprecated.Get the batch request data.getInput()Deprecated.Get the request input data.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.voidsetAudioEventDetectionEnabled(Boolean audioEventDetectionEnabled) Deprecated.voidsetChannelId(List<Integer> channelId) Deprecated.voidsetDiarizationEnabled(Boolean diarizationEnabled) Deprecated.voidsetDisfluencyRemovalEnabled(Boolean disfluencyRemovalEnabled) Deprecated.voidsetFileUrls(@NonNull List<String> fileUrls) Deprecated.voidsetPhraseId(String phraseId) Deprecated.voidsetSpeakerCount(Integer speakerCount) Deprecated.voidsetSpecialWordFilter(String specialWordFilter) Deprecated.voidsetTimestampAlignmentEnabled(Boolean timestampAlignmentEnabled) Deprecated.voidsetVocabularyId(String vocabularyId) Deprecated.toString()Deprecated.voidvalidate()Deprecated.Validate the input and parameters.Methods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
getHeaders, getModel, getParameters, getResources, putHeaderMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
getApiKey, getEnableEncrypt, getWorkspace, isSecurityCheck, setApiKey, setEnableEncrypt, setHeaders, setParameters, setSecurityCheck, setWorkspace, shouldSerializeExplicitNulls
-
Constructor Details
-
TranscriptionParam
Deprecated.
-
-
Method Details
-
getHttpBody
public com.google.gson.JsonObject getHttpBody()Deprecated.Description copied from class:HalfDuplexParamBaseGet the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}- Specified by:
getHttpBodyin classHalfDuplexParamBase- Returns:
- The http request body
-
getInput
Deprecated.Description copied from class:HalfDuplexParamBaseGet the request input data.- Specified by:
getInputin classHalfDuplexParamBase- Returns:
- The input data object.
-
getBinaryData
Deprecated.Description copied from class:HalfDuplexParamBaseGet the binary data, only websocket, if no binary data, return null.- Specified by:
getBinaryDatain classHalfDuplexParamBase- Returns:
- The binary data
-
validate
Deprecated.Description copied from class:HalfDuplexParamBaseValidate the input and parameters.- Specified by:
validatein classHalfDuplexParamBase- Throws:
InputRequiredException- Missing input fields.
-
builder
Deprecated. -
equals
Deprecated.- Overrides:
equalsin classHalfDuplexServiceParam
-
canEqual
Deprecated.- Overrides:
canEqualin classHalfDuplexServiceParam
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classHalfDuplexServiceParam
-
getFileUrls
Deprecated. -
getPhraseId
Deprecated. -
getChannelId
Deprecated. -
getDiarizationEnabled
Deprecated. -
getSpeakerCount
Deprecated. -
getDisfluencyRemovalEnabled
Deprecated. -
getTimestampAlignmentEnabled
Deprecated. -
getSpecialWordFilter
Deprecated. -
getAudioEventDetectionEnabled
Deprecated. -
getVocabularyId
Deprecated. -
setFileUrls
Deprecated. -
setPhraseId
Deprecated. -
setChannelId
Deprecated. -
setDiarizationEnabled
Deprecated. -
setSpeakerCount
Deprecated. -
setDisfluencyRemovalEnabled
Deprecated. -
setTimestampAlignmentEnabled
Deprecated. -
setSpecialWordFilter
Deprecated. -
setAudioEventDetectionEnabled
Deprecated. -
setVocabularyId
Deprecated. -
toString
Deprecated.- Overrides:
toStringin classHalfDuplexParamBase
-