public class TurnDetection extends AbstractModel
header, skipSign
Constructor and Description |
---|
TurnDetection() |
TurnDetection(TurnDetection source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getSemanticEagerness()
Get TurnDetectionMode为3时生效,语义断句的灵敏程度
功能简介:根据用户所说的话来判断其已完成发言来分割音频
可选: "low" | "medium" | "high" | "auto"
auto 是默认值,与 medium 相同。
low 将让用户有足够的时间说话。
high 将尽快对音频进行分块。
如果您希望模型在对话模式下更频繁地响应,可以将 SemanticEagerness 设置为 high
如果您希望在用户停顿时,AI能够等待片刻,可以将 SemanticEagerness 设置为 low
无论什么模式,最终都会分割送个大模型进行回复
|
void |
setSemanticEagerness(String SemanticEagerness)
Set TurnDetectionMode为3时生效,语义断句的灵敏程度
功能简介:根据用户所说的话来判断其已完成发言来分割音频
可选: "low" | "medium" | "high" | "auto"
auto 是默认值,与 medium 相同。
low 将让用户有足够的时间说话。
high 将尽快对音频进行分块。
如果您希望模型在对话模式下更频繁地响应,可以将 SemanticEagerness 设置为 high
如果您希望在用户停顿时,AI能够等待片刻,可以将 SemanticEagerness 设置为 low
无论什么模式,最终都会分割送个大模型进行回复
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TurnDetection()
public TurnDetection(TurnDetection source)
public String getSemanticEagerness()
public void setSemanticEagerness(String SemanticEagerness)
SemanticEagerness
- TurnDetectionMode为3时生效,语义断句的灵敏程度
功能简介:根据用户所说的话来判断其已完成发言来分割音频
可选: "low" | "medium" | "high" | "auto"
auto 是默认值,与 medium 相同。
low 将让用户有足够的时间说话。
high 将尽快对音频进行分块。
如果您希望模型在对话模式下更频繁地响应,可以将 SemanticEagerness 设置为 high
如果您希望在用户停顿时,AI能够等待片刻,可以将 SemanticEagerness 设置为 low
无论什么模式,最终都会分割送个大模型进行回复Copyright © 2025. All rights reserved.