mateclaw/mateclaw-server/src/main/java/vip/mate/stt/SttRequest.java

23 lines
493 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package vip.mate.stt;
import lombok.Builder;
import lombok.Data;
/**
* STT 语音识别统一请求
*/
@Data
@Builder
public class SttRequest {
/** 音频二进制数据 */
private byte[] audioData;
/** 原始文件名 */
private String fileName;
/** MIME 类型audio/ogg, audio/mpeg 等) */
private String contentType;
/** 目标语言(可选,如 "zh", "en" */
private String language;
/** 模型(可选) */
private String model;
}