Enum Class的使用
com.cdkjframework.ai.constant.AiCommon.OpenaiSpeech
使用AiCommon.OpenaiSpeech的程序包
程序包
说明
常量类
openai 的封装实现
-
com.cdkjframework.ai.constant中AiCommon.OpenaiSpeech的使用
修饰符和类型方法说明static AiCommon.OpenaiSpeech
Returns the enum constant of this class with the specified name.static AiCommon.OpenaiSpeech[]
AiCommon.OpenaiSpeech.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
com.cdkjframework.ai.model.openai中AiCommon.OpenaiSpeech的使用
修饰符和类型方法说明OpenaiService.textToSpeech
(String input, AiCommon.OpenaiSpeech voice) TTS文本转语音 请设置config中model为支持TTS功能的模型 TTS系列 -
com.cdkjframework.ai.model.openai.impl中AiCommon.OpenaiSpeech的使用
修饰符和类型方法说明OpenaiServiceImpl.textToSpeech
(String input, AiCommon.OpenaiSpeech voice) TTS文本转语音 请设置config中model为支持TTS功能的模型 TTS系列