콘텐츠로 이동

SpeechInputPlanResult

이 콘텐츠는 아직 번역되지 않았습니다.

type SpeechInputPlanResult =
| {
plan: SpeechInputPlan;
status: "ready";
}
| {
estimatedCharacters: number;
maxCharacters: number | null;
reason: | "empty_input"
| "unknown_limit"
| "invalid_configuration"
| "input_too_large"
| "segmentation_required"
| "segment_limit"
| "empty_segment";
status: "rejected";
};

朗读准备结果;拒绝时返回原因、估算字符数及已知上限,不调用语音服务。